Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 03-14-2019, 05:40 AM   #1
sefcocos
Human being with feelings
 
Join Date: Mar 2019
Posts: 5
Default 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.
sefcocos is offline   Reply With Quote
Old 03-15-2019, 04:57 AM   #2
sefcocos
Human being with feelings
 
Join Date: Mar 2019
Posts: 5
Default

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)
sefcocos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.