Clicking/glitching sound when set_speed is higher or lower than `1.0` using opus

Open
#917 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
rust

Research direction

The payload names only the set_speed playback path and the Opus decoding via symphonia-libopus, plus a linked commit, 6a2f1ae, that the reporter traces the regression to. Start by reproducing the click with a Opus file at speeds other than 1.0 and comparing against the linked commit. The payload names no specific file or test, so the fix location is not known from the issue alone. Done would mean the click no longer appears at non-1.0 speeds on the reporter's songs.

Written by the indexing model from the issue text.

Description

I'm using Master branch and with symphonia-libopus since as far as I can trace this commit:

https://github.com/RustAudio/rodio/commit/6a2f1ae6c7169e6c190ba767567421c9fe5c2f48

There is a clicking sound when speed is not at 1.0. However, it seems the clicking does go away if the speed is dropped enough (song dependent).

Some songs click at 1.0 but most don't.

Here is an example recorded using the current HEAD commit: c5f1e94290922fe4ee963ce6f85754ea6ba36243

https://github.com/user-attachments/assets/a08864d1-9b13-40d6-a1ef-56f362db6c62

Here is an example using my AGC branch that has since been merged: Link

https://github.com/user-attachments/assets/6fb2fbf4-bed4-4822-a412-fabeb2672352

Dominant language
Rust
Stars
2.5k
Forks
338
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RustAudio/rodio

All issues in RustAudio/rodio

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.