I'm interested in using SuperCollider's various plugins within a game engine. But the FFI in my programming language (SwiftForth) only supports plain old C-language DLL files.
I know that for starters I need some kind of OSC interface. Then, SuperCollider needs to be running somehow. I don't know the details of how this could be done in a game yet.
I've also read something about a commandline interface to SuperCollider. Is that practical for what I want to do?
I am open to suggestions and alternatives, but the only non-negotiable is SwiftForth. I've already written a large amount of engine-related code and wanted to add realtime synthesis for its uniqueness and flexibility.