Issues with GrainBuf #498
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I just cut a new releases to PyPI that will prevent using OutputProxies with |
Beta Was this translation helpful? Give feedback.
You crashes aren't a supriya problem, but a general scsynth usage problem.
Server is crashing because you attempt to access a buffer that has not yet been allocated. Remember that buffer allocation, like SynthDef allocation, is asynchronous and must be waited on. You can either sync the server or - more elegantly - use a "completion" to allocate your synth once the buffer is allocated:
I had to change the sample file path to something built into Supriya, buf this will work if you run it from inside supriya's root directory (or just replace my sample path with yours again).