Hello folks, I’m hoping someone can share with me what the best way to run additive synthesis in csound is if I want total control over each partial. I realize this is super expensive, but it’s for a computation analysis class and is more a proof of concept than perhaps practical. I wish to control each oscillator’s params (phase, amp, cps, env) from Scheme, so the logistic side of dealing with the numbers is not really a problem as I can get the numbers into csound from Scheme in whatever format make sense.
The first thing I tried was just making a simple one osc, one env instrument and triggering many instances of it. I’m able to trigger 128 instances of a poscil sine wave using 128 sequential messages to the csound~ object in Max, but it starts crapping out at 256, even though cpu usage seems to still have lots of headroom. So I’m curious if anyone knows if this is a csound~/Max specific issue, or does csound create a particularly large spike from 128 simultaneously note onsets, or some other thing I don’t know. I have some ideas for other things to try, but figured I’d ask in case a) I’m just doing this wrong and it’s stupid, or b) there are ways around it (like having csound receive one really long message and internally dispatching to 128 oscillators or something.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here