I don't remember exactly, but I think there was no technical reason it couldn't now be included. @xavriley may be able to remind me 😉
Yes! Chorus is a delay effect so it needs a buffer (a small space in memory to hold the delayed samples). At the time it was written, Sonic Pi didn’t have much in the way of buffer management. I remember that if you tried to allocate local buffers within the supercollider synth e.g. in a tight loop, it could lead to crashes. The better option would be to allocate the buffer beforehand and then pass the buf_id to the synth. I’m not sure but we might have some other synths that do that now
On 25 Nov 2020, at 00:22, ethancrawford notifications@github.com wrote:

I don't remember exactly, but I think there was no technical reason it couldn't now be included. @xavrileyhttps://github.com/xavriley may be able to remind me 😉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sonic-pi-net/sonic-pi/issues/2557#issuecomment-733351731, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAC2G574NBMEHTJ5ZLXW6FLSRRE4DANCNFSM4UBM7VKQ.
I’m not sure but we might have some other synths that do that now
I can't remember off the top of my head... but it's certainly not hard. In my emergent behaviour synths, I pass in the buffer id of the random number buffer that Sonic Pi pre-allocates for rand etc...
Most helpful comment
Yes! Chorus is a delay effect so it needs a buffer (a small space in memory to hold the delayed samples). At the time it was written, Sonic Pi didn’t have much in the way of buffer management. I remember that if you tried to allocate local buffers within the supercollider synth e.g. in a tight loop, it could lead to crashes. The better option would be to allocate the buffer beforehand and then pass the buf_id to the synth. I’m not sure but we might have some other synths that do that now
On 25 Nov 2020, at 00:22, ethancrawford notifications@github.com wrote:

I don't remember exactly, but I think there was no technical reason it couldn't now be included. @xavrileyhttps://github.com/xavriley may be able to remind me 😉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sonic-pi-net/sonic-pi/issues/2557#issuecomment-733351731, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAC2G574NBMEHTJ5ZLXW6FLSRRE4DANCNFSM4UBM7VKQ.