Xenharmlib: A music theory library that supports non-western harmonic systems

xenharmlib.readthedocs.io

194 points by retooth 2 days ago


ksr - 2 days ago

Fascinating. I'm working on many adjacent pieces myself - my name for this whole initiative is music-i18n because I see it as the equivalent of adding software layers to support world languages and locales - in this case musical ones.

I am especially interested to hear your plans / thoughts about the following:

- Supporting non-ET tunings

- Supporting tetrachords and other scale building blocks (like Arabic ajnas)

- Importing/exporting MusicXML

- Exporting to MIDI

Thanks!

bntr - 2 days ago

A bit tangential, but I recently made a xenharmonic-related library too - focused more on the visual/harmonic space side:

https://github.com/bntre/cs-rationals/blob/master/RationalsE...

Demo piece: https://www.youtube.com/watch?v=y_x4vtS_I7w

bntr - 2 days ago

My actual question: do you use xenharmlib for composing?

I assume this is your album: https://fabianvallon.bandcamp.com/album/a-different-path-for...

Was xenharmlib used in it, or some other software?

mkesper - 19 hours ago

Fantastic, my suggestion would be to rename to Xenharmoniclib, though. harmlib sounds...harmful? to me

max_ - 2 days ago

Is there a good resource to learn basic music theory?

Like learn what the meaning of A B C and other letters mean?

And how the come together to make actual music?

sim7c00 - a day ago

is there somethin similar in C++. this is really useful, but most VST etc. afaik get built in c++, i know for example JUCE framework to build em uses c++ so to me that seems a practical language for such a tool

(focussing on the last bit of the article mentioning it can be used in digital instruments / dsp. totally agree!)

bhalahi - 17 hours ago

Does this include the socialist, communist, and banana republic dictatorial harmonic systems?