Dear Ben, Thank you for your email and sorry about the delayed response. I tried using the syntax you've used, but the problem persists. Everything works except the loading of the configuration file. The funny thing is, if I run the same script manually after boot, the config file loads fine! I tried it with and without sudo, but it just doesn't work.
I have a feeling this has something to do with the way the script is executed. I'm running it by putting its path in /etc/rc.local Do you think that's where the problem could be? Incidentally, the config file I'm using is a tuning file which I'm using to load a specific tuning into fluidsynth. I'm attaching both the script and the config file for your reference. To answer your question, I'm using a korg microkey keyboard controller and a HiFiberry DAC+. I looked at your EWI-Pi project and it looks awesome! This is actually similar to what I'm trying to do. I'm trying to build a similar self-contained instrument capable of playing certain custom tunings. I'm using a keyboard instead of an EWI, of course. Thanks for your help! Srijan On 2 February 2016 at 09:31, Ben Gonzales <b...@gonzos.net> wrote: > 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 > listfluid-dev@nongnu.orghttps://lists.nongnu.org/mailman/listinfo/fluid-dev > > > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev > >
Fluidsynth-Tuning-C
Description: Binary data
start_fluid
Description: Binary data
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev