Forums
-
Create a new session without a template.
-
Create a track.
-
Import audio.
-
Select the clip.
-
Set the clip to loop.
The audio becomes inconsistent, randomly appearing and disappearing.
- Insert an audio plugin into the track.
The problem disappears.
re. Bug detected:...
there must be something else to it!
could not repro.
anybody?
nothing unusual detected
Recent Qtractor from GitHub, genuine jackd.
Maybe it's a Pipewire oddity.
Perhaps related to compressed audio formats
I had similar problems before (about a year or two ago) with FLAC formats and stopped using them.
This was OGG. I'm slowly creating loops and other resources for myself, and also for the possible distribution of Qtractor with preset samples and more...
I've attached an example file.
PD:
I just checked, and if I shorten the range, it also disappears. Also if I stretch the clip out of range (no capitals).
It also appears if I export the same OGG file (or merge it as a WAV), but it doesn't happen with other WAV files... it's very strange.
I'm sure you'll also see the error with that file. It was created with a clean Qtractor configuration, intentionally reset. The problem appears in both compiled Qtractor and AppImage.
re. Perhaps related to compressed audio formats...
nope, sorry to tell, not seeing (nor hearing) any issue on the error.qtz, nor in either of individual audio files alone.
weird
ps. tested on pipewire and jackd2.
buffer size dependant
With jackd and big buffer sizes (>= 2048) I get some hickups when the loop jumps to the beginning.
So it's something wrong with my computer...
Thanks to both of you for checking it out
PS:
I have a Linux Mint installation for testing, and it works well there.
PS2:
I was wrong, it does appear in Mint, but it takes longer to appear and is smaller.
Anyway, if you don't notice it, I'll consider it closed.
re. something wrong with my computer...
I wouldn't dismiss or close the case so fast...
might be something in your computer(s), yes but also something in your system and/or custom settings or configuration that might be of interest to identify.
seeya
The culprit has been found
The problem occurs with PipeWire sample rates above 256.
@bluebell hit the right note. Apparently, Jack needs higher sample rates to appear.
re. culprit has been found...
sample rates? or is it buffer-sizes ("quantum" in PW parlance)?
@bluebell spoke about "big buffer size"s above 2048 (frames/period) not sample rates :S
Sorry for the mix-up...
I meant "buffer size"/Quantum, right, I got the terms mixed up while typing, not while reading and understanding... XD.
I stand by my statement. Apparently, @Bluebell also notices it in Jack, but with much higher buffer sizes.
In PipeWire it manifests from 512 (frames/period) upwards, at least in my configurations..
re. Sorry for the mix-up...
nope, here after doing
pw-metadata -n settings 0 clock.force-quantum 512and
pw-metadata -n settings 0 clock.force-quantum 1024nothing strange happens, that meaning business as usual.
however,
pw-metadata -n settings 0 clock.force-quantum 2048is a dang showstopper: can't get it to playback even at all, but that's probably due on my PW configuration having this property
default.clock.max-quantum = 2048so I wouldn't complain :)check your pipewire.conf (and jack.conf) then, I'd suggest.
byee
maybe CPU power
It might be an issue on slow CPUs only. Jumping back to the beginning of the loop seems to have to decode part of the compressed audio file (more with big buffer sizes) in no time.
re. maybe CPU power
Probably. If anyone else encounters this problem, we already know the solution. It's simple.
Lower the buffer size.
Or extend the clip's duration; this seems to increase the sample size to be loaded, making it sufficient to prevent the issue.
Or insert an audio plugin... which apparently calculates the buffer size for the entire track.
At least those are the explanations my head comes up with for why the error doesn't occur that way :)
with and without latency compensation
Does the plugin report a latency? If yes, could you try with and without latency compensation (checkbox in the track's menu, the plugins tab).
fixed 64frames resolution
https://www.rncbc.org/drupal/index.php/node/2829
"ALL internal processing (within qtractor premises that is), plugins and looping included, is frame/sample accurate; automation being the exception as it runs on a fixed 64frames resolution (or even less, if the period buffer-size is insanely shorter than that)."
If I increase the clip duration by just 23 frames (the minimum allowed), exceeding the range limit, the problem disappears.
It might be a rounding error, resulting in an empty sample space.
As I mentioned, it's not important, but... it doesn't hurt to point it out.
It might also be related to the desynchronization (although that disappeared with a generic kernel on my machine) of audio tracks in loops...
PS: Sorry, I misunderstood. Everything syncs to 1 frame, except for automations, which run at 64 frames.
It can't be a rounding error then.
Add new comment