Re: [LAU] Standard Sample Dump with amidi

From: Clemens Ladisch <cladisch@email-addr-hidden>
Date: Mon Sep 01 2008 - 14:58:43 EEST

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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Sep 1 16:15:02 2008

This archive was generated by hypermail 2.1.8 : Mon Sep 01 2008 - 16:15:02 EEST