Stuck buffer from receive~ when muting poly~ with a patcher with send~
I have a patcher with send~ loaded inside poly~ and receive~ on the same patcher as poly~. I noticed that when I mute poly~, the corresponding receive~ has a stuck buffer.
I've been using poly~ to dynamically load/unload patchers and save CPUs when the patchers can be muted. Send~/Receive~ has been working great in this dynamic scenarios, but saving CPUs won't be possible if muting poly~ causes some sound residues...
I attached a simple demonstration of this. Any comments would be appreciated!
Thanks,
Toshiro
Be careful as [send~]-ing and [receive~]-ing across the [poly~] boundary can cause problems. It is best to use regular outputs, you can always gate them using details from [thispoly~] if you need a seperate outlet for each voice.
lh
Cnmat recently made some objects poly.send~ and poly.receive~ which can help with this problem.
Oli
Luke, I didn't know it wasn't safe to use send~ and receive~ in poly~. But it makes sense now that I think how poly~ works.
Oli, CNMAT's objects seem like they do exactly what I need, but I get distorted sine tones when playing the help file. I haven't spent too much time on it yet, so I might be missing something here.
Thanks for the comments!
Toshiro
Did you try to send the clear message? Using send~/receive~ object inside/outside a poly~ is definitely not recommended though. It might introduce an undetermined latency because of threading concerns.