Making music….

Maybe a bit of a simplistic question, but….

Best ways to create music - programmatically - within an app?

I have a few small, simple games that I would like to add some background music to. I’ve fiddled with AVAudio, SKAudio, and now AudioKit. I’m just not quite finding the holy grail of music generation. I don’t know if it’s more technique or tool.

So I thought I’d hit up the pool of minds here for some suggestions…?

Making music….
 
 
Q