Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Audiokit v2.2 #87

Answered by pschatzmann
NaufalAzel asked this question in Q&A
May 22, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

I suggest that you use the AudioTools API instead of this. There you can get the max amplitude with the help of the VolumeOutput class and you can apply your db conversion formula to this.

If you want to stick to this API, I still recommend that you read the AudioTools Introduction Wiki. There it is explained how to access the values: hint use uint8_t instead of int16_t values.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@NaufalAzel
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
2 replies
@NaufalAzel
Comment options

@pschatzmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants