I wonder if there is a scripting environment where I describe a chord progression in one thread, a lead voice in another and run them simultaneously, written entirely in code as a single file (or 2 files for parts + 1 for importing those).
Edit: I’m on the Sonic Pi core team. I mean that I’m looking to add these features to sonic pi soon
The question isn't can you do it - because you can, with varying degrees of difficulty.
The question is what specific user problem you're trying to solve.
I don’t think this has “execution”/synthesis features, but it could at least provide the basis for this environment.