IoTBits / ESP32_SGTL5000_driver

Driver library for the NXP SGTL5000 I2S audio codec IC. IoTBits AudioBit is the officially supported codec board for this driver.
http://iot-bits.com/audiobit
42 stars 7 forks source link

Audio recording capabilities #2

Open kryvosheiaivan opened 6 years ago

kryvosheiaivan commented 6 years ago

Hello! Tell me please, can audio recording be implemented on AudioBit board? I mean, is it possible to connect microphone to the board, configure all that needed and then save the audio file somewhere. After all, the audio file I would like to transfer through the Internet to some server.

IoTBlocks commented 6 years ago

Yes, the board has built-in microphone bias for condenser microphone with analog and digital volume control. You can then read the mic data via I2S at any bit depth/sampling rate you want. You can even mix that up with LINE IN or audio out. The codec has built-in DSP for all this so that the MCU does not have to do it. You can finally just store/webstream the resulting final I2S data coming from the AudioBit.