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@iem.at [mailto:pd-list-bounces@iem.at] Im Auftrag von Ingo Gesendet: Dienstag, 8. März 2011 18:35 An: 'David'; pd-list@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@iem.at [mailto:pd-list-bounces@iem.at] Im Auftrag
von
David Gesendet: Dienstag, 8. März 2011 03:07 An: pd-list@iem.at; muranyia@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@gmail.com Subject: Re: [PD] Patch for Akai EWI (was "Reading and writing binary files") To: PD List pd-list@iem.at Message-ID: AANLkTimf2TztoeqGx38BLvs_Rphk5YQLi6NnFnB2Uu0j@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list