[PD] Add commas to an OSC-message

2020-05-21 Thread Patrick Heidegger via Pd-list
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

Re: [PD] Add commas to an OSC-message

2020-05-21 Thread Christof Ressi
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

[PD] MIDI in channel looks wrong

2020-05-21 Thread Philip Stone via Pd-list
Hello, I’ve connected a Behringer X-Touch Mini to PD (0.50-2) on OS X Catalina, and the raw data coming into [midiin] looks fine, but the [ctlin] and [notein] objects are reporting a channel of 27 (it should be 2). Since that’s not even a legal channel number, I’m wondering if this is a bug.

Re: [PD] MIDI in channel looks wrong

2020-05-21 Thread Christof Ressi
Since that’s not even a legal channel number, I’m wondering if this is a bug. Channel numbers in objects like [ctlin] are really the MIDI port + channel number: 1: channel 1 on port 1 2: channel 2 on port 1 ... 17: channel 1 on port 2 18: channel 2 on port 2 ... 27: channel 11 on port 2 Are y

Re: [PD] Add commas to an OSC-message

2020-05-21 Thread Martin Peach
On Thu, May 21, 2020 at 5:19 AM 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 >