I am not sure if it is only JS libraries you are looking for (since it is an Electron app), but I released a fairly comprehensive python music theory library that not only supports Western tunings, but all sorts of equal temperaments. It even has some support for post-tonal music theory.
Yeah... one might use Sonic to load a csv and generate sounds based on your data, that might then be used as static assets in their app.
I recently helped a tutor using BespokeSynth to create audio explainers, wiring together frequencies and interactive oscillators and waveform viewers to explain resonant frequencies (or something, I didn't completely get it)
https://github.com/tonaljs/tonal does a bunch of theory stuff. I think there’s another JS library I’ve used too but I can’t think of the name.
If he wants to generate audio, Tone.js can be a useful higher level abstraction for WebAudio.
I am not sure if it is only JS libraries you are looking for (since it is an Electron app), but I released a fairly comprehensive python music theory library that not only supports Western tunings, but all sorts of equal temperaments. It even has some support for post-tonal music theory.
https://xenharmlib.readthedocs.io/en/latest/
It's not really a framework, but I've been having a lot of fun live coding music in Sonic Pi: https://sonic-pi.net/
It has built-in functions for chords and scales and is pretty easy to make catchy loops.
Yeah... one might use Sonic to load a csv and generate sounds based on your data, that might then be used as static assets in their app.
I recently helped a tutor using BespokeSynth to create audio explainers, wiring together frequencies and interactive oscillators and waveform viewers to explain resonant frequencies (or something, I didn't completely get it)
https://static.everythingability.opalstacked.com/bespoke_syn...
https://github.com/JuliaMusic/MusicTheory.jl
https://strudel.cc