[LAU] Standard Sample Dump with amidi

Clemens Ladisch cladisch at fastmail.net
Mon Sep 1 07:58:43 EDT 2008


Mirko Horstmann wrote:
> I save the sample as mono, 16bit, 48000kHz (which the synth is
> supposed to be able to handle) and in ".sds" format (using Sweep, which
> uses libsndfile). The beginning few bytes of that file seem to be
> compliant with a midi sysex dump. Then I use the following command to
> send it to the synth ("hw:0,0" being the midi port of my M-Audio
> Audiophile):
>
> amidi -p hw:0,0 -s sample.sds
>
> Is this supposed to work at all or am I missing something?

The Sample Dump Standard defines "Wait"/"NACK"/"ACK" messages that allow
the receiving device to throttle the sending device, and the sending
device _must_ wait for an ACK before sending the next block.  In an
open-loop configuration, the sender can just send packets, but must
insert a pause between packets.  amidi does not do any of this.

In theory, it should be possible to write a simple SDS sending utility.


Regards,
Clemens



More information about the Linux-audio-user mailing list