User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Weird-sized sysex dumps »
Welcome, Guest. Please Login or Register.
Jun 8th, 2025, 9:14pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Questions and Discussion
(Moderator: Jamie OConnell)
   Weird-sized sysex dumps
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Weird-sized sysex dumps  (Read 1085 times)
mitrogen
New Member
*





   


Gender: male
Posts: 7
Weird-sized sysex dumps
« on: Jul 1st, 2004, 10:30am »
Quote Quote Modify Modify

Hi,
 
I just got Yamaha MU100R and after playing with it I wanted to dump out the multipart settings I just edited. So I fired up MIDI-OX and started "Receive manual dump". Then I started the dump operation on MU100R and it went smoothly, at least with MU100R...
 
MIDI-OX displayed a dump of 22 851 898 bytes! Yes, over 22MB dump! How is this possible? And the dump operation lasted for about 20-30 secs until OX stopped receiving bytes. MIDI spec does not allow transfer rates fast as that. After receiving bytes I pressed "Done" and the program just froze for 10minutes or so and I had to kill it with task manager. I tried to dump the sysex with different buffer settings (16/64x 256 byte) directly to a file and it worked. Now I have two files with the size of:
 
8 378 008 bytes   (16x 256 byte buffers used, default setting)
22 851 898 bytes  (64x 256 byte buffers used)
 
I tried dumping with two different MIDI inputs, Creamware Pulsar and M-Audio Audiophile 24/96. Those files above resulted from sysex receive with M-Audio. With Pulsar the size of the .syx files were over 21MB both.  Huh
 
I just don't want to send these out to MU100R and mess it up. What should I do to get this problem solved?
IP Logged

"I thought it would work but it didn't." - Riddle of Master Lu
mitrogen
New Member
*





   


Gender: male
Posts: 7
Re: Weird-sized sysex dumps
« Reply #1 on: Jul 1st, 2004, 3:29pm »
Quote Quote Modify Modify

I uploaded the file, which is about 8MB of size if someone wants to analyze it:
  www.students.tut.fi/~koski7/stuff/moonscope.syx
 
It should contain 32-part multidump from MU100R. I did the operation with the help of MIDI-OX FAQ and MU100R manual so at least I tried to follow instructions. MIDI IN device used was M-Audio Audiophile.
 
System specs if needed:
 
P4 2.4GHz, no overcolocking
Abit IS-7 mobo
Nvidia FX5900XT
Windows 2000 with SP4 and latest updates
DX 9.0b
M-Audio Audiophile 24/96 soundcard
Creamware Pulsar 1 DSP-card
 
Windows is running in ACPI mode, no problems with any audio apps before. Could this have something to do with the problem? I won't use Standard PC HAL if is not absolutely needed.
IP Logged

"I thought it would work but it didn't." - Riddle of Master Lu
mitrogen
New Member
*





   


Gender: male
Posts: 7
Re: Weird-sized sysex dumps
« Reply #2 on: Jul 2nd, 2004, 3:38pm »
Quote Quote Modify Modify

I managed to shed some light on the problem. I opened the 8MB file with a hex-editor and noticed some strange stuff. It seems that MIDIOX recorded the dump from MU100 multiple times and size of received bytes went trough the roof. I managed to copy first 16-part instrument data from the dump with hex-editor, then saved the copied dump to a different file and sent it back to MU100 with MIDIOX and it worked! Before sending sysex to MU100 I did factory reset on the device and after sending data all my previous settings which I dumped out were restored.
 
Looks like some sort of a bug in the program. Undecided
IP Logged

"I thought it would work but it didn't." - Riddle of Master Lu
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: Weird-sized sysex dumps
« Reply #3 on: Jul 3rd, 2004, 2:58pm »
Quote Quote Modify Modify

I have never seen that before.  I suspect you have some kind of loop set up, where the data is circulating back through the MU100R or else you have more than one input selected and the data is coming in from multiple ports.  By any chance is the MU100R connected by a USB or Serial cable to the PC in addition to the MIDI connection?
 
My MU100R Dumps are typically 80KB.
 
What inputs do you have selected in MIDI-OX?  What Physical MIDI/Serial/USB connections do you have to the MU100R?  
 
To get a tested clean MU100R dump try this: disconnect all cables from it.  Now connect from MU100R MIDI Out 1 to a single PC MIDI In Port.  Select that input port in MIDI-OX, setup to receive a manual Dump in MIDI-OX and then trigger the dump from the MU100R front panel.  It should only take about 10-15 seconds before the MU100R signals complete, and MIDI-OX stops receiving new data.
« Last Edit: Jul 3rd, 2004, 3:08pm by Jamie OConnell » IP Logged

--Jamie
Music is its own reward.

mitrogen
New Member
*





   


Gender: male
Posts: 7
Re: Weird-sized sysex dumps
« Reply #4 on: Jul 3rd, 2004, 4:12pm »
Quote Quote Modify Modify

Thanks for your reply Jamie, I appreciate it.
 
Oh, I'm pretty sure there was no loop action going on or something like that as I also tried dumping data from MU100 with only 1 MIDI cable attached in my setup and that was from MU100 to Audiophile MIDI IN. And I don't use any kind of software MIDI loopback stuff such as Hubi's loopback or MIDI-Yoke.
 
But I can double check my settings and try again when I get back to my PC after a few days.
IP Logged

"I thought it would work but it didn't." - Riddle of Master Lu
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: Weird-sized sysex dumps
« Reply #5 on: Jul 4th, 2004, 10:47am »
Quote Quote Modify Modify

The MU100R has 2 MIDI inputs, 1 MIDI Out, and 1 MIDI Thru.  It would be fairly easy to inadvertently cause a hardware Loop if you're using one or more of the Inputs plus the MIDI Thru.  For the diagnostic tests, please disconnect all cables except the single MU100R MIDI Out.
 
The MU100R also functions as a MIDI interface itself, if you connect a serial cable between it and the computer.  That is why I asked about the serial cable.  As you didn't answer, I'll assume that you do not have the MU100R attached to the computer via a serial cable.
 
As a sanity check, I just dumped my MU100R into MIDI-OX via an Edirol UM-880 MIDI interface.  A MULTI dump took 23 seconds and consists of 38064 bytes.  
 
The MIDI-OX Monitor indicates that all SysEx buffers arrived from the Edirol MIDI Port #4, as expected.  It appears no individual buffer message was longer than 27 bytes. Timestamps show that each buffer was spaced approximately 5 milliseconds appart.
 
« Last Edit: Jul 4th, 2004, 11:04am by Jamie OConnell » IP Logged

--Jamie
Music is its own reward.

mitrogen
New Member
*





   


Gender: male
Posts: 7
Re: Weird-sized sysex dumps
« Reply #6 on: Jul 4th, 2004, 10:55am »
Quote Quote Modify Modify

Oh, sorry. I didn't notice you asked if I'm using a serial cable. No, I don't have a host cable attached if you mean that?
 
And thx for the correct dump size, now I know how it should be when I try it again.
« Last Edit: Jul 4th, 2004, 10:59am by mitrogen » IP Logged

"I thought it would work but it didn't." - Riddle of Master Lu
mitrogen
New Member
*





   


Gender: male
Posts: 7
Re: Weird-sized sysex dumps
« Reply #7 on: Jul 10th, 2004, 9:52am »
Quote Quote Modify Modify

Damn, I don't get this. I tried again with only MU100R MIDI OUT attached to M-Audio MIDI IN. No other cables were attached. Only M-Audio MIDI IN-port is activated in settings.
 
If I try to receive manual dump it still displays size of 8MB, BUT, Midi input monitor now shows correct data input and if I paste the monitor input to clipboard it is no more than 38064 bytes of size excluding timestamps etc. and leaving only pure sysex. So there is absolutely no MIDI loop and monitor displays everything properly. However sysex-view with "receive manual dump" gives me a huge pile of "ghost" bytes.
IP Logged

"I thought it would work but it didn't." - Riddle of Master Lu
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: Weird-sized sysex dumps
« Reply #8 on: Jul 10th, 2004, 1:54pm »
Quote Quote Modify Modify

That certainly does sound like some sort of bug or weird hardware interaction at this point, but I am at a loss to explain it.  
 
Here is my SysEx configuration.  Compare it to yours, and maybe try setting the same as mine as an experiment:
 

 
« Last Edit: Jul 10th, 2004, 2:12pm by Jamie OConnell » IP Logged

--Jamie
Music is its own reward.

mitrogen
New Member
*





   


Gender: male
Posts: 7
Re: Weird-sized sysex dumps
« Reply #9 on: Jul 10th, 2004, 7:26pm »
Quote Quote Modify Modify

OK, I'll try those settings tomorrow when I get to my computer again.
IP Logged

"I thought it would work but it didn't." - Riddle of Master Lu
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.