cmaneu / Azure-Blinking-IoT-Compressor

This repository contains the "Azure Blinking IoT Compressor" workshop.
MIT License
3 stars 1 forks source link

Add support for Audio Sensor #2

Open cmaneu opened 5 years ago

cmaneu commented 5 years ago

The idea is to the integrated microphone to get a decibel level and send it to the IoT Hub

I have issue using the AudioV2 Api (https://microsoft.github.io/azure-iot-developer-kit/docs/apis/audio-v2/).

It seems that we need to use a bit of ELL code transpiled in assembly language to extract volume level from audio frames. I suspect we can do it without this just with the raw audio frame.