[PD] Add commas to an OSC-message

Christof Ressi info at christofressi.com
Thu May 21 11:46:17 CEST 2020


Hi,

usually, you can escape commas in symbols with backslashes, e. g.:

[symbol /x1\,x2\,x3\,x4( -> [list fromsymbol] -> [print]

will give you the following ASCII values:

47 120 49 44 120 50 44 120 51 44 120 52

(44 is the comma)

---

When I try to use the same string as an adress pattern for [oscformat], 
I get the following result:

47 120 49 92 44 120 50 92 44 120 51 92 44 120 52 0

Each comma is prepent by a backslash (92), which is not what we want.

I get the same result with [mrpeach/packOSC], btw.

Please file a bug report!

Christof

On 21.05.2020 11:11, Patrick Heidegger via Pd-list wrote:
> Hello all,
>
> I want to send controls for multiple fx-parameters in Reaper with a single OSC-message.
> Controls for multiple parameters in reaper are defined like:
>
> /track/1/fx/2/fxparm/x1,x2,x3,x4/value y1 y2 y3 y4
>
> where xn are the parameter index and yn are the assigned values.
> I know that commas in PD usually can not be used in this way.
>
> Is there any workaround?
>
>
> Thanks in advance,
>
> Patrick
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list