Re: [PD] Add commas to an OSC-message
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 > > 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? If you want to send y1 to/track/1/fx/2/fxparm/x1 and y2 to /track/1/fx/2/fxparm/x1x2 etc. , just make four separate messages like /track/1/fx/2/fxparm/x1 y1 They could be in a bundle together. If you want to send all the ys to each of the four endpoints then it should be written* : /track/1/fx/2/fxparm/{x1,x2,x3,x4} y1 y2 y3 y4 ...which is problematic in Pd because of the way text input is interpreted as TCL at some points, so again it's easier to make four separate messages. In a bundle they will have a timestamp so they will act simultaneously. Martin *http://opensoundcontrol.org/spec-1_0 "OSC Message Dispatching and Pattern Matching" ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] MIDI in channel looks wrong
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 you sure that you're receiving on channel 2? Note that the second outlet of [midiin] gives you the port number, not the channel number! That would explain why you see 2. Christof On 21.05.2020 21:08, Philip Stone via Pd-list wrote: 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. Best, Phil Stone Davis, California ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] MIDI in channel looks wrong
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. Best, Phil Stone Davis, California ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Add commas to an OSC-message
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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] Add commas to an OSC-message
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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list