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__