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

Audio scaling problem #7

Open
Koalllla opened this issue Apr 17, 2024 · 0 comments
Open

Audio scaling problem #7

Koalllla opened this issue Apr 17, 2024 · 0 comments

Comments

@Koalllla
Copy link

I use a Raspberry Pi and a HiFiBerry DAC + ADC pro to do some test on audio. There is no Auto Gain Control on the HiFiberry so this shouldn't be the problem. I need to simultaneously play a sine wave and record it at the input via a loopback. I am able to record the signal but the signal is significantly higher than what I send in. When i send a sine wave with max value of 1 I get a max of 1.395 and when plotted it seems the entire signal is higher than what I send out. I do need an exact copy of what I get at the input because I need to do gain calculation and manually scaling isn't something I can do. I will attach the code if someone wants to look at it. Has anyone else ran into this?
test.txt

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