hi
Just a suggestion, i was wondering if it would be nice to be able to receive more than one symbol at one atom. I know i could use several receive objects for this but i mean by using the property window.
In my case i have some numbers controlling volume of different samples and i need to be able to change them individually when i load a preset, but at the same time i would like to be able to change all of them at the same time. I know this could be done in various other ways, but what i would like now is to be able to introduce in the receive-symbol field few symbols separated with a comma like : $1vol, generalvol
not sure if this would be confusing, but in my particular case it is more confusing to have many wires connecting everything.
bye
-- enrike
Hallo, altern hat gesagt: // altern wrote:
Just a suggestion, i was wondering if it would be nice to be able to receive more than one symbol at one atom. I know i could use several receive objects for this but i mean by using the property window.
In my case i have some numbers controlling volume of different samples and i need to be able to change them individually when i load a preset, but at the same time i would like to be able to change all of them at the same time. I know this could be done in various other ways, but what i would like now is to be able to introduce in the receive-symbol field few symbols separated with a comma like : $1vol, generalvol
This can also be solved by using [OSCroute], because it supports pattern matching, which is very powerful. (Adv.: RRADical/Memento supports this out of the box).
The basic idea is this: Say you want to control several sliders remotely. Then you would connect them like this:
[r VOLUMES]
|
[OSCroute /vol00 /vol01 ... /vol30]
| | | |
[vsl] [vsl] [vsl] ... [vsl]
Now if you send messages to VOLUMES like this: [; VOLUMES /vol02 $1( only one slider would be affected, in the example that would be the one connected to "OSCroute ... /vol02".
Howver using wildcards, you can also send this:
[/vol* $1( | [s VOLUMES]
to set all connected sliders at once. It's also possible to just set e.g. the first ten sliders with this: [; VOLUMES /vol0* $1(
If you don't want to use OSCroute, a slightly less flexible version can be built with just [route] like this:
[r VOLUMES] | [route /vol00 /generalvol] | / | / [vsl]
Frank Barknecht _ ______footils.org_ __goto10.org__
On Thu, 5 Jan 2006, altern wrote:
Just a suggestion, i was wondering if it would be nice to be able to receive more than one symbol at one atom. I know i could use several receive objects for this but i mean by using the property window. In my case i have some numbers controlling volume of different samples and i need to be able to change them individually when i load a preset, but at the same time i would like to be able to change all of them at the same time.
say you want [s foo] to do like [s foo1] and [s foo2] and [s foo3] at once, do:
[r foo] | [t a a a] | | | | |[s foo3] |[s foo2] [s foo1]
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada