[PD] prepending osc messages with a tag

Roman Haefeli reduzent at gmail.com
Mon Aug 16 20:27:43 CEST 2010


Check attached patch. Rename it to fit your needs.

Roman
 

On Mon, 2010-08-16 at 19:39 +0200, Peter Plessas wrote:
> Dear List,
> 
> how to prepend an OSC message with a (ideally settable) tag?
> 
> [/sheep 4>
>  |
>  |
>  |
> [magic-object /animal]
>  |
>  |
> 
> resulting in: [/animal/sheep 4<
> 
> A normal [prepend] does not work as it includes a whitespace.
> A [makefilename] will not work with OSC messages of varying length and
> content.
> The [prefix ...< message of [packOSC] is not usable in my case.
> 
> Looking forward to good and inspiring ideas!
> 
> P
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: magicobject.tar.gz
Type: application/x-compressed-tar
Size: 485 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100816/de4b6089/attachment.bin>


More information about the Pd-list mailing list