Oct-15-2019, 08:00 PM
It isn't python, but there's https://sonic-pi.net/
With sonic pi, you write a script that generates audio, either using midi or samples, with several public domain samples included (so there's no copywrite issues with whatever you make).
It operates with the principle of named sound blocks that loop. If you change one and click Run, the next time that loop would start, the new version plays instead. That way, you can make changes without stopping, which helps tweak various different instruments together to get a coherent whole.
With sonic pi, you write a script that generates audio, either using midi or samples, with several public domain samples included (so there's no copywrite issues with whatever you make).
It operates with the principle of named sound blocks that loop. If you change one and click Run, the next time that loop would start, the new version plays instead. That way, you can make changes without stopping, which helps tweak various different instruments together to get a coherent whole.