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

pico_audio_pwm - How does noise shaping work? #74

Open
NNNILabs opened this issue May 21, 2024 · 0 comments
Open

pico_audio_pwm - How does noise shaping work? #74

NNNILabs opened this issue May 21, 2024 · 0 comments

Comments

@NNNILabs
Copy link

In samples_encoding.cpp, there is a section that is defined out (lines 309 - 382) that seems to describe noise shaping implemented using the RP2040 interpolator.

I was unable to find a reference to what the function interp_configure_with_signed_and_cross_result in line 324. I understand that it has something to do with interpolator configuration, but I am not sure which function parameters correspond to which control/base/accumulator registers.

Since the comments are rather sparse, I am finding it difficult to understand how exactly the noise shaping is happening.

I would be grateful if some light could be shed on how this works.

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

1 participant