[PD] Order of messaging
David McCallum
david2003 at mentalfloss.ca
Mon Jul 14 01:30:54 CEST 2003
You could probably skip the last unpack and pack and just have a
message >add $2 $3| since you only want the second and third components of
the list.
Unless I'm missing something here...
or.... have the two inlets go into a pack, and then into a lister
(from... zexy, I think. it works like a float object) and bang that lister
when you need the info sent.
Might clean things up a bit...
David
At 12:32 13/07/2003, Pixelcorrection at wmconnect.com wrote:
>hi,
> What I have been doing to organize my message into their correct order
> is using pack and unpack.
>
>[bang] [inlet] [inlet]
>\ 1 /
> \ 1 /
>[pack 0 0 0]
>1
>1
>[unpack 0 0 0]
> / /
> / /
>[pack 0 0]
>1
>{add $1 $2}
>
>Pack puts the message in the order you want and the bang lets you send it
>at the right time. The unpack drops the bang message out, the second pack
>puts it back in order and the add formats the message for your sequencer
>object. This method is helping me to generate csound scores. By the way
>is there anyone out there working on a Windows version of the Csound
>external? Is anyone using it on linux, and has an experience they would
>like to share?
.
. David McCallum
. Music wants to be free
. http://mentalfloss.ca/sintheta
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20030713/305f1af4/attachment.htm>
More information about the Pd-list
mailing list