Preallocating/starting instruments
Date | 2016-04-04 22:01 |
From | Ffanci Silvain |
Subject | Preallocating/starting instruments |
Hey hey again, Is there a good way to preallocate and sort of pre-initialise instruments. I know about prealloc, maxalloc and cpurc, though not having used the latter. But when I start my CSD, it still hiccups, when the3 actual instances get started. What is the best way to work around this, without being noticeable in an orchestra meant for live performance? Ta-ta ---- Ffanci * Homepage: https://freeshell.de/~silvain * Twitter: http://twitter.com/ffanci_silvain * GitHub: https://github.com/fsilvain 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 |
Date | 2016-04-07 14:58 |
From | Steven Yi |
Subject | Re: Preallocating/starting instruments |
Hi Ffanci, You might try using the --realtime flag to move initialisation off the main audio thread. steven On Mon, Apr 4, 2016 at 5:01 PM, Ffanci Silvain |
Date | 2016-04-07 17:28 |
From | Ffanci Silvain |
Subject | Re: Preallocating/starting instruments |
Steven Yi, Apr 7 2016: > Hi Ffanci, > > You might try using the --realtime flag to move initialisation off the > main audio thread. Hey hey Steven, thanks for that. That did help a bit already. My orchestra uses a few ftables, would it help to run one instrument at the beginning of the orchestra using each and everyone to sort of "preload" them, or doesn't csound work like that? ... Ta-ta ---- Ffanci * Homepage: https://freeshell.de/~silvain * Twitter: http://twitter.com/ffanci_silvain * GitHub: https://github.com/fsilvain 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 |
Date | 2016-04-07 17:41 |
From | Rory Walsh |
Subject | Re: Preallocating/starting instruments |
That is what I would do. Simply instantiate all tables before calling any of the instruments that need them. I think Iain McCurdy uses a similar trick in some of his CPU heavy synths, but I'd need to look at the source. On 7 April 2016 at 17:28, Ffanci Silvain <silvain@freeshell.de> wrote: Steven Yi, Apr 7 2016: |