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

builtin sound: frequency distortion #2

Open
asheplyakov opened this issue Apr 7, 2021 · 1 comment
Open

builtin sound: frequency distortion #2

asheplyakov opened this issue Apr 7, 2021 · 1 comment

Comments

@asheplyakov
Copy link

Steps to reproduce:

  1. Connect speakers (or a headset) to the builtin audio output
  2. Play 440 Hz sine wave (for instance from https://www.youtube.com/watch?v=xM6cFKJRl4s)
  3. Record the sound on another computer, measure the frequency with a (software) tuner (such as https://github.com/ibancg/lingot) or oscilloscope
  • Expected result: measured frequency is 440 Hz
  • Actual result: measured frequency is 468 Hz
@ValdikSS
Copy link

Hardware issue, likely won't get workaround in software.

asheplyakov added a commit to asheplyakov/linux that referenced this issue Jun 28, 2022
* dw_i2s_probe: request all IRQs specified in device tree
* dw_i2s_startup: set the correct DAI clock frequency

Note that the sound frequency is distorted (i.e. playing 440 Hz
sine wave results in 467 Hz), for more details see

edelweiss-tech/kernel#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants