Hello, I’m new here,
I discovered Zynthian not so long ago but have been spending a lot of time on it the last couple of week and have to say how much I appreciate it !
This being said,
I am trying to use my Soundcraft UI24r which is only 48000 capable. But when I use it I experience a sound crack precisely every second (No Xrun messages in the UI Log).
So I used a soundcard both 44100 and 48000 capable (Rubix22) the sound is perfect and the instrument (PianoTeq Steinway D) is perfectly in tune (tested on my Korg Rack tuner) using a sample rate of 44100 but whenever I use a sample rate of 48000, the instrument is out of tune (no cracks though).
I figured that there was no resampling done.
I found this thread online discussing Jack resampling issues
In summary, Jack doesn’t care what sample rate is specified if the sound card is not capable of the requested sample rate and will fallback to the one supported by the sound card without resampling.
A solution is to use the dummy driver and route the sound to zita-a2j or alsa_in/alsa_out.
First problem here is that zita-a2j/zita-j2a fails to start with segmentation fault.
Second problem is that if I use the dummy driver zynthian fails to starts, using this :
jackd -d dummy -r 44100
have to use the Dummy preset which uses the alsa driver pointing to a dummy device.
So I used that dummy preset and created the two alsa_in/alsa_out like this:
alsa_in -j USB_in -d hw:CARD=Rubix22 -r 48000 & alsa_out -j USB_out -d hw:CARD=Rubix22 -r 48000 &
But I never managed to route the sound from jack to alsa_in/alsa_out as described
here
Because there is no jack sink from which I could patch to my USB_in and USB_out (probably because zynthian uses jack and not jackdbus ??)
Could somebody help me to figure out how to use a 48000 sample rate without affecting the tune nor experiencing cracks ?
Thanks a lot !