I would like to use Csound5 to create both a sampler and a programable synth built inside a c++ program. I want the input orchestra & score data do be handled in real-time without having to query the disk for a csd file. I would be creating a string value of the data normally contained within the .csd file and would like to pass it directly to the API without saving it to disk first. Is this possible?
I would also like the output to be returned to my program, instead of written to a PCM wav file or as real time audio to the soundcard. Is it possible to retrieve sample buffers from the API as they are generated and then do my own processing with it and then handling the output myself?