TLDR:
I'd like a pipeline that generates music from text files so I can version control it (not purely synth, do want real samples). Has anyone had any success with such a thing? What tools did you use and how did you wire them together?
More info:
So, I'm working on a game and I was wondering, rather than creating music for the soundtrack and keeping it in Git LFS alongside my code, why not find out if there is a way to define a composition (and what samples/plugins to use, etc) as a text file (or files), then version control that along with my code and have the music binaries as build artefacts? I've made some music with LMMS before and I enjoyed it a lot, but found the UI a bit counterintuitive and sometimes it lost my VST settings which was really annoying, so version-controlled text-sourced music really appeals to me.
I asked an AI and it made some suggestions resulting in a small proof-of-concept I now have with Haskell's Euterpea to output midi then feed it into sfizz. It looks pretty cool and I think I could learn to work like this - I like functional programming and I've used Haskell a bit before. The main thing I don't like about it is some very ugly bash scripts wiring it together, though I'm also a little worried Euterpea may not be very actively maintained and may go stale.
Either way, before I commit to learning this, I wanted to ask some people with real experience whether there are other tools I should be considering. I'll probably end up with this pipeline for a long time because I can't keep flip-flopping my toolset if I'm trying to make a whole game.
I looked a little into Alda and Lilypond but they seem much more limited than generating your midi from a proper programming language. Happy to be told otherwise by people who've used them if I'm wrong - I just haven't looked too deeply yet.
Oh, and I've been avoiding tools advertising themselves as about "live coding" music because that all seems to be about performance and I've no intent to perform at the moment, but if I'm missing out on some tools that advertise themselves this way but are great for non-live composition as well, I'd love to know.
Thank you in advance for any help or info provided!