[![Component Registry](https://components.espressif.com/components/espressif/pwm_audio/badge.svg)](https://components.espressif.com/components/espressif/pwm_audio) # Component: pwm_audio [documentation](https://docs.espressif.com/projects/esp-iot-solution/en/latest/audio/pwm_audio.html) The PWM audio function uses the internal LEDC peripheral in ESP32 to generate PWM audio, which does not need an external audio Codec chip. ## Features - Allows any GIPO with output capability as an audio output pin - Supports 8-bit ~ 16-bit PWM resolution - Supports stereo - Supports 8 ~ 48 KHz sampling rate [Here](https://github.com/espressif/esp-iot-solution/tree/master/examples/audio/wav_player) is a simple player example that uses PWM to output audio.
a4fdf46f42e57aa20521159dab5146fc511142a4
idf.py add-dependency "espressif/pwm_audio^1.1.2"