Replies: 1 comment 3 replies
-
Fluidsynth doesn't actively starts up jack. Merely Jack starts itself (I think there's an option to disable that, but fluidsynth hasn't set it). I don't know about the underlying magic and related Jack commandline logs you're seeing, sry. Regarding fluidsynth, pls. verify that your The line that starts with Usually, a system-wide and user-local EnvironmentFile exists. The exact location is also written in the .service file. It's up to you which to choose. When done configuring, you should always start fluidsynth as a user-service:
I would expect a similar setup procedure for the Jack Daemon (i.e. user service, EnvironmentFiles, etc.). But I have no idea how to configure jack + systemd properly. |
Beta Was this translation helpful? Give feedback.
-
I have a simple arduino-based MIDI instrument connected to a Raspberry PI, running 64-bit Raspberry Pi OS based on Debian 12.
RPi is also connected to a PCM5120 and I followed these instructions to set it up.
I can launch two
ssh
shells to the RPi and run:followed by
in the second shell. This way I can get very low latency when playing the midi instrument.
However I don't seem to be able to figure out how to automatically start any of the two (
jackd
orfluidsynth
) viasystemd
or via some other equivalent mechanism that would let me start the MIDI synthesis automatically.I first managed to get the low latency working on Patchbox OS by running Qsynth, but I would like to get it working on barebone minimal Debian running in headless mode, without any UI.
I saw that Patchbox has something similar to the following contents in
/etc/jackdrc
(below I wrote the options that I though I needed myself):If I don't start
jackd
upfront,fluidsynth
does seem to attempt startingjackd
, but something weird starts going on. In particular I don't quite understandexec of JACK server (command = "#!/bin/sh") failed: No such file or directory
. AndCannot connect to server socket err = No such file or directory
also doesn't help me much.I tried starting
jackd
with a service like the one I found here, but there are two problems:/usr/bin/jack_control start
completely ignores the parameters from/etc/jackdrc
(I assume I need to configurejackd
elsewhere?)/usr/bin/jack_control
refuses to work when run asroot
, but addingUser=myusername
under[Service]
doesn't seem to help eitherDebian comes with a ready-made systemd file for
fluidsynth
. I can edit/etc/default/fluidsynth
to pass the correct parameters, but I don't come much further until I'm able to figure out how to get thejackd
working properly/automatically.Beta Was this translation helpful? Give feedback.
All reactions