[PD] one other thing, bout sending info to a message

Martin Peach martinrp at vax2.concordia.ca
Mon Mar 8 18:27:11 CET 2004


Adrian deCleir wrote:
> Ok I dont know if this is possible its sounds a bit weird, but In a project
> I have where people play music together over the internet or a network there
> is several netsend connections, each one for something different, like
> |connect 10.42.50.10 3001| for volume, then |connect 10.42.50.10 3002| for
> the actual note, and | connect 10.42.50.10 3003| for pitch bend or something
> different like that, this means I have about 10 netsends overall , all for
> different features.
> This means when Im connecting with someone different I have to write in the
> IP address 10 times for everything to work, this project is for college and
> a problem like this will seriously make the project look bad, 
> any ideas?
Use OSC with one connection and path-like routing of parameters, 
something like:
synth1/volume/0.5
synth1/pitchbend/0.333
synth1/noteon/60

   as in is there a way of just writing the IP once and send it to
> all the different |connect| messages
> so it'd be like this
> 
> you write in the IP here |10.42.50.10 | and it sends it out to all the other
> ones like it shows there
>                                     |   |
> |____________________________________
>                                     |   |_________________________
> |
> 	                        |
> |			 | |connect 10.42.50.10 5002| 
> 	                     |connect 10.42.50.10 5000|           |
> 							|connect 10.42.50.10
> 5001| 
> 
Something like:

|10.42.50.10(
|        |5000(
|        |
[pack s f]
|
|connect $1 $2(
|
[netsend]

...takes up almost as much space!
Martin





More information about the Pd-list mailing list