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

Change amplitude example to output values in dB #16

Open
sandeepmistry opened this issue Apr 17, 2019 · 6 comments
Open

Change amplitude example to output values in dB #16

sandeepmistry opened this issue Apr 17, 2019 · 6 comments

Comments

@sandeepmistry
Copy link
Contributor

Suggestion from @tigoe.

@ashutoshshrm529
Copy link

@sandeepmistry could you please elaborate on this? What unit does the output show currently?

@MisterAwesome23
Copy link

I would like to fix this issue. Is anyone on it already?

@per1234
Copy link
Contributor

per1234 commented Mar 21, 2020

@MisterAwesome23 there is an existing pull request to fix this:
#24
Feel free to test it out and review it.

@MisterAwesome23
Copy link

I feel it can be improved minutely.

  • No need to use abs(), two reasons, technically sound can be negative decibels also, the amplitudeAnalyzer.read() should ideally return a non negative value so no need of abs()

Should I create my own pull request or suggest the changes there?

@per1234
Copy link
Contributor

per1234 commented Mar 22, 2020

@MisterAwesome23 I think it would be best to start by suggesting your changes on the existing pull request. The reason is that it is more convenient for the repository maintainers to have only a single pull request to review and merge, rather than having to evaluate two different PRs to decide which should be merged and which closed.

If there is a situation such as you and the PR author having differences of opinion, then it would be great if you would submit a PR.

Thanks!

@MisterAwesome23
Copy link

Sure. Makes sense to keep a single pull request. I'll suggest my changes there. Thanks :)

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

4 participants