Problems with virtual rawmidi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm working on an MIDI application with ALSA support on LInux. I have problems 
with reading MIDI from virtual rawmidi device.

When I open the device (M-Audio Keystation 49e) in "pure" raw mode calling:

snd_rawmidi_open(&handle_in,NULL,"hw:1,0",0); 

everything is ok and I can read the MIDI stream without problems. BUT when I 
create a virtual midi in port in my application calling:

snd_rawmidi_open(&handle_in,NULL,"virtual",0); 

and connect midi out port from the Keystation to the midi port of the 
Application (using QJackctl), I get problems. Some bytes are skipped, as it 
looks like. For example: Right after everything is started and set up I press 
a key and keyboard and get only the status byte (0x90) and note number, but 
no velocity byte. Then when I release the key I don't get any status byte, 
but only note number and velocity byte( 0 in this case).

Could somoene please check it?

Thank you

Robert

-------------------------------------------------------------------------
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-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux