[PD] Re: [PD-dev] We've got to undo the MIDI revolution! - Where isOSC?!

cdr ix at replic.net
Fri Mar 17 04:09:53 CET 2006


> As far as I can tell, all that would be needed to acheive this is an
> object called [stol] (symbol to list) in Pd canonical. This object is
> like Perl's "split" function and it would take a character (such as "/")
> as it's first argument. Then you could just go:
> 
> [netrecieve myport 1]
> |
> [list split 1]
> |           |
> [stol /]    |
> |           |
> |           |
> |           [...list split or route value bits here...]
> |
> [...list split or route path bits here...]
> 
> 
> Sending OSC udp packets to myport. N'est pas?

i dont think that will work..OSC is encoded a specific way, using a typetag and combinations of various kinds of big endian numbers and ASCII text, zero padding to byte boundaries to delimit messages/message-components (the typetags and path are treated as a string). netsend uses ASCII text for everything and uses ";" to delimit..

see http://www.cnmat.berkeley.edu/OpenSoundControl/OSC-spec-examples.html

its simple to implement, but impossible to implement in PD, as a patch...since you cant stream 'bytes' around the way you can floats or symbols or lists...




More information about the Pd-list mailing list