Hi,
I would like a "real time" audio VU meter displayed in the device's web interface, but the dsnoop device is currently used for streaming and recording at the same time. Is there a way to send in a number representing the audio level and that number is displayed as a VU meter green/yellow/red as in some video encoders. Do you guys have any idea how could I implement this? Is it done by a named FIFO?
Is this a good start?
curl --json '{"audioLevel": 3}' \ -H "Content-Type: application/json; charset=UTF-8"
http://127.0.0.1/vumeter
If so, how could I get the in real time from alsa?
Thanks,