Microphone sensitivity in ST IoT Discovery kit

Question/Issue:
When running the Audio Classification tutorial, the audio recording from the ST IoT Discovery kit is very quiet. How can I increase sensitivity? The same project built using the Arduino Nano 33 BLE Sense kit had very good audio capture.

Project ID:
757981

Context/Use case:
When recording audio data to create training data

Steps Taken:

  1. [Step 1]
  2. [Step 2]
  3. [Step 3]

Expected Outcome:
Normal audio data capture

Actual Outcome:
Very quiet audio capture

Reproducibility:

  • [ ] Always

Environment:

  • Platform: ST IoT Discovery kit
  • Build Environment Details: [e.g., Arduino IDE 1.8.19 ESP32 Core for Arduino 2.0.4]
  • OS Version: Ubuntu 22.04

Hi @DJE666

Great question, if you want to edit the volume for the microphone you can do so in the public firmware for your devkit here:

#define AUDIO_VOLUME_VALUE 32

If this does prove useful please share and we can see about update that in the repo so it builds by default cc @Arjan

Best

Eoin

Hi Eoin,

Thanks for the rapid reply. I’ll test this and report back.

TTFN,

DJE666

Hi Eoin,

Well I tried…really hard, but the tools installation to rebuild the Discovery-IoT board is a misery.

MBED and the GNU tools just wont play on my Ubuntu 22,04 machine. :frowning:

I’ll have to stick to a low sensitivity microphone.

DJE666