Closed qzic closed 3 years ago
Attempting to run not in loopback mode
root@raspberrypi3-1:~# raveloxmidi -c raveloxmidi.conf |& grep alsa [1610140039.322060] [tid=1996443648] DEBUG: [alsa.output_device] = [hw:1,0,0] [1610140039.322075] [tid=1996443648] DEBUG: [alsa.input_device] = [hw:1,1,0] [1610140039.322090] [tid=1996443648] DEBUG: [alsa.input_buffer_size] = [1024]
I think I'm supposed to see a line with DEBUG: raveloxmidi_alsa_init: ret=0 Success It looks like raveloxmidi is not connecting to alsa devices.
BTW, I'm running the very latest version of raveloxmidi
OK, so the problem is definitely that raveloxmidi is not connecting to alsa ports and not showing any failure. I'm actually running 0.10.1 on a Pi3B. I originally was trying to get raveloxmidi working on a Pi4 but I have back-tracked to what I used to have working but now it isn't. I have upgraded the OS, is there anything else I might need to initialize on boot that could be causing my problem?
I do run
sudo modprobe snd-virmidi snd_index=1 sudo aconnect 20:0 23:0 sudo aconnect 22:0 21:0
on boot.
reuired pkgs are installed root@raspberrypi3-1:# sudo dpkg-query -l | grep libavahi-core-dev ii libavahi-core-dev:armhf 0.6.32-2 armhf Development files for Avahi's embeddable mDNS/DNS-SD library root@raspberrypi3-1:~# sudo dpkg-query -l | grep libavahi-client-dev ii libavahi-client-dev:armhf 0.6.32-2 armhf Development files for the Avahi client library root@raspberrypi3-1:~# sudo dpkg-query -l | grep libasound2-dev ii libasound2-dev:armhf 1.1.3-5+rpt4 armhf shared library for ALSA applications -- development files
When you built raveloxmidi, did the configure script indicate that the ALSA library had been detected?
That might be it. I'll reinstall and check. I don't remember seeing an error.
Ok, that was it. I think I didn't have some of the lib packages installed. I completely removed primidi and re-cloned master. Rebuilt and now it works. I had previously just tried make clean, make, make install but I guess the .configur step was important after I got the libs loaded.
Hi Dave. I've been trying to get raveloxmidi working again after many months of not using it and I'm having problems. I'm testing with that small midiTest program (that we used to debug the previous issues) and MIDI OX on the PC. Alsa connections are:
root@raspberrypi3-1:# aconnect -l client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce ' client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' client 20: 'Virtual Raw MIDI 1-0' [type=kernel,card=1] 0 'VirMIDI 1-0 ' Connecting To: 23:0 client 21: 'Virtual Raw MIDI 1-1' [type=kernel,card=1] 0 'VirMIDI 1-1 ' Connected From: 22:0 client 22: 'Virtual Raw MIDI 1-2' [type=kernel,card=1] 0 'VirMIDI 1-2 ' Connecting To: 21:0 client 23: 'Virtual Raw MIDI 1-3' [type=kernel,card=1] 0 'VirMIDI 1-3 ' Connected From: 20:0 root@raspberrypi3-1:~#
my conf file is:
So, I have set up Raveloxmidi to loopback via alsa devices. Raveloxmidi connects to rtpMidi and When I send midi note messages I see them going through Ravwloxmidi. But I don't see them returning through raveloxmidi.
I have also checked that midiTest on Rpi works fine in looback via alsa but messages sent don't get through to ravelox (when ravelox and midiTest not configured in loopback) and messages from rtpMidi which show up in ravelox are not received.
Can't you spot the problem. My brain is sore!
Oh and sorry for the font weirdness, couldn't get rid of it.