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

David dfkettle at gmail.com
Wed Mar 9 01:54:32 CET 2011


Hi!

I looked at your code, and I think I understand it, more or less. But
I couldn't see where you're sending the 6-byte NRPN message before and
after the SysEx message. Isn't it necessary?

I got this information from a web site created by someone who
reverse-engineered the SysEx messages for the EWI USB:

http://www.ewiusb.com/

According to him, you have to send the '63 01 62 04 06 20' before each
SysEx, and '63 01 62 04 06 10' after the last one. You're not doing
that? I haven't tested any of this stuff yet, I'm a little paranoid
about screwing up my EWI. I can probably recover just by pressing the
reset button if something goes wrong, but I'd rather not take the
chance.

David.

On Tue, Mar 8, 2011 at 12:48 PM, Ingo <ingo at miamiwave.com> wrote:
> Oops, I just loaded the patch on a Windows XP machine. Looks like [midiout]
> is not working here. I guess the way to go would be NRPN on Windows. Unless
> there is another object that could handle SysEx that I am not aware of.
>
> Ingo
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: pd-list-bounces at iem.at [mailto:pd-list-bounces at iem.at] Im Auftrag von
>> Ingo
>> Gesendet: Dienstag, 8. März 2011 18:35
>> An: 'David'; pd-list at iem.at
>> Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary
>> files")
>>
>> Hi David,
>>
>> here's a full EWI-USB editor.
>> However, it only works one way! Pd -> EWI-USB. It cannot retrieve data
>> from
>> the EWI.
>>
>> If you want to save your data you should specify a path (marked with red
>> "bangs") twice for loading and saving and you need to set the midi port.
>> Nothing else to do.
>>
>> I have tested it with Linux (Ubuntu). Not sure if it works on any other
>> OS.
>>
>> Hope it's useful for some people!
>>
>> Cheers
>> Ingo
>>
>>
>> > -----Ursprüngliche Nachricht-----
>> > Von: pd-list-bounces at iem.at [mailto:pd-list-bounces at iem.at] Im Auftrag
>> von
>> > David
>> > Gesendet: Dienstag, 8. März 2011 03:07
>> > An: pd-list at iem.at; muranyia at gmail.com
>> > Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary
>> > files")
>> >
>> > 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
>> >
>> > _______________________________________________
>> > Pd-list at iem.at mailing list
>> > UNSUBSCRIBE and account-management ->
>> > http://lists.puredata.info/listinfo/pd-list
>
>



More information about the Pd-list mailing list