Created
January 4, 2021 05:09
Revisions
-
monkut created this gist
Jan 4, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ #! /bin/sh # rasbian # add the following line to /etc/rc.local above the "exit 0" line to start on boot # /home/pi/autostartsynth.sh & killall fluidsynth # set sound export DESIRED_SOUNDFONT=/usr/share/sounds/sf2/FluidR3_GM.sf2 # start fluidsynth with desired sound fluidsynth -si -p "fluid" --audio-driver=alsa --gain 5 ${DESIRED_SOUNDFONT} & sleep 10 # auto-connect midi python /home/pi/scripts/connectmidicontroller.py