[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] What is MIDI driver?
From: |
Nikolay Shaplov |
Subject: |
Re: [fluid-dev] What is MIDI driver? |
Date: |
Sun, 13 Feb 2022 18:32:49 +0300 |
В письме от воскресенье, 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] What is MIDI driver?, Nikolay Shaplov, 2022/02/13
- Re: [fluid-dev] What is MIDI driver?, Orm Finnendahl, 2022/02/13
- Re: [fluid-dev] What is MIDI driver?, Nikolay Shaplov, 2022/02/13
- Re: [fluid-dev] What is MIDI driver?, Orm Finnendahl, 2022/02/13
- Re: [fluid-dev] What is MIDI driver?,
Nikolay Shaplov <=
- Re: [fluid-dev] What is MIDI driver?, Orm Finnendahl, 2022/02/13
- Re: [fluid-dev] What is MIDI driver?, Nikolay Shaplov, 2022/02/13
- Re: [fluid-dev] ?==?utf-8?q? What is MIDI driver?, Ralf Mattes, 2022/02/13
- Re: [fluid-dev] ?==?utf-8?q? What is MIDI driver?, Marcus Weseloh, 2022/02/13
- Re: [fluid-dev] ?==?utf-8?q? What is MIDI driver?, Nikolay Shaplov, 2022/02/14
- Re: [fluid-dev] ?==?utf-8?q? What is MIDI driver, Ralf Mattes, 2022/02/14
- Re: [fluid-dev] What is MIDI driver?, Nikolay Shaplov, 2022/02/14
- Re: [fluid-dev] What is MIDI driver?, Marcus Weseloh, 2022/02/14
- [fluid-dev] Small fast-start platform, Ben Gonzales, 2022/02/18
- Re: [fluid-dev] Small fast-start platform, Bill Peterson, 2022/02/18