On Wednesday, December 14, 2011 02:03:14 PM Clemens Ladisch did opine:
> 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
>
Worked, gave a single half second tone.
>
> To get a sequencer port that your stupid Java runtime can access, load
> the snd-virmidi module.
Tis loaded already:
[gene@email-addr-hidden midi]$ lsmod|grep snd_seq_virmidi
snd_seq_virmidi 3864 1 snd_emux_synth
snd_rawmidi 15287 4 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_seq_midi_event 4648 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq 42136 9
snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd 43189 19
snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
> To test it, run
> aseqdump -p "Virtual Raw MIDI":0
> to show what gets sent to the corresponding raw MIDI port.
[gene@email-addr-hidden midi]$ aseqdump -p "Virtual Raw MIDI":0
Invalid port Virtual Raw MIDI:0 - No such file or directory
Repeat for :1, :2, & :3
> To actually use it, connect it to a synthesizer port:
> aconnect "Virtual Raw MIDI":0 Emu10k1:0
Since I got the above error(s) I looked it up and did this:
aconnect -i
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 16: 'SB Audigy 2 Value [SB0400]' [type=kernel]
0 'Audigy MPU-401 (UART)'
32 'Audigy MPU-401 #2'
Which I think is telling me there is no thru port to the synth?
aconnect -o
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 16: 'SB Audigy 2 Value [SB0400]' [type=kernel]
0 'Audigy MPU-401 (UART)'
32 'Audigy MPU-401 #2'
client 17: 'Emu10k1 WaveTable' [type=kernel]
0 'Emu10k1 Port 0 '
1 'Emu10k1 Port 1 '
2 'Emu10k1 Port 2 '
3 'Emu10k1 Port 3 '
So I think I need something else yet?
> Regards,
> Clemens
Thanks Clemens, between you and Paul, I may actually be learning something.
:)
Cheers, Gene
-- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> Law stands mute in the midst of arms. -- Marcus Tullius Cicero _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@email-addr-hidden http://lists.linuxaudio.org/listinfo/linux-audio-devReceived on Thu Dec 15 00:15:01 2011
This archive was generated by hypermail 2.1.8 : Thu Dec 15 2011 - 00:15:02 EET