Forums > MaxMSP

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

July 1, 2010 | 9:03 pm

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


July 1, 2010 | 9:23 pm

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


July 2, 2010 | 5:04 pm

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

Oli


July 2, 2010 | 6:58 pm

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


July 4, 2010 | 1:59 pm

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.


Viewing 5 posts - 1 through 5 (of 5 total)