Hi Srijan

I use the the following options and it works well on my Rpi:
fluidsynth --server --no-shell --audio-driver=alsa -o audio.alsa.device=hw:$CARDNO --load-config=$CONFIG --portname="$SYNTHPORT" &>/tmp/fluidsynth.out &

$CARDNO and $SYNTHPORT re variables I set.

Any reason you're running it sudo? I run as pi and it's fine.

If you put the --verbose option in, you can more easily see if there are problems. Maybe there's a problem with the config file syntax??

You can kill the synth with
(sudo) killall fluidsynth

What instrument are you using to control the synth, and what soundcard?

Ben

http://projects.gonzos.net

On 02/02/16 14:11, Srijan Deshpande wrote:
Hello,

I'm using a script to run fluidsynth at boot as a server and without the shell (using -is) on my raspberry pi. I'm also giving it a configuration file using the -f flag.

Fluid synth starts properly and loads the sound font just fine, but whatever I do, it just doesn't load the config file.

My script is like this:
#!/bin/bash
# Script to start FluidSynth & aconnect
echo Attempting to start FluidSynth
sudo fluidsynth -f /home/pi/config.txt -a alsa -is /home/pi/soundfont.sf2 &
sleep 10
aconnect 20:0 128:0

How do I get it to load the config file? Any suggestions?

Another question: In this case, I can only access the fluidsynth shell using telnet. So how do I quit fluidsynth? If I use the 'quit' command, it quits telnet, but fluid synth keeps running!

Thanks!
Srijan


_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to