[LAD] Re: Scala file interpretation

Albert Graef <[email protected]> Mon, 3 Mar 2025 10:30:44 +0100
Newsgroups gmane.linux.audio.devel
Message-ID <CA+rUic3Fa9NV_cRpcaroCFK0WwaDPkBq+kcZL8ZVCqXJuNTSMQ@mail.gmail.com>
On Sun, Mar 2, 2025 at 12:46 PM Fons Adriaensen <[email protected]> wrote:

> Is this the correct interpretation ?


Exactly. If you're looking for some ready-made code, I have some Lua code
here: https://bitbucket.org/agraef/pd-smmf/src/master/lua/sclsyx.pd_lua.
This also shifts the tuning in the way you described in order to keep the
concert pitch at 440 Hz.

This is for a Pd external, but it should be easy to turn the sclsyx:read
and sclsyx:convert methods to stand-alone functions to read an octave-based
scala tuning and convert it to an MTS 1 or 2 byte scale/octave tuning sysex
message.

Albert




-- 
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email: [email protected], web: https://agraef.github.io/

_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev-cunTk1MwBs/[email protected]
To unsubscribe send an email to linux-audio-dev-leave-cunTk1MwBs/[email protected]