Paul Jensen wrote:
> I really appreciate your help. I've made some progress, although I do
> find it a bit strange. Basically, as I understand it, I've got
> aconnect transferring MIDI controller (20:0) events to /dev/midi02
> (24:0), and have csound listening on 24:0.
> 
> So, after reading your message, I shrugged and tried this:
> 
>     cat /dev/midi02 > /dev/midi02
> 
> While this command is running, I can hear my Keystation events in
> csound!
> 
> Anyway, it works, but that "cat" command above is one of the strangest
> I've ever typed. Is this the way I'm supposed to get MIDI events to
> "go in" one ALSA MIDI port and "come out" the other?

No.  The purpose of the snd-virmidi driver is to convert between ALSA
sequencer ports and old OSS raw midi ports, but not to connect several
sequencer ports together.

> It appears that the tools I'm using don't want to use the MIDI devices
> in /dev, but the ALSA port numbers.

Then you just need to load snd-seq-dummy and use the Through port.

Or you could just use aconnect to connect your keyboard directly to
Csound.


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

Reply via email to