-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fluidsynth not automatically recognized as a virtual midi port #115
Comments
Additional info: ports are listed under PipeWire when running midiprobe. Displaying ports for: ALSA (raw) Displaying ports for: JACK Displaying ports for: PipeWire
Displaying ports for: Dummy |
hm, ALSA exposes a |
Can you check if it works for you now ? |
I pulled the latest 4.x and compiled the examples but it was the same behaviour as previously: fluidsynth port does not appear on the list unless I set .track_any=true in the observer. I will learn how to use the debugger in vscode and hopefully will be able to report more useful info. |
Is track_virtual enabled ? it's off by default: https://github.com/celtera/libremidi/blob/master/include/libremidi/observer_configuration.hpp#L73 |
Ok, my bad: I was not aware track_virtual was default false. With the parameter set to true, it is now listing fluidsynth as expected :-) Another good reason for setting configuration from the commandline instead of prompting when considering issue #114. |
👍 I'll close this one and add an issue to turn input as command-line arguments |
I start fluidsynth as a server, aconnect commands shows the port is open. When listing the ports using observer.get_output_ports(), fluidsynth port is not listed unless the observer is configured with .track_any=true. I would expect it is not necessary to set .track_any=true in this case as alsa recognize fluidsynth as a virtual port.
Steps to reproduce on ubuntu 23.04:
$ sudo fluidsynth -a alsa -m alsa_seq -o audio.alsa.device=hw:1 -is
$ aconnect -lo
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 128: 'FLUID Synth (76540)' [type=user,pid=76540]
0 'Synth input port (76540:0)'
$ ./build/midiout
Would you like to open a virtual output port? [y/N] NN
No output ports available!
The text was updated successfully, but these errors were encountered: