Stuck buffer from receive~ when muting poly~ with a patcher with send~

Jul 1, 2010 at 9:03pm

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!


Jul 1, 2010 at 9:23pm

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.


Jul 2, 2010 at 5:04pm

Cnmat recently made some objects poly.send~ and poly.receive~ which can help with this problem.


Jul 2, 2010 at 6:58pm

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!


Jul 4, 2010 at 1:59pm

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.


You must be logged in to reply to this topic.