July 28, 2026

Pitch Perfect or Pitch Please?

Xenharmlib (music theory library) adds support for Just Intonation

Now even tuning obsessives are asking: wait, what can this thing actually do

TLDR: Xenharmlib just added support for ultra-precise tuning systems, letting users model many more kinds of music accurately. The main community reaction wasn’t fighting—it was curiosity: people want proof, examples, and to know whether this is a practical creative tool or just theory heaven.

A niche music coding update somehow turned into a very relatable internet moment: one camp is cheering because xenharmlib can now handle Just Intonation—an older style of tuning built on simple number ratios that many musicians describe as sweeter, purer, and more human than modern piano-style tuning. The library’s creators are basically saying, “We can now model almost the whole world of tuning systems,” from Renaissance music to Indian classical and gamelan. For theory lovers, that’s huge. For everyone else, it’s the musical equivalent of someone announcing they’ve unlocked a secret map of reality.

But the real action is in the reaction. Instead of instant applause, the top community vibe is more like: cool, but what do people actually do with it? User Nav_Panel perfectly captured the mood with a curious-but-cautious plea, saying they love the feel of JI—short for Just Intonation—but aren’t an experienced composer and want to know what anyone has actually made with Xenharmlib. That’s the soft drama here: the age-old clash between beautiful theory and show me the real-world music. Is this a revolutionary tool for composers, or catnip for people who enjoy arguing about notes more than writing songs?

There weren’t flame wars so much as a gentle, nerdy suspense: lots of fascination, a little intimidation, and a whiff of “this sounds amazing, please translate for normal humans.” In other words, the library got smarter, and the comments immediately demanded receipts, examples, and maybe a playlist.

Key Points

  • Xenharmlib 0.4.0 refactors the library core to support regular temperaments with multiple generator intervals, not just equal-division temperaments.
  • The update adds support for Just Intonation through a new `PrimeLimitTuning` construct.
  • The article says xenharmlib can now mathematically represent nearly all musical traditions covered by regular temperaments, excluding irregular systems such as Werckmeister temperaments.
  • Analytical tools including Prime Form and Normal Form can now be applied to mathematically compatible multi-dimensional regular temperaments.
  • The documentation was fully revamped, with examples organized by tuning and notation and dedicated documentation for harmonic primitives.

Hottest takes

"Has anyone used Xenharmlib before?" — Nav_Panel
"a huge fan of the feel of JI" — Nav_Panel
"not super experienced with composition myself" — Nav_Panel
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.