All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benno Senoner <sbenno@gardena.net>
To: linux-sound@vger.kernel.org
Subject: Re: Midi / SysEx - Dump / Linux?
Date: Thu, 13 Jul 2000 22:54:41 +0000	[thread overview]
Message-ID: <marc-linux-sound-96352888008012@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-96349816311777@msgid-missing>

On Fri, 14 Jul 2000, Steve Netting wrote:
> 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.

  parent reply	other threads:[~2000-07-13 22:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-13 14:22 Midi / SysEx - Dump / Linux? Steve Netting
2000-07-13 14:42 ` Eric Brunel
2000-07-13 15:14 ` Dave Phillips
2000-07-13 15:33 ` Andrew Ryan
2000-07-13 22:54 ` Benno Senoner [this message]
2000-07-14 14:48 ` Dave Phillips
2000-07-14 15:23 ` Andrew Ryan
2000-07-14 16:46 ` Benno Senoner
2000-07-14 17:03 ` Eric Brunel
2000-07-15 14:52 ` Steve Netting

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-sound-96352888008012@msgid-missing \
    --to=sbenno@gardena.net \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.