[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] how to correctly install fluidsynth as a service?
From: |
JPT |
Subject: |
Re: [fluid-dev] how to correctly install fluidsynth as a service? |
Date: |
Sun, 15 Mar 2020 13:04:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
Am 13.03.20 um 13:51 schrieb Tom M.:
> Regarding A), it would be worth to run fluidsynth for the current user,
> rather than an extra user.
In case anybody is searching for a clean solution.
I did so and it works fine.
I added the below file to KDE auto-start.
Keep in mind that this is not perfect and might need some adjustment.
you can test it be starting from the KDE menu.
cat ~/.local/share/applications/fluidsynth.desktop
[Desktop Entry]
Type=Application
Version=1.0
GenericName=Midi Synthesizer
Name=Fluidsynth
TryExec=/usr/bin/fluidsynth
Exec=/usr/bin/fluidsynth --no-shell --server --audio-driver=pulseaudio
--midi-driver=alsa_seq --sample-rate 44100 -o synth.cpu-cores=2
/usr/share/sounds/sf3/FluidR3Mono_GM.sf3
# for debug add --dump remove --no-shell
# if you need more midi channels, add --midi-channels=
# for less background CPU use add --chorus 0 --reverb 0
# check the soundfont exists
Categories=Multimedia;System;
StartupNotify=false
X-GNOME-Autostart-Delay=60
Terminal=false
#for debug: true