Hi David,
Again, sorry if I caused offense, I didn't mean to.
That's no offense at all. I am just a little annoyed with other people like ewi-usb.com (and more of them) who put up information on shiny looking websites (I have one, too, BTW) but publish wrong information and don't seem to care about it. Or companies like Akai who give you no information at all about their products!
I'm happy if the patch is helping you. I needed to finish this anyway right now because I am putting the editor into a hardware machine at the moment.
Cheers Ingo
-----Ursprüngliche Nachricht----- Von: David [mailto:dfkettle@gmail.com] Gesendet: Donnerstag, 10. März 2011 14:45 An: Ingo Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary files")
Thanks. I tested my patch last night, without sending the NRPN, and you're right, it seems to work. Maybe there was a modification to the firmware at some point that eliminated the requirement, I'm just guessing. The info on the web site is a little dated.
David.
On Thu, Mar 10, 2011 at 5:53 AM, Ingo ingo@miamiwave.com wrote:
Hi David,
just out of curiosity I checked the dump requests in order to see if
there
is any reason for transmission of these NRPN controllers.
There is absolutely no reason for them!
I've attached my updated SysEx chart for the EWI-USB in case you want to mess around with anything. BTW the NRPN controllers are only being sent when there is a dump
request
from the Aria software to the EWI. Not when data is being sent to the
EWI.
After the dump is transmitted to the EWI the software sends another full
(3
part) dump request and everything on page 1 of the chart is repeated.
To me it looks like "Plogue" - who wrote the software - simply forgot to take out the NRPNs.
This got me confused in the beginning, too. It's just a general problem
when
people like ewi-usb.com put some incorrect information on the web and
don't
correct this information anymore after it turns out to be wrong. Then
guys
like you and many others get confused.
Ingo
-----Ursprüngliche Nachricht----- Von: David [mailto:dfkettle@gmail.com] Gesendet: Mittwoch, 9. März 2011 20:00 An: Ingo Cc: pd-list@iem.at Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary files")
See below.
On Wed, Mar 9, 2011 at 1:36 PM, Ingo ingo@miamiwave.com wrote:
Hi David,
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?
No! SysEx doesn't require any NRPN message to get enabled. I have no
idea
what the Aria software is sending out but it is definitely not
necessary.
There are a lot of strange things with the Garritan / Plogue
software.
Thanks. I agree, the software is a little weird. For example, when you save the settings, why does it save them in two different files? I assumed at first that all the settings would be saved in a single file. It doesn't explain that anywhere, I just discovered it by poking around and opening the files in a text editor that can handle binary files.
I got this information from a web site created by someone who reverse-engineered the SysEx messages for the EWI USB:
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.
I had double checked my information with that website. It turned out
that
there are several things that are wrong in this article. I wrote the
guy
from ewiusb.com an email and told him about the errors but never got
any
answer. He never corrected anything either. It doesn't look like the
site is
active anymore.
I think you're right, I sent him an email a couple of weeks ago and never got a reply.
BTW, you cannot break anything by sending sysex messages to an
instrument.
I am using this editor daily with no problem.
I don't know which reason you have to trust one guy more than any
other
one?
Sorry, I didn't mean any offense. I was only erring on the side of caution. I was just afraid of "bricking" my EWI.
However I did discover an error in the patch this morning when I
transferred
a modified version into my hardware machine. "Pitchbend down" doesn't
get
restored correctly from the file. So there is a fixed version
attached.
It
also writes the 6th value of the shorter sysex strings into the file
which
was ignored before. Just in case it would have any undocumented (ha,
ha,
ha)
meaning.
Thanks again.
Ingo
Here's the finished patch. Any feedback is welcome. I don't have a web site of my own, but if anyone knows of a suitable repository for puredata code, let me know.
David.
Are there any changes you've made from my original patch? Looks pretty much identical to me.
Ingo
-----Ursprüngliche Nachricht----- Von: David [mailto:dfkettle@gmail.com] Gesendet: Montag, 14. März 2011 03:55 An: Ingo Cc: pd-list@iem.at Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary files")
Here's the finished patch. Any feedback is welcome. I don't have a web site of my own, but if anyone knows of a suitable repository for puredata code, let me know.
David.
Sorry, I was looking at the wrong patch.
Ingo
-----Ursprüngliche Nachricht----- Von: Ingo [mailto:ingo@miamiwave.com] Gesendet: Montag, 14. März 2011 11:04 An: 'David'; 'Ingo' Cc: pd-list@iem.at Betreff: AW: [PD] Patch for Akai EWI (was "Reading and writing binary files")
Are there any changes you've made from my original patch? Looks pretty much identical to me.
Ingo
-----Ursprüngliche Nachricht----- Von: David [mailto:dfkettle@gmail.com] Gesendet: Montag, 14. März 2011 03:55 An: Ingo Cc: pd-list@iem.at Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary files")
Here's the finished patch. Any feedback is welcome. I don't have a web site of my own, but if anyone knows of a suitable repository for puredata code, let me know.
David.
Hi David,
I have not tested your patch so far but:
Your default midi channel is "0" ??? Your velocity default is 32 instead of "120" default for breath_cc2 should be aftertouch and not "0" default key delay should be "7" (not that this matters at all) but...
pitchbend up / down needs to be "127" and not 124 / 125 as stated by "www.ewi-usb.com".
Didn't I mention there were errors on that website?
Although I told that some of the stuff is incorrect and provided you the correct information you simply copy this wrong information and want to publish it somewhere else with your own copyright???
Come on!
Ingo
-----Ursprüngliche Nachricht----- Von: Ingo [mailto:ingo@miamiwave.com] Gesendet: Montag, 14. März 2011 11:07 An: 'Ingo'; 'David' Cc: pd-list@iem.at Betreff: AW: [PD] Patch for Akai EWI (was "Reading and writing binary files")
Sorry, I was looking at the wrong patch.
Ingo
-----Ursprüngliche Nachricht----- Von: Ingo [mailto:ingo@miamiwave.com] Gesendet: Montag, 14. März 2011 11:04 An: 'David'; 'Ingo' Cc: pd-list@iem.at Betreff: AW: [PD] Patch for Akai EWI (was "Reading and writing binary files")
Are there any changes you've made from my original patch? Looks pretty much identical to me.
Ingo
-----Ursprüngliche Nachricht----- Von: David [mailto:dfkettle@gmail.com] Gesendet: Montag, 14. März 2011 03:55 An: Ingo Cc: pd-list@iem.at Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary files")
Here's the finished patch. Any feedback is welcome. I don't have a web site of my own, but if anyone knows of a suitable repository for puredata code, let me know.
David.
See below.
On Mon, Mar 14, 2011 at 7:36 AM, Ingo ingo@miamiwave.com wrote:
Hi David,
I have not tested your patch so far but:
Your default midi channel is "0" ??? Your velocity default is 32 instead of "120" default for breath_cc2 should be aftertouch and not "0" default key delay should be "7" (not that this matters at all) but...
pitchbend up / down needs to be "127" and not 124 / 125 as stated by "www.ewi-usb.com".
Didn't I mention there were errors on that website?
Yes, you did tell me there were errors, but you didn't say what they all were. The only error you mentioned specifically was the need to send the NRPN message (and thanks for that). However, I looked at the files produced by the Garritan software, and they seemed to agree with the defaults on that web site, as far as I can remember. Maybe it depends on which version of the firmware and which version of the Garritan software you're using, I don't really know. In any case, they can be overridden, that's the whole purpose of writing this patch in the first place.
As for the Midi channel, I'm not sure whether the first midi channel is supposed to be 0 or 1. It's just the default anyway, it's going to have to be changed, depending on how many midi devices you have attached, and in what order.
Although I told that some of the stuff is incorrect and provided you the correct information you simply copy this wrong information and want to publish it somewhere else with your own copyright???
The copyright isn't on the information from his web site (which I'm not reproducing anyway), it's on my PureData code, so I don't really understand what you're complaining about.
Come on!
Ingo
P.S. Did you mean midi channel or midi port? The inlet to EWI-send is for the midi port.
On Mon, Mar 14, 2011 at 8:23 AM, David dfkettle@gmail.com wrote:
See below.
On Mon, Mar 14, 2011 at 7:36 AM, Ingo ingo@miamiwave.com wrote:
Hi David,
I have not tested your patch so far but:
Your default midi channel is "0" ??? Your velocity default is 32 instead of "120" default for breath_cc2 should be aftertouch and not "0" default key delay should be "7" (not that this matters at all) but...
pitchbend up / down needs to be "127" and not 124 / 125 as stated by "www.ewi-usb.com".
Didn't I mention there were errors on that website?
Yes, you did tell me there were errors, but you didn't say what they all were. The only error you mentioned specifically was the need to send the NRPN message (and thanks for that). However, I looked at the files produced by the Garritan software, and they seemed to agree with the defaults on that web site, as far as I can remember. Maybe it depends on which version of the firmware and which version of the Garritan software you're using, I don't really know. In any case, they can be overridden, that's the whole purpose of writing this patch in the first place.
As for the Midi channel, I'm not sure whether the first midi channel is supposed to be 0 or 1. It's just the default anyway, it's going to have to be changed, depending on how many midi devices you have attached, and in what order.
Although I told that some of the stuff is incorrect and provided you the correct information you simply copy this wrong information and want to publish it somewhere else with your own copyright???
The copyright isn't on the information from his web site (which I'm not reproducing anyway), it's on my PureData code, so I don't really understand what you're complaining about.
Come on!
Ingo
Hi David,
P.S. Did you mean midi channel or midi port? The inlet to EWI-send is for the midi port.
The midi port depends on your hardware. That cannot be known. The midi channel is 1 (like in Pd) however the EWI needs numbers between 0 and 15 while the common use of midi channels goes from 1-16 (like in Pd).
So the patch needs to show "1" while it is transmitting "0" to the EWI.
As far as the default values in general: Only a few of them are important to be set to a specific value. Two of them are the pitchbend settings which need to be set to 127. They do nothing at 124 or 125. I thought you tested this? (Although I have to admit that I have not updated the firmware or software within the last 6 months.)
Ingo
-----Ursprüngliche Nachricht----- Von: David [mailto:dfkettle@gmail.com] Gesendet: Montag, 14. März 2011 13:35 An: Ingo Cc: pd-list@iem.at Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary files")
On Mon, Mar 14, 2011 at 8:23 AM, David dfkettle@gmail.com wrote:
See below.
On Mon, Mar 14, 2011 at 7:36 AM, Ingo ingo@miamiwave.com wrote:
Hi David,
I have not tested your patch so far but:
Your default midi channel is "0" ??? Your velocity default is 32 instead of "120" default for breath_cc2 should be aftertouch and not "0" default key delay should be "7" (not that this matters at all) but...
pitchbend up / down needs to be "127" and not 124 / 125 as stated by "www.ewi-usb.com".
Didn't I mention there were errors on that website?
Yes, you did tell me there were errors, but you didn't say what they all were. The only error you mentioned specifically was the need to send the NRPN message (and thanks for that). However, I looked at the files produced by the Garritan software, and they seemed to agree with the defaults on that web site, as far as I can remember. Maybe it depends on which version of the firmware and which version of the Garritan software you're using, I don't really know. In any case, they can be overridden, that's the whole purpose of writing this patch in the first place.
As for the Midi channel, I'm not sure whether the first midi channel is supposed to be 0 or 1. It's just the default anyway, it's going to have to be changed, depending on how many midi devices you have attached, and in what order.
Although I told that some of the stuff is incorrect and provided you
the
correct information you simply copy this wrong information and want to publish it somewhere else with your own copyright???
The copyright isn't on the information from his web site (which I'm not reproducing anyway), it's on my PureData code, so I don't really understand what you're complaining about.
Come on!
Ingo
I made the changes to the default values that you recommended (if there are any more that are wrong, let me know). And I fixed the Midi channel problem. That was just a dumb mistake on my part. Although I set the range to be from 1 to 16 in the number box, I was initializing it to zero!
Hope you like this version a little better.
David.
By the way, it seems I also have version 1 of the firmware, if you can believe what it says in the EWI configuration panel. I'm not sure how it would know that, unless there's a SysEx or NRPN message to query the version number. As for the software, I have v1005 (?!) of the Akai EWI USB software and v1.066 of the Aria software, for Windows x64. Is that what you have?
On Mon, Mar 14, 2011 at 7:12 PM, David dfkettle@gmail.com wrote:
I made the changes to the default values that you recommended (if there are any more that are wrong, let me know). And I fixed the Midi channel problem. That was just a dumb mistake on my part. Although I set the range to be from 1 to 16 in the number box, I was initializing it to zero!
Hope you like this version a little better.
David.
Same here.
Ingo
-----Ursprüngliche Nachricht----- Von: David [mailto:dfkettle@gmail.com] Gesendet: Dienstag, 15. März 2011 01:00 An: Ingo Cc: pd-list@iem.at Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary files")
By the way, it seems I also have version 1 of the firmware, if you can believe what it says in the EWI configuration panel. I'm not sure how it would know that, unless there's a SysEx or NRPN message to query the version number. As for the software, I have v1005 (?!) of the Akai EWI USB software and v1.066 of the Aria software, for Windows x64. Is that what you have?
On Mon, Mar 14, 2011 at 7:12 PM, David dfkettle@gmail.com wrote:
I made the changes to the default values that you recommended (if there are any more that are wrong, let me know). And I fixed the Midi channel problem. That was just a dumb mistake on my part. Although I set the range to be from 1 to 16 in the number box, I was initializing it to zero!
Hope you like this version a little better.
David.