[PD] Patch for Akai EWI (was "Reading and writing binary files")

David dfkettle at gmail.com
Tue Mar 8 03:07:28 CET 2011


Thanks. I'm not sure I understand what you mean when you say "you
don't really need sysex", though. I have to send a 6 byte NRPN
message, followed by a 14 byte SysEx message. I think I understand how
to send the NRPN message, but I'm still confused about the SysEx
message. Would I use [midiout] to do that? According to the help file
in PD, this object is still undocumented and is only supported on
Linux. Is that still true? And it only has two inlets, which I'm
guessing would be an arbitrary 1 byte value and a channel number, but
I'm not sure.

Unfortunately, none of these messages are documented in the owner's
manual or on their web site, but someone has reverse-engineered the
messages and posted his findings here:

http://www.ewiusb.com/sysex_page1
http://www.ewiusb.com/sysex_page2

The whole stream (an NRPN, a 14 byte SysEx, the same NRPN again,
another 19 byte SysEx, and a final NRPN) would look like this, for
example:

// sysex enable :
63 01 62 04 06 20
// sysex message :
F0 47 7F 6D 00 00 06 40 40 40 40 08 7F F7
// sysex enable :
63 01 62 04 06 20
// sysex message :
F0 F7 7F 6D 02 00 0B 00 00 40 20 02 00 00 7F 00 7C 7D F7
// sysex done :
63 01 62 04 06 10

David.

> Message: 1
> Date: Sun, 6 Mar 2011 18:07:59 +0100
> From: Andr?s Mur?nyi <muranyia at gmail.com>
> Subject: Re: [PD] Patch for Akai EWI (was "Reading and writing binary
>        files")
> To: PD List <pd-list at iem.at>
> Message-ID:
>        <AANLkTimf2TztoeqGx38BLvs_Rphk5YQLi6NnFnB2Uu0j at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> NRPNS are interestingly made up of CC messages so you don't really need
> sysex.
> Attached [nrpnout] (original version by David McCallum) and [nrpnout-yamaha]
> where CC numbers are modified according to Yamaha specs. You may need to
> match two of the four CC numbers with your gear (the other two are always
> the same), and check if your gear needs MSB and LSB address or just one
> "NRPN number".
>
> Andras



More information about the Pd-list mailing list