sometimes i want to try out supercollider sounds in norns without making an engine. so this ‘engine’ just interprets whatever text sent from lua as supercollider code. there’re just a few examples included but i think it explains the use.
you can run any piece of supercollider code, even non-sound-generating ones. the included lua script is only a proof-of-concept. what’s handy to me is that you can test or port your existing supercollider code with minimum modifications. for example, you can just use things like Ndef and Tdef to do live re-patching of synth (live-coding) or use Patterns, Routine, or Task to sequence stuff. Then the lua part is only doing the display drawing and keys+encoders polling.
thanks for the pointer. wasn’t aware of your norns script repo!
nice touch of having a private Environment. i’ll keep mine dumb simple so that people need explicit use of private Environment if they want to.
i’ve changed to compile+value (essentially interpretCmdLine).
btw, since you’re here, is it safe to do this cleanup of CroneEngine?
free { context.server.freeAll }
i did this because there’s nothing to prevent from spawning unreachable nodes…