Paul Jensen wrote: > I'm having difficulty using ALSA's virtual MIDI ports to route MIDI > events from my M-Audio Radium 61 MIDI controller (USB interface -- > works fine) to my Csound softsynth. > > ~$ aseqdump -l > Port Client name Port name > 0:0 System Timer > 0:1 System Announce > 16:0 ICEnsemble ICE1712 MIDI ICEnsemble ICE1712 MIDI > 16:32 ICEnsemble ICE1712 MIDI ICEnsemble ICE1712 MIDI > 20:0 Keystation Keystation MIDI 1 > 24:0 Virtual Raw MIDI 2-0 VirMIDI 2-0 > 25:0 Virtual Raw MIDI 2-1 VirMIDI 2-1 > 26:0 Virtual Raw MIDI 2-2 VirMIDI 2-2 > 27:0 Virtual Raw MIDI 2-3 VirMIDI 2-3 > > The Keystation works fine -- "aseqdump 20:0" shows appropriate > Keystation MIDI events. > > I can "aconnect 20:0 24:0" fine, and the connection appears to "take" > when I "aconnect (-li | -lo)", and I can see the connection in > Qjackctl's connection window. However, after making the connection, a > "aseqdump -p 24:0" returns no MIDI action at all when I hit the > Keystation keyboard. > > Isn't it the case that incoming MIDI events from 20:0 (the Keystation) > should be sent to the virtual 24:0 MIDI device, where I can ask Csound > take its MIDI input from?
The Virtual Raw MIDI driver converts between sequencer ports (x:y) and the old OSS raw MIDI ports (/dev/midixx). Any data sent to port 24:0 can be read from /dev/midi02, and any data sent to /dev/midi02 can be read from 24:0. Your "aseqdump -p 24:0" command would display data sent by Csound (if Csound is connected to /dev/midi02). To see data sent to port 24:0, use a command like "hexdump < /dev/midi02". HTH Clemens ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user