[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] multiple sound cards
From: |
Josh Green |
Subject: |
Re: [fluid-dev] multiple sound cards |
Date: |
17 Jul 2003 22:47:37 +0200 |
On Wed, 2003-07-16 at 23:54, Garett Shulman wrote:
> Markus, Thanks a lot for you reply. I am still unsuccessfull and was
> wondering if you or anyone else had any suggestions as to how I might
> troubleshoot the problem. I have tried "fluidsynth -a hw:0" and get:
> fluidsynth: error: Couldn't find the requested audio driver: hw:0 Failed
> to create the audio driver. I added an ID option for my sound card in
> modules.conf. This is reflected in /proc/asound. before I saw a link to
> card0 called Live. Now I see emu which is what I put in modules.conf.
> However, "fluidsynth -a emu" gets the same error. "fluidsynth -a alsa"
> works fine however. "fluidsynth -a /dev/snd/pcmC0D0p" also gets the
> error. Any suggestions are greatly appreciated. Thanks again. -Garett
>
It appears that the ALSA audio device is set via the "audio.alsa.device"
settings parameter. So you could set this via the fluidsynth command
line like so:
fluidsynth -a alsa -o audio.alsa.device=hw:1
This would set the audio device to the second sound card I believe. I
think you probably still want to use the ALSA sequencer though "-m
alsa_seq". Once FluidSynth is using the ALSA sequencer you can connect
your MIDI device to FluidSynth via the acconnect utility. Do a "aconnect
-li" to list the input devices (your external MIDI port should be
listed) and then "aconnect -lo" to list output devices (FluidSynth
should be listed). Then you can connect the two ports with a command
like so:
aconnect 64:0 128:0
Which would connect port 64 and 128. I guess you could use the ALSA raw
MIDI driver in FluidSynth, but I don't really see a reason for that,
since the sequencer is so much more flexible. Hope that helps.
Josh