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.
It has built-in functions for chords and scales and is pretty easy to make catchy loops.
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...