Skip to content

Channel volume levels reading in real-time #921

Answered by schreibfaul1
cniedzi asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can regularly query getVUlevel(). A uint16_t is returned where MSB is the left channel and LSB is the right channel. (Values between 0...127)
uint16_t vu = audio.getVUlevel();
uint8_t l = vu >> 8;
uint8_t r = vu & 0x00FF

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@cniedzi
Comment options

@schreibfaul1
Comment options

Answer selected by cniedzi
@cniedzi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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