ISSUE: Can't see MIDI input for sfizz_jack
computerchemist opened this issue · 1 comments
Raspian OS with a Raspberry 2B. Linux raspberrypi 5.15.32-v7+ #1538 SMP Thu Mar 31 19:38:48 BST 2022 armv7l GNU/Linux
Compiled sfizz from github using the build guide with these flags: cmake .. -DSFIZZ_LV2=OFF -DSFIZZ_LV2_UI=OFF -DSFIZZ_VST=OFF -DSFIZZ_RENDER=OFF
Using this guide I am (naively?) expecting to see a MIDI input channel when sfizz_jack is running using aconnect, I cannot see anything from sfizz_jack. Here are my commands, can somebody explain what I am doing wrong - or is this a bug? What do I need to do in order to join the MIDI output from ttymidi to sfizz_jack?
ttymidi -s /dev/ttyAMA0 -b 38400 -v &
jackd -r -d alsa -r 44100&
sfizz_jack --jack_autoconnect --state=true --num_voices 8 mellotron/MkIIQuad-Combo\ -\ FSGC.sfz
at this point I am expecting to see a MIDI input from sfizz_jack to join to the ttymidi output using aconnect. But this is all I get:
pi@raspberrypi$ aconnect -loi
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 128: 'ttymidi' [type=user,pid=1365]
0 'MIDI out '
1 'MIDI in '
I can see that JACK appears to be successfully talking between sfizz and the system output, so I know it is all running from an audio stream perspective:
pi@raspberrypi$ jack_lsp -c
system:playback_1
sfizz:output_1
system:playback_2
sfizz:output_2
system:playback_3
system:playback_4
system:playback_5
system:playback_6
system:playback_7
system:playback_8
sfizz:input
sfizz:output_1
system:playback_1
sfizz:output_2
system:playback_2
How can I enable and join the MIDI input?
solution was to use a2j_control to make a bridge between JACK and ALSA MIDI, if anybody runs into this same problem. closed, as it was newbie error.