Skip to contentSkip to conversation

Midi / SysEx - Dump / Linux?

DISCUSSION Steve Netting 7 participants 10 messages Jul 13, 2000 – Jul 15, 2000 Sound

lore
Share & tools
lore
#0 lore raw

Hi,

Can anyone tell me if a utility for Linux exists which allows me to receive midi bulk-dumps (AKA Sys-Ex messages) from external equipment, and then restore these later (ie, squirt them back out of via midi).

Several progs exist for DOS - but I really don't want all the hassle of dual-booting a machine purely for this ...

Thanks,

Steve
--
http://www.moonfoundation.co.uk
--
- Steve Netting - Logica Aldiscon, Bristol, UK

#1 lore raw

Good question. I'm looking for one too...
Thanks,
- eric -

--- Steve Netting <[email protected]> a écrit : >

Quoted 17 lines

Hi,

Can anyone tell me if a utility for Linux exists
which allows me
to receive midi bulk-dumps (AKA Sys-Ex messages)
from external
equipment, and then restore these later (ie, squirt
them back
out of via midi).

Several progs exist for DOS - but I really don't
want all the
hassle of dual-booting a machine purely for this
...

Quoted 8 lines

Thanks,

Steve
--
http://www.moonfoundation.co.uk
--
- Steve Netting - Logica Aldiscon, Bristol, UK

___________________________________________________________
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr

#2 lore raw
In reply to Steve Netting
Quoted 7 lines · Steve Netting

Can anyone tell me if a utility for Linux exists which allows me to receive midi bulk-dumps (AKA Sys-Ex messages) from external equipment, and then restore these later (ie, squirt them back out of via midi).

Several progs exist for DOS - but I really don't want all the hassle of dual-booting a machine purely for this ...

Steve, you might try hacking Glib, it's here:

	http://www.nosuch.com/glib/

You could also try running your DOS editor/librarians under DSOemu. It's very stable these days, I use it with various DOS MIDI software from Voyetra.

Best regards,

= Dave Phillips

http://www.bright.net/~dlphilp/index.html
http://www.bright.net/~dlphilp/linuxsound/

#3 lore raw
In reply to Steve Netting
Quoted 4 lines · Eric Brunel
Quoted 3 lines

Good question. I'm looking for one too...
Thanks,

I have written a library for the Bruce James' RPEdit program. It can send and receive sysex messages. The code seems to work, which reminds me that I really need to send my updates to Bruce. I could send you (and steve) the code if you want, I don't have it on the machine I'm at right now though.

RPedit: http://www.voyager.co.nz/~bjames/RPEdit.html

Andy

#4 lore raw
In reply to Steve Netting
Quoted 11 lines · Steve Netting

Hi,

Can anyone tell me if a utility for Linux exists which allows me to receive midi bulk-dumps (AKA Sys-Ex messages) from external equipment, and then restore these later (ie, squirt them back out of via midi).

Several progs exist for DOS - but I really don't want all the hassle of dual-booting a machine purely for this ...

I am not sure if it works but you could try to do the following:

cat /dev/midi00 >dumpfile

start the sysex transfer

when finished
press CTRL-C
the dumpfile will contain the dumped data.

then to playback the data
first start sysex receive on your midi module
then do
cat dumpfile >/dev/midi00

which should send back the data to the midi port.

I tried here a cat /dev/midi00 >file

and pressed and released two keys on the MIDI keyboard, then pressed Ctrl-C
and looked at the binary contents of the files:
it contained exactly the two note-on and the two note-off messages and had a length of 12 byte.

I have currently no external MIDI expanders here so I can't try to do the dump.

Benno.

#5 lore raw
In reply to Steve Netting
Quoted 6 lines · Andrew Ryan

I have written a library for the Bruce James' RPEdit program. It can send and receive sysex messages. The code seems to work, which reminds me that I really need to send my updates to Bruce. I could send you (and steve) the code if you want, I don't have it on the machine I'm at right now though.

RPedit: http://www.voyager.co.nz/~bjames/RPEdit.html

Say, is this editor available for Linux ? I read on the page that it's a Tcl/Tk design, perhaps it could be ported without terrible difficulty ??

Best regards,

= Dave Phillips

http://www.bright.net/~dlphilp/index.html
http://www.bright.net/~dlphilp/linuxsound/

#6 lore raw
In reply to Steve Netting
Quoted 7 lines · Dave Phillips
Quoted 5 lines · Andrew Ryan

I have written a library for the Bruce James' RPEdit program. It can send and receive sysex messages. The code seems to work, which reminds me that I really need to send my updates to Bruce. I could send you (and steve) the code if you want, I don't have it on the machine I'm at right now though.

Quoted 5 lines
Quoted 1 line

RPedit: http://www.voyager.co.nz/~bjames/RPEdit.html

Say, is this editor available for Linux ? I read on the page that it's a Tcl/Tk design, perhaps it could be ported without terrible difficulty ??

This editor does work under linux, I've used it. I have not tried the newest version, but I don't see why it would not work. The only thing is that Bruce now only puts up a windozs install EXE file that needs to be run under windows to extract the files. Once extracted the files can be copied to linux. I'm going to ask Bruce to put up a normal zip file version of it on his web page.

Andy

#7 lore raw
In reply to Steve Netting
Quoted 10 lines

--- Benno Senoner <[email protected]> wrote :
[snip]

Quoted 7 lines

I am not sure if it works but you could try to do
the following:

cat /dev/midi00 >dumpfile

start the sysex transfer

Quoted 7 lines
Quoted 3 lines

when finished
press CTRL-C
the dumpfile will contain the dumped data.

O-me-god, it seems to work...! I got what seems to be the sysex dump I needed... What a wonderful OS! Thanks, Benno.

hehe , that's the advantage of of the "everything is a file in UNIX"
concept.
:-)

Quoted 8 lines
Quoted 7 lines

then to playback the data
first start sysex receive on your midi module
then do
cat dumpfile >/dev/midi00

which should send back the data to the midi port.

Quoted 7 lines

Could anyone confirm that? I've got an Elektron SIDStation and there is no other way to save custom programs than via MIDI/sysex. So if this does not work, I'll lose all my carefully crafted custom programs.
Thanks a lot in advance.
- eric -

I do not want to be responsible for your data losses, all my hints are without WARRANTY.
:-)

For example recodring a MIDI-song via cat will not work since it is a stream of bytes without any timing information. But in the sysex case there is no timing concept since it is a raw data dump.
I am sorry that I can not try the reverse cat dumpfile >/dev/midi00 because of the lack of HW here.

it should work, but wait for someone confirming this.

Benno.

#8 lore raw
In reply to Steve Netting

--- Benno Senoner <[email protected]> wrote :
[snip]

Quoted 10 lines

I am not sure if it works but you could try to do
the following:

cat /dev/midi00 >dumpfile

start the sysex transfer

when finished
press CTRL-C
the dumpfile will contain the dumped data.

O-me-god, it seems to work...! I got what seems to be the sysex dump I needed... What a wonderful OS! Thanks, Benno.

Quoted 6 lines

then to playback the data
first start sysex receive on your midi module
then do
cat dumpfile >/dev/midi00

which should send back the data to the midi port.

Could anyone confirm that? I've got an Elektron SIDStation and there is no other way to save custom programs than via MIDI/sysex. So if this does not work, I'll lose all my carefully crafted custom programs.
Thanks a lot in advance.
- eric -

___________________________________________________________
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr

#9 lore raw
In reply to Steve Netting

<Benno - if this doesn't make it out to the list - could
you forward it? I've been having email noghtmares recently!>

< snip >

Quoted 7 lines
Quoted 7 lines

Could anyone confirm that? I've got an Elektron SIDStation and there is no other way to save custom programs than via MIDI/sysex. So if this does not work, I'll lose all my carefully crafted custom programs.
Thanks a lot in advance.
- eric -

<snip?

Quoted 4 lines

I am sorry that I can not try the reverse cat dumpfile >/dev/midi00 because of the lack of HW here.

it should work, but wait for someone confirming this.

Yes, does indeed work - tested using an Alesis MMT-8 sequencer dumping it's memory via midi ... and a Korg N1 synth dumping all it's programs settings etc. All restores without any problems.

Thanks to all who replied! I should have though of that myself,
but well... I really didn't think it was that easy.

I'll probably knock up a script to make the whole process more user-friendly, and provide some sort of menus for dumping/ restoring data...

Thanks again!

Steve
--
http://www.moonfoundation.co.uk
--
- Steve Netting - Logica Aldiscon, Bristol, UK