[PD] Varying a "send" destination

Frank Barknecht barknech at ph-cip.uni-koeln.de
Mon Jun 10 08:37:17 CEST 2002


Hi,
Joseph Zitt hat gesagt: // Joseph Zitt wrote:

> It seems to me that the easiest way to do this, if possible, would be
> to have each pitch-shifter fed by a different receive object. Thus,
> a notein with note 61, velocity 64, and channel 1 would send the message
> "64" to the receive named "61-receive". 
> 
> Ideally, this would require having a message inlet change the
> destination of a send object. It would be something like (and I know
> this doesn't work) "send $1-receive $2", where $1 was the note and $2
> was the velocity.

It's easy, if you saw it once: You can send messages out of messages if
you build a message starting with ";". 

You probably did this a lot already with [; pd dsp 1(. Dynamic
messages can be done in the same way, see attached patch.

ciao,
-- 
 Frank Barknecht                               _ ______footils.org__



More information about the Pd-list mailing list