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

Provide API to return float values for amplitude instead of int #69

Open
FilippoVigani opened this issue Jan 24, 2024 · 0 comments
Open

Comments

@FilippoVigani
Copy link

Is your feature request related to a problem? Please describe.
I'm having issues with low volume audio files, where most of the audio results with an amplitude of 0 or at most 1, so when I draw the wave I can only see dots or in case of a value of 1 a bar spanning the whole height (there are no in-betweens).

Describe the solution you'd like
I would like to be able to get float values instead of int in ranges 0-100 so I can be more precise when drawing the wave, and values aren't coerced to 0 or 1 in case of low volume. That way if values were like 0.001, 0.004, 0.006, the resulting would still result in non-zero height bars.

Describe alternatives you've considered
I can't think of any alternatives.

Additional context

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