As soon as I have a moment, I’ll compile and test it.
Regarding issue 1... it’s still there.
Switching to a standard kernel helped, but the problem persists.
If you reduce the Quantum to 128, it seems not to happen—but working at that setting is madness, at least on my machine. I suppose the margin is so small that desynchronization can’t occur, or perhaps it’s because the packets are smaller.
It’s as if, upon engaging the loop, samples from certain tracks that don’t fit into the current cycle spill over into the next one.
1_
I set it up this way (in an extreme manner) to demonstrate it... but simply pressing the transport loop button is enough to trigger it. I was working with a Quantum setting of 512.
2_
Muting a track, or setting it to "solo," can either fix or exacerbate the issue.
3_
Once the desynchronization occurs, it persists even after you disable the loop.
@bluebell also reported this; their workaround was to automate the mute function at the end of the loop. This suggests the issue isn’t exclusive to PipeWire.
If you don’t touch the transport’s mute button, everything works fine—but the moment you press it, you’re better off reloading the session before performing a final audio export.
Generally speaking, it’s harmless; however, I made some live recordings—using a stereo microphone for ambient sound and an instrument, and a mono input for vocals—where the phase cancellations caused by this desynchronization were both noticeable and problematic.
_
Looking for other potential causes:
Are sample rate conversions always applied, or only when necessary? In this case, they weren’t needed.
Given that it only happens when the loop is active, I’d take a look at the loop processing flow—to see what might be going on.
As soon as I have a moment, I’ll compile and test it.
Regarding issue 1... it’s still there.
Switching to a standard kernel helped, but the problem persists.
If you reduce the Quantum to 128, it seems not to happen—but working at that setting is madness, at least on my machine. I suppose the margin is so small that desynchronization can’t occur, or perhaps it’s because the packets are smaller.
It’s as if, upon engaging the loop, samples from certain tracks that don’t fit into the current cycle spill over into the next one.
1_
I set it up this way (in an extreme manner) to demonstrate it... but simply pressing the transport loop button is enough to trigger it. I was working with a Quantum setting of 512.
2_
Muting a track, or setting it to "solo," can either fix or exacerbate the issue.
3_
Once the desynchronization occurs, it persists even after you disable the loop.
@bluebell also reported this; their workaround was to automate the mute function at the end of the loop. This suggests the issue isn’t exclusive to PipeWire.
If you don’t touch the transport’s mute button, everything works fine—but the moment you press it, you’re better off reloading the session before performing a final audio export.
Generally speaking, it’s harmless; however, I made some live recordings—using a stereo microphone for ambient sound and an instrument, and a mono input for vocals—where the phase cancellations caused by this desynchronization were both noticeable and problematic.
_
Looking for other potential causes:
Are sample rate conversions always applied, or only when necessary? In this case, they weren’t needed.
Given that it only happens when the loop is active, I’d take a look at the loop processing flow—to see what might be going on.