Il giorno ven 3 ott 2014 alle 19:45, Tito Latini <tito.01beta@gmail.com> ha scritto:
I don't use systemd so I cannot test it, however the file used by archlinux is https://projects.archlinux.org/svntogit/packages.git/tree/trunk/fluidsynth.systemd?h=packages/fluidsynth If the rule "After=sound.target" implies "start fluidsynth after the start of the audio server", it should work. If you want to use a config file for the environment variables, a template/example is https://projects.archlinux.org/svntogit/packages.git/tree/trunk/fluidsynth.conf?h=packages/fluidsynth so `-a jack' if you use jack and `-m jack' if you use jack midi, etc. fluidsynth -a help fluidsynth -m helpRequested a period size of 64, got 940 instead [...] Requested 16 periods, got 8 insteadProbably the correct parameters with `-a alsa' (no jack, no pulseaudio, etc) in this case are fluidsynth -is -a alsa -r 48000 -z 1024 -c 8 because I presume 940 is "1024 * 44100 / 48000".