Firmware updates

Ken Forgettable

2009-07-09 12:20:43

I fail to reliably send large (<70K) sysex messages using JAVA on XP.

Will 'Send SX' work for me sending this size of message?

Does anyone know of any issues with the Sun or MS code :(

florian

2009-07-14 18:15:53

Hi Ken,

SendSX is extensively tested, and works fine for any size of MIDI message (tested e.g. with 6 megabyte sized messages).

However, some MIDI drivers are known to be flawed in that they cannot handle "large" MIDI messages. So my first guess is that this is the cause of your problem. Please give it a try with SendSX -- to be 100% sure, you can throttle the data stream by lowering the speed in the options.

My best guess, however, is that your MIDI interface and/or its drivers are the problem. Maybe updating the MIDI drivers already solves the problem. You can browse some other topics in this forum for other people who solved their issues by buying a new MIDI interface.

With respect to Java, I assume that it'll behave more or less the same as SendSX, as, coincidentally, both MIDI implementations are programmed by the same guy (me) :shock:

Let us know how it works.

Regards,
Florian

Ken Forgettable

2009-07-14 22:07:31

florian wrote:With respect to Java, I assume that it'll behave more or less the same as SendSX, as, coincidentally, both MIDI implementations are programmed by the same guy (me) :shock:
First of all - I hunted you down as the best person to ask :shock::?
Thanks for taking the time to reply and, I hope I'm not wasting your time!

I am trying to
+ send a (<70K) firmware SysEx using JAVA via
+ the microsoft plug and play "Class compliant" driver (USBaudio.sys) into
+ a DIY MIDI project which uses a PIC18F2550 for the USB interface.

A link to megadrum and my issues here.
...some MIDI drivers are known to be flawed in that they cannot handle "large" MIDI messages.
Have you noticed USBaudio.sys exhibit this problem?!

florian

2009-07-15 09:23:59

can you load your sys ex data into sendsx and post the first 5 lines here?
Thanks,
Florian

Ken Forgettable

2009-07-17 12:34:25

I am pleased to tell you I have not seen your v1.30 build 182 fail :)

Opened MIDI OUT: Out To USB Audio Device
Loading C:\megadrum644_20_32_20090705.syx...
C:\megadrum644_20_32_20090705.syx was loaded succesfully (54706 bytes).
Sending MIDI out data...
Sent 54706 bytes

...if I can reproduce any future errors I'll let you know.

Thanks.