В письме от понедельник, 14 февраля 2022 г. 12:46:19 MSK пользователь Nikolay Shaplov написал:
> > > that parameter ist for the alsa_sequencer backend to name the > > > _fluidsynth_ > > > input port. > > > > That is correct. The --portname parameter sets the name of the > > sequencer port. To control which device to use for an alsa_raw driver, > > you need to specify the "midi.alsa.device" setting. E.g. > > > > fluidsynth .. -m alsa_raw -O "midi.alsa.device=hw:1,0,0" ... You need to use lower case "o", as I figured out. This works: fluidsynth -a pulseaudio -m alsa_raw -g 10 -r 48000 -o "midi.alsa.device=hw:1,0,0" /usr/share/sounds/sf3/default-GM.sf3 Though I should say it is totally counterintuitive. No user would guess how to solve "open /dev/snd/midiC0D0 failed" problem. No wonder google does not provide any examples of alsa_raw usage. Nobody managed that :-) I would add this example to FluidSynth wiki so there were at least one proper place that have workable example. I would also suggest developers to update man and --help to cover this issue, and may be add separate options for specifying device, when using alsa_raw. As a user I would expect to have such option. -- 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