音乐理论库 xenharmlib 发布了 0.4.0 版本,进行了核心库重构并扩展了功能范围 [1]。新版本新增对纯律(Just Intonation)和多生成器区间调律的支持,使该库能够覆盖整个正规调律系统 [1]。这一更新使 xenharmlib 可以准确分析拜占庭帝国、欧洲文艺复兴、印度古典音乐、印度尼西亚甘美兰等多个音乐传统的调律体系 [1]。
此版本还在多个方面进行了升级 [1]。新增了 Prime Limit Tuning 构造函数来支持纯律生成,实现了完整的区间算术功能,并推出了 Sequences(序列)和 Interval Fans(区间扇)两种新的谐波原始对象 [1]。该版本同时支持区间类向量计算和最近频率逼近功能,并完整重写了文档 [1]。除去不规则调律系统如 Werckmeister 调律外,xenharmlib 现已能用数学形式表示整个音乐传统的调律体系 [1]。
Xenharmlib version 0.4.0 has been released with substantial enhancements to its core architecture and capabilities [1]. The music theory library now supports Just Intonation and multi-generator interval tuning systems, expanding its scope to encompass the complete range of regular tuning systems [1]. This advancement enables accurate analysis of diverse musical traditions, including those from the Byzantine Empire, European Renaissance, Indian classical music, and Indonesian gamelan [1].
The update introduces completely rewritten documentation alongside several new technical features [1]. Developers can now leverage interval arithmetic functionality, two new harmonic primitive objects called Sequences and Interval Fans, and vector computation capabilities for interval classes [1]. A new Prime Limit Tuning constructor provides explicit support for Just Intonation implementation [1]. Additionally, the library incorporates closest frequency approximation functionality to enhance precision in tuning calculations [1].
With these additions, xenharmlib can mathematically represent the complete universe of regular tuning systems used across musical traditions worldwide, though irregular tuning systems such as Werckmeister temperament remain outside its scope [1].