Hello,
Sorry for the newb question. I had a search but couldn't find an answer -- maybe I'm not using the correct expression. I have 64 unique receive objects and I'd like to address them individually, sequentially from one send object ie. I'd like to send RGB values to 64 squares in GEM and colour them so that it cycles through a series of colours.
Can anyone help?
Philip
you can use a [send] without an argument and set the destination using a symbol in its right inlet, for example using a message. You can also use messages as sends, see attachment.
Martin
Philip Cunningham wrote:
Hello,
Sorry for the newb question. I had a search but couldn't find an answer -- maybe I'm not using the correct expression. I have 64 unique receive objects and I'd like to address them individually, sequentially from one send object ie. I'd like to send RGB values to 64 squares in GEM and colour them so that it cycles through a series of colours.
Can anyone help?
Philip
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I just add that you can use numbers as arguments with [iem_s] and [iem_r]... Very useful sometimes...
01ivier
2010/8/20 Martin Schied crinimal@gmx.net
you can use a [send] without an argument and set the destination using a symbol in its right inlet, for example using a message. You can also use messages as sends, see attachment.
Martin
Philip Cunningham wrote:
Hello,
Sorry for the newb question. I had a search but couldn't find an answer -- maybe I'm not using the correct expression. I have 64 unique receive objects and I'd like to address them individually, sequentially from one send object ie. I'd like to send RGB values to 64 squares in GEM and colour them so that it cycles through a series of colours.
Can anyone help?
Philip
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks all for your help :) It's working now!
On Fri, Aug 20, 2010 at 1:16 PM, Olivier Baudu lamouraupeuple@gmail.com wrote:
I just add that you can use numbers as arguments with [iem_s] and [iem_r]... Very useful sometimes...
01ivier
2010/8/20 Martin Schied crinimal@gmx.net
you can use a [send] without an argument and set the destination using a symbol in its right inlet, for example using a message. You can also use messages as sends, see attachment.
Martin
Philip Cunningham wrote:
Hello,
Sorry for the newb question. I had a search but couldn't find an answer -- maybe I'm not using the correct expression. I have 64 unique receive objects and I'd like to address them individually, sequentially from one send object ie. I'd like to send RGB values to 64 squares in GEM and colour them so that it cycles through a series of colours.
Can anyone help?
Philip
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Use one [send color] and put one [receive color] and a [route $1] in the abstraction managing your square like this :
[receive color] | [route $1] | in the cold inlet of [color]
and in your main patch you send something like :
[62 0.5 0.8 0.1( | [send color]
Then the [color] object in the instance of your abstraction [absColorsquare 62] will receive [0.5 0.8 0.1( message in its cold inlet. ++
Jack
Le vendredi 20 août 2010 à 12:05 +0100, Philip Cunningham a écrit :
Hello,
Sorry for the newb question. I had a search but couldn't find an answer -- maybe I'm not using the correct expression. I have 64 unique receive objects and I'd like to address them individually, sequentially from one send object ie. I'd like to send RGB values to 64 squares in GEM and colour them so that it cycles through a series of colours.
Can anyone help?
Philip
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Fri, 20 Aug 2010, Philip Cunningham wrote:
Sorry for the newb question. I had a search but couldn't find an answer -- maybe I'm not using the correct expression. I have 64 unique receive objects and I'd like to address them individually, sequentially from one send object ie. I'd like to send RGB values to 64 squares in GEM and colour them so that it cycles through a series of colours.
use [repeat] to reduce the 64 [square]s to 1 [square]. Then you need 0 receive objects and thus you need 0 send objects. If necessary, use a [table] (or three) to store the intermediate values.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801