Re: [PD] Pduino sysex vs. OSC advice

2016-06-17 Thread Rick Snow
t. Then you can dispatch every value via its index with > getInt(INDEX) > > > Gesendet: Freitag, 17. Juni 2016 um 01:28 Uhr > Von: "Christof Ressi" > An: Pd-List , "Rick Snow" > Betreff: Re: [PD] Pduino sysex vs. OSC advice > > Hi, I think there was

Re: [PD] Pduino sysex vs. OSC advice

2016-06-16 Thread Christof Ressi
ot; > >   > > I am a total noob when it comes to this... could you share an example?​  >   > Cheers, > Rick >   >  -- > > Message: 2 > Date: Thu, 2 Jun 2016 19:38:51 +0200 > From: "Christof Ressi" > To: "Rick Snow"

Re: [PD] Pduino sysex vs. OSC advice

2016-06-16 Thread Christof Ressi
n it comes to this... could you share an example?​    Cheers, Rick    -- Message: 2 Date: Thu, 2 Jun 2016 19:38:51 +0200 From: "Christof Ressi" To: "Rick Snow" Cc: "pd-list@lists.iem.at[pd-list@lists.iem.at]" Subject: Re: [PD] Pduino sysex

Re: [PD] Pduino sysex vs. OSC advice

2016-06-16 Thread Christof Ressi
kes more sense to send a single OSC message, containing all the fader values as a list. Then you can dispatch every value via its index with getInt(INDEX) Gesendet: Freitag, 17. Juni 2016 um 01:28 Uhr Von: "Christof Ressi" An: Pd-List , "Rick Snow" Betreff: Re: [PD] Pduino

Re: [PD] Pduino sysex vs. OSC advice

2016-06-16 Thread Christof Ressi
The question how to handle the bitshifting in a MIDI style protocol has already been answered in this thread ;-) https://lists.puredata.info/pipermail/pd-list/2016-06/115160.html   Christof   Gesendet: Donnerstag, 16. Juni 2016 um 22:58 Uhr Von: "Martin Peach" An: "pd-list@lists.ie

Re: [PD] Pduino sysex vs. OSC advice

2016-06-16 Thread Martin Peach
On Thu, Jun 16, 2016 at 11:35 AM, Rick Snow wrote: > ​Thanks again Christof for pointing me in a promising direction. I have > been working with the OSC tagging via slipenc and slipdec. > > As of now I have fairly reliable communication between PD and the Arduino > sketch using a version the pat

Re: [PD] Pduino sysex vs. OSC advice (Christof Ressi)

2016-06-03 Thread jamal crawford
; ++i){ > a += (int) buf[i] << i*7; // make sure to first cast the unsigned > char (byte) to an integer before shifting it to the left!!! > } > > > As you see, working with 7-bit data is actually quite neat. Just check if > incoming bytes are bigger than 127 to

Re: [PD] Pduino sysex vs. OSC advice

2016-06-02 Thread Christof Ressi
Juni 2016 um 18:00 Uhr Von: "Rick Snow" An: "Christof Ressi" Cc: "pd-list@lists.iem.at" Betreff: Re: Re: [PD] Pduino sysex vs. OSC advice Thanks Christof (and Martin) for pointing me to the CNMAT library.   I did spend a bit of time with this library before pos

Re: [PD] Pduino sysex vs. OSC advice (Christof Ressi)

2016-06-02 Thread Christof Ressi
erstag, 02. Juni 2016 um 14:53 Uhr Von: "jamal crawford" An: pd-list@lists.iem.at, danomat...@gmail.com Betreff: Re: [PD] Pduino sysex vs. OSC advice (Christof Ressi) hi list   > If you need a greater resolution for your values, just break them up into > several bytes. This way, sen

Re: [PD] Pduino sysex vs. OSC advice

2016-06-02 Thread Rick Snow
nding a single 16 bit integer would take 4 bytes (address, bit > 14-15, bit 13-7, bit 0-6). > > Christof > > Gesendet: Mittwoch, 01. Juni 2016 um 17:16 Uhr > Von: "Martin Peach" > An: "pd-list@lists.iem.at" > Betreff: Re: [PD] Pduino sysex vs. OSC advice >

Re: [PD] Pduino sysex vs. OSC advice

2016-06-02 Thread IOhannes m zmoelnig
On 2016-06-02 16:51, Rick Snow wrote: > Thanks for the heads up Dan! > > I spent a bit of time with CmdMessenger yesterday and bumped into the old > comma/semicolon in a pd message issue. At least in the example sketches > the serial communication needed a command tag and a value defined in the >

Re: [PD] Pduino sysex vs. OSC advice

2016-06-02 Thread Rick Snow
t; > danomatika.com > robotcowboy.com > > On Jun 1, 2016, at 8:29 AM, pd-list-requ...@lists.iem.at wrote: > > *From: *Rick Snow > *Subject: **[PD] Pduino sysex vs. OSC advice* > *Date: *June 1, 2016 at 8:29:16 AM MDT > *To: *pd-list@lists.iem.at > > > Hello list!

Re: [PD] Pduino sysex vs. OSC advice (Christof Ressi)

2016-06-02 Thread Alex Norman
There are a few higher resolution values in the midi spec that you can use.. The bend value (one per channel, so 16 total assesses) is 14 bit and there are also nrpn messages which combine several control change messages to create a larger address and value space (14 bit). Or you can use sysex..

Re: [PD] Pduino sysex vs. OSC advice (Christof Ressi)

2016-06-02 Thread jamal crawford
hi list > If you need a greater resolution for your values, just break them up > into several bytes. This way, sending > a single 16 bit integer would > take 4 bytes (address, bit 14-15, bit 13-7, bit 0-6). >That’s a great point. Everyone complains about MIDI now (not enough >range, etc) but it

Re: [PD] Pduino sysex vs. OSC advice (Christof Ressi)

2016-06-01 Thread Dan Wilcox
> On Jun 1, 2016, at 5:41 PM, pd-list-requ...@lists.iem.at wrote: > > b) reduce the range of possible values for your data (e.g. 0-127, like MIDI) > and reserve the rest for addressing (128-255). If you need a greater > resolution for your values, just break them up into several bytes. This way,

Re: [PD] Pduino sysex vs. OSC advice

2016-06-01 Thread Dan Wilcox
.at wrote: > > From: Rick Snow mailto:ricks...@gmail.com>> > Subject: [PD] Pduino sysex vs. OSC advice > Date: June 1, 2016 at 8:29:16 AM MDT > To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at> > > > Hello list! > > I am looking for some advice on

Re: [PD] Pduino sysex vs. OSC advice

2016-06-01 Thread Martin Peach
There's an OSC library for Arduino here: https://github.com/CNMAT/OSC Using SLIP it can communicate over serial line using [comport] on the Pd end. Martin On Wed, Jun 1, 2016 at 10:29 AM, Rick Snow wrote: > Hello list! > > I am looking for some advice on sending messages from PD to an Arduino >

[PD] Pduino sysex vs. OSC advice

2016-06-01 Thread Rick Snow
Hello list! I am looking for some advice on sending messages from PD to an Arduino sketch. Essentially, I plan to connect a mac to an Arduino via USB and control a large amount of variables within the Arduino sketch from PD. Is using the sysex message with the [arduino] object message the way to