Re: [LAD] More midi related questions

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Wed Dec 14 2011 - 20:00:14 EET

gene heskett wrote:
> And, is there a utility available that I can use to test send a file
> to one of those midiC0Dn devices?

Raw MIDI devices require raw data; they're useful only for .syx files
where you don't care about timing.

Try this:
  (echo -ne '\x90\x3c\x7f'; sleep 0.5; echo -ne '\x3c\x00') > /dev/snd/midiC0D2

To get a sequencer port that your stupid Java runtime can access, load
the snd-virmidi module.

To test it, run
 aseqdump -p "Virtual Raw MIDI":0
to show what gets sent to the corresponding raw MIDI port.

To actually use it, connect it to a synthesizer port:
  aconnect "Virtual Raw MIDI":0 Emu10k1:0

Regards,
Clemens
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Dec 14 20:15:02 2011

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2011 - 20:15:02 EET