Hello,
I am using the Zynthian mainboard with Raspberry Pi OS. My goal is to use the Sfizz audio engine to build a custom sampler with my own workflow. So far I managed to get everything running and Sfizz is successfully playing my samples.
However, I noticed an annoying issue that I haven’t been able to solve.
Whenever I trigger a sample, I hear a click at the beginning of the sound. This is not caused by the sample itself (there is no click in the sample and it’s not related to the attack parameter).
Another click also occurs about 1–2 seconds after I release the note and stop playing.
If I keep playing continuously, the click does not occur. It only happens when I stop playing and wait around 2 seconds. When that happens, the next sample I trigger will again start with a click.
It almost feels as if the audio output of the board is going into some kind of idle state and then “wakes up” suddenly, producing the click.
Since Zynthian also uses Sfizz, I was wondering if anyone here might have an idea what could be causing this. I’m not sure if this could be related to JACK, the audio driver, or the Zynthian mainboard hardware.
I also did a small experiment:
I created an audio file with 3 seconds of silence followed by a sample. When the silent part starts there is no click. The click only appears when the actual audio begins.
Also, the click that happens after I stop playing does not depend on the sample ending. Even if the note is still held but the sample becomes completely silent, the click still happens after a short delay.
So essentially, I only avoid the click if there is always some audio signal going through the sound card. When the output becomes silent for a moment, the click appears again.
Has anyone experienced something similar or knows what could be causing this?
Thanks!