03-14-2019, 05:40 AM | #1 |
Human being with feelings
Join Date: Mar 2019
Posts: 5
|
snd-virmidi virtual midi buses issue
[reposted from https://forum.cockos.com/showthread.php?p=2107645]
Hello, I am trying to consume midi events sent from Reaper in a java application. I am using linux and the "snd-virmidi" kernel module to create virtual midi buses. This method works well with Ardour and Tracktion Waveform but not with Reaper. Reaper has everything I need for my project (tempo tapping, customizable midi overdubbing, non-buggy midi loop recording & playing, ..), the other software do not. Midi events sent from Reaper to "hw:VirMIDI xx" or "virtual" are readable with "KMidimon" and "aseqdump" (command line tool) but not from "amidi" (command line tool) nor from my java application. With Ardour and Tracktion Waveform, the situation is the reverse, Midi events are readable by my Java application and by "amidi" but not with "KMidimon" and "aseqdump". I read the source code of "amidi", "aseqdump" & the java JVM native code. - "amidi" & the JVM uses "alsa/rawmidi.h" (method "snd_rawmidi_read()") - "aseqdump" and "KMidimon" (via "drumstick") uses "alsa/seqmidi.h" (method "snd_seq_event_input()") Does anyone know how I can configure my system and/or Reaper so that midi events sent by Reaper are readable by "amidi" and my java application? I am open to alternative solutions too. Thanks for any input! Last edited by sefcocos; 03-14-2019 at 06:11 AM. |
03-15-2019, 04:57 AM | #2 |
Human being with feelings
Join Date: Mar 2019
Posts: 5
|
after trying random stuffs for days, using aconnect solves the issue :
"aconnect 25:0 25:0" "25:0" is 'Virtual Raw MIDI 2-1' in the output produced by "aconnect -l" (running on ubuntu 18, without jack) |
Thread Tools | |
Display Modes | |
|
|