Skip to content
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

Click / pop / crackle sound on pitch changes after key reset #10450

Open
mixxxbot opened this issue Aug 23, 2022 · 5 comments
Open

Click / pop / crackle sound on pitch changes after key reset #10450

mixxxbot opened this issue Aug 23, 2022 · 5 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: ubuntu-linux-user
Date: 2021-06-27T10:35:08Z
Status: Confirmed
Importance: High
Launchpad Issue: lp1933756
Attachments: [Demo sound to reproduce the problem (sine wave at 440Hz)](https://bugs.launchpad.net/bugs/1933756/+attachment/5507433/+files/Demo sound to reproduce the problem (sine wave at 440Hz))


Problem:
A click / pop / crackle sound is introduced whenever the key crosses the original key of the track on non-zero pitch.

Steps to reproduce the problem:

  1. Load the attached sample (a constant 440Hz sinus wave)
  2. Change the pitch to position p = +0.5% (any non-zero value will do)
  3. Reset the key (e.g. Right click on the key symbol on LateNight skin)
  4. Play the track and move the pitch slider around p.

Effect: Whenever the slider crosses p, a click / pop / crackle sound is introduced.

This behavior is particularly problematic in combination with vinyl control: an analog record introduces a continuous pitch variance of a few 0.0x% (at least on my machine). When the key is reset, this leads to heavy click noise, because the pitch continuously goes below and above p.

The problem does not occur when pitch is set to zero.

The problem is independent of the Pitch-Bend-Engine, it occurs with Soundtouch as well as with Rubberband. It occurs on a Windows notebook and a Linux desktop machine with different hardware, so I guess it is not a driver issue.

Environment:

  • 2.3-beta-3981-g54652f2248 / Windows x64
  • 2.3-beta-4146-g827c82dde / Linux x86_64 (Ubuntu)
@mixxxbot
Copy link
Collaborator Author

Commented by: ubuntu-linux-user
Date: 2021-06-27T10:35:08Z
Attachments: [Demo sound to reproduce the problem (sine wave at 440Hz)](https://bugs.launchpad.net/mixxx/+bug/1933756/+attachment/5507433/+files/Demo sound to reproduce the problem (sine wave at 440Hz))

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2021-06-28T07:58:24Z


A fix is here:
#4030

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2021-09-30T06:29:24Z


Unfortunately the fix introduces the risk for an underflow due to the double amount of CPU which is worse because it affects all decks.

I don't see a chance to fix this in a dot release. I am afraid this issue needs to be solved within soundtouch and rubberband.

@mixxxbot
Copy link
Collaborator Author

Commented by: ubuntu-linux-user
Date: 2021-12-07T08:42:07Z


According to #4030 (comment) this issue should be discussed upstream at

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@git-developer
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants