В письме от воскресенье, 13 февраля 2022 г. 17:58:43 MSK пользователь Orm Finnendahl написал: > > I tried to use it: > > fluidsynth -a pulseaudio -m alsa_raw -g 10 -r 48000 -p midiC1D0 > > /usr/share/ > > sounds/sf3/default-GM.sf3 > > > > and got an error: > > > > ALSA lib rawmidi_hw.c:235:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 > > failed: No such file or directory > > There is an inconsistency between your command and the error message: > If you specify the port "midiC1D0" in your fluidsynth command, the > error should state that "/dev/snd/midiC1D0" is not found (and not > "/dev/snd/midiC1D0"), but that's not the reason that it fails. Sorry, I've misscopied the command line. Should be
fluidsynth -a pulseaudio -m alsa_raw -g 10 -r 48000 /usr/share/sounds/sf3/ default-GM.sf3 it gives ALSA lib rawmidi_hw.c:235:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory ls /dev/snd/midi* shows. /dev/snd/midiC1D0 Passing anything sensible to -p arg does not help, and does not affect error message. crearing symlink /dev/snd/midiC0D0 ->/dev/snd/midiC1D0 helps. > > To debug this you should first look into /dev/snd and check which > mididevices have been created (their names begin with "MIDI*" and the > naming scheme is the card number and its port number, so "MIDIC1D0" is > the first midi port of your second sound card) and use the ones, which > are created in your fluidsynth command. If you don't find any "MIDI*" > in /dev/snd, the driver isn't loaded (and you can load it with the > "modprobe" command in case you know the right driver for the attached > hardware. But normally your distro should do that automatically on > insertion of the USB plug of your keyboard. -- Nikolay Shaplov aka Nataraj Fuzzing Engineer at Postgres Professional Matrix IM: @dhyan:nataraj.su _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev