Getting amplitude from opusStream
Hey Guys. I am trying to get an amplitude or volume from an opus stream. I would like to figure out if a person is yelling or whispering.
No idea where to start. I tried using OpusEncoder.decode with data from opusStream but i don't get any usable information out of it.
6 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
this isn't something you would do with djs/voice or even prism-media
and for reference, decode just outputs a pcm stream
Yes i know
I tought i would be able to get the amplitude from the buffer data the pcm stream outputs
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Thank you that's a good idea. Any idea how i would do this to a live pcm stream?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View