[PD] OSC Names with variable subsitution
e skogen
eskogen at usfamily.net
Mon Nov 17 05:46:11 CET 2003
i've been using this technique to create abstractions that respond to
OSC commands to their given name. the abstraction has an [OSCroute $1]
object, and is instanced with [abstractionname /reference-name] where
"/reference-name" is passed as $1.
ie: [tr-606 /drums] and then any OSC commands to /pd/synth/drums get
routed there. i think it's really handy, but it might be nice to have
OSCroute a bit more dynamic. remembering to include the "/" can be a
problem for me...
eric
B. Bogart wrote:
> Hey all,
>
> On this note, anyone have a trick for using OSCroute to only route based on
> a creation argument? Since OSC needs / delimited strings for names, I can't
> use $1 in the object box... There also seems to be no method to "set" the
> route names via message...
>
> Thanks!
> Ben
> ----- Original Message -----
> From: "guenter geiger" <geiger at xdv.org>
> To: "Johannes Kreidler" <jkreidler at gmx.de>
> Cc: "pd-mailinglist" <pd-list at iem.at>
> Sent: Sunday, November 16, 2003 7:45 AM
> Subject: Re: [PD] pack without spacebars
>
>
>
>>On Sat, 15 Nov 2003, Johannes Kreidler wrote:
>>
>>
>>>hello list,
>>>
>>>a queston:
>>>
>>>is it possible to create a message containing variables not between two
>
> spacebars?
>
>>>i.e. i'd like to choose between several soundfiles named "sf1.wav",
>
> "sf2.wav" etc. and i want to choose by using only a number box.
>
>>If you want to use a Pd builtin commmand use "makefilename sf%d.wav".
>>
>>Guenter
>>
>>
>>_______________________________________________
>>PD-list mailing list
>>PD-list at iem.at
>>http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
------ http://USFamily.Net/info - Unlimited Internet - From $8.99/mo! ------
More information about the Pd-list
mailing list