receive set

Mar 6, 2009 at 11:08am

receive set

I have this patch inside a poly~ in which voice 1 initializes fine, but the other voices don’t. The input takes in the voice number after thispoly gets loadbanged, and the “set b[i]” message is never accepted by the [receive]. It is in voice 1, but none of the others. This problem is so incredibly frustrating, I have no idea what is going on here.

I’m starting to get cabin fever because of how long I’ve been obsessively working on this patch without sleeping, and this is literally the only remaining problem keeping it from working. I think I’m being mocked by my computer.

– Pasted Max Patch, click to expand. –
#42703
Mar 6, 2009 at 11:29am
Bryan Dodson wrote on Fri, 06 March 2009 12:08
I have this patch inside a poly~ in which voice 1 initializes fine, but the other voices don’t. The input takes in the voice number after thispoly gets loadbanged, and the “set b[i]” message is never accepted by the [receive]. It is in voice 1, but none of the others.

Bryan, i just put your small patch in a [p boo], connected a [thispoly~] to the input of [p boo], saved as foo an created a patch with a [poly~ foo 8].

I hope this is what you also do.

Anyway, 8 [receive ] instances are created and named b1,b2,… b8. And they all do receive data from [send ].

So I don’t understand your problem. By the way, maybe the “target” message to [poly~] would be a better way to do what you want to do.

#152862
Mar 6, 2009 at 11:39am

I figured out that the problem wasn’t with the receive, but the send. I was assuming that [send] could be assigned a target with “set”, and I really don’t understand why it can’t.

#152863
Mar 6, 2009 at 12:09pm
Bryan Dodson wrote on Fri, 06 March 2009 12:39
I figured out that the problem wasn’t with the receive, but the send. I was assuming that [send] could be assigned a target with “set”, and I really don’t understand why it can’t.

It can’t because there is another object for this: [forward]. Note that you must use the “send” message to define the target, not “set”.

p

#152864

You must be logged in to reply to this topic.