Chataigne icon indicating copy to clipboard operation
Chataigne copied to clipboard

Audio playback regression in v1.9.17

Open eidetic-av opened this issue 6 months ago • 7 comments

Environment

  • OS: Windows 11
  • Version 1.9.17

Describe the bug Audio playback is choppy & clicks when an audio file is played back on sequences that include references to other sequences.

To Reproduce Playback any audio within a a sequence that contains other sequences.

Expected behavior

Additional context Hi, thanks for developing Chataigne! I have encountered a bug introduced in v1.9.17 that makes audio playback choppy when it is played in a sequence that itself contains other sequences. Playing back the individual sequences themselves is fine, but when adding those sequences to a 'master sequence' and playing that back, all audio (even including audio inside the master sequence) becomes choppy, clicks very frequently and then occasionally causes Chataigne itself to crash.

Here is a video I captured of the problem. And here is a second video of the same noisette file in version 1.9.16. As you can see it plays back smoothly in the previous version.

I have tested this using multiple sound cards, Windows Audio & ASIO and it does persist, so it is not a sound-card specific issue.

Happy to do any further tests or provide more info if necessary.

eidetic-av avatar Jun 04 '25 05:06 eidetic-av

Hello, the first thing to do would be to test with latest stable and latest beta, 1.9.17 is very old

benkuper avatar Jun 04 '25 06:06 benkuper

Sure, I should have been more clear. I discovered this bug using the latest version of Chataigne (1.9.24) and tested older versions to discover it is in 1.9.17 that this bug first appeared.

So I can confirm it still exists in the latest stable version. I can test the beta version later today to confirm it's still there also...

eidetic-av avatar Jun 05 '25 00:06 eidetic-av

btw can't access your videos, the site says I've been blocked

benkuper avatar Jun 06 '25 16:06 benkuper

I've just tested the latest beta version as well as the bleeding edge. I can confirm that the problem is exactly the same. It exists in all versions from 1.9.17 onwards.

I've reuploaded the videos, this time to Google Drive. Here's v1.9.16 working fine.

And here is how it behaves on this PC in v1.9.17+.

eidetic-av avatar Jun 07 '25 04:06 eidetic-av

Can you provide a minimal example to replicate

benkuper avatar Jun 07 '25 07:06 benkuper

Sure, I will be able provide an example file in a week.

eidetic-av avatar Jun 13 '25 06:06 eidetic-av

I also have this issue. Running Mac OS Sonoma 14.6.1 (23G93) and Chataigne 1.9.24.

I can reproduce it. It seems to affect sequences with audio that occur chronologically 2nd in order onwards. At least that's what I first thought.

https://drive.google.com/file/d/11IgIk3itiscWiD5UpAZEaWY6AFHWVs3k/view?usp=sharing

But then I also noticed that the 2nd one would resolve itself and the issue would start from the 3rd onwards very occasionally.

Looking at it more closely, it gets a bit weirder. The next thing I tried was seeing if the issue was to do with start times greater than 0. So I would nudge the sequence along in 20ms increments. And sure enough the glitch occurs. Then I start entering power of 2 values to see if I can locate other points where it comes. So I can pretty reliably clear the issue if I 256ms from the nearest whole second. 512ms also seems to work, though there are sometimes tiny glitches. I also mess around with some other offset values.

https://drive.google.com/file/d/1GqqARohy3Jncumlq03okPmGXSWPctjhX/view?usp=sharing

unclewalter avatar Oct 07 '25 16:10 unclewalter