-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
audio quality degrades randomly? #26
Comments
I think it's at least sometimes the signal being too hot. so turning down the volume of the input signal should often help this. |
Okay, added input/output gain control in #34, which I'm pretty sure was always the cause of the problem anyway. |
clues:
so these clues lead me to think that it is somehow related to jack, and specifically the audio in part. |
I think the key was changing the jack period to '-n 3' because apparently usb interfaces tend to prefer that. seemed to work...maybe? |
Okay, so it's back to doing it. I had removed the '-s' and it gave me xruns even with just 4 tracks. So then I added back '-s' and eventually the crackling returned. My current best guess: the '-s' softmode option prevents the xruns being reported, which preserves the looper working. but then once the xruns happen, the audio degrades. no idea if this is right but that's my best guess. |
from this link here I think I'm probably correct: xruns cause crackling. so I should increase the -p to 1024, resulting in more latency. |
need to check cpu/ram usage (with https://www.runeaudio.com/forum/tweaking-the-audio-performance-rpi3-t4301-30.html |
when playing with jess, it always happened to us (the fuzziness) when we got to the fourth track (i.e., three saved, playing on the fourth). so possibly it's like jack not processing quickly enough once SL is using more RAM. so I'm gonna guess it's a ram issue? if so, does setting a shorter max_loop_length param decrease memory demands? |
okay, so actually I think it's a CPU issue. as you record more loops in SL, the CPU usage grows (but MEM does not): then, clearing the loops decreases CPU. I did two fixes, which helped me get to four loops without immediate crackling:
|
here's the situation: audio crackling happens when you call jackd with so the reality is, it's best to run jackd with i've tried to run jack with a large buffer size, so |
things to check:
edit: sometimes it was the signal being too hot. but most of the time it's because of silent xruns.
The text was updated successfully, but these errors were encountered: