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

Is the returned value correct? #2

Open
FaisalJulaidan opened this issue Feb 19, 2019 · 2 comments
Open

Is the returned value correct? #2

FaisalJulaidan opened this issue Feb 19, 2019 · 2 comments

Comments

@FaisalJulaidan
Copy link

I am running my application on iPhone 6. You said in the documentation that the silence level is -160 so what I did is just add 100 to my value to start from 0.

However i am still getting a higher value from real life. I downloaded an app from the app store that does the same thing, and that app returns a value of around 50 dB while in my app I got about 100 dB?? I just wanna make sure is the value returned accurate and I can rely on it? So I tired a different application to measure noise level on the same phone but still getting unrealistic values but this library compared to other the other application.

@punarinta
Copy link
Owner

@FaisalJulaidan, if you get values over 0 dB this means your system additionally amplifies the signal. This is usually the case for desktop OS, but may be a feature in the newer versions of mobile ones, I haven't checked that.

At the screenshot I've attached you can see a 100% mark that corresponds to a 0 dB level, it basically defines your maximum. Usually you can adjust or switch overamplification off.

screenshot from 2019-02-20 16-41-18

@punarinta
Copy link
Owner

Here we discussed a similar issue a little bit more in details: #1

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