Audio ADC Core¶
The audio_adc component allows your ESPHome devices to use audio ADC hardware components, allowing the capture/recording of audio via the microcontroller from a range of sources.
# Example configuration entry
audio_adc:
- platform: ...
Platforms¶
Configuration variables:¶
id (Optional, ID): Manually specify the ID used for code generation.
Automations¶
audio_adc.set_mic_gain
Action¶
This action sets the (microphone) gain of the ADC.
Configuration variables:
id (Required, ID): The ID of the
audio_adc
platform.mic_gain (Required, percentage, templatable): The desired gain level in decibels for the input.