Skip to content

Music Leds | Sound Reactive

Music Leds / Sound Reactive

esp32_arduino

Ported Sound Reactive from WLED to ESPHome

Configuration

external_components:
  - source:
      type: git
      url: https://github.com/andrewjswan/esphome-components
      ref: main
    components: [fastled_helper, music_leds]
    refresh: 60s

fastled_helper:
  music_leds: true

i2s_audio:
  i2s_lrclk_pin: GPIO15
  i2s_bclk_pin: GPIO14

microphone:
  - platform: i2s_audio
    id: adc_mic
    adc_type: external
    sample_rate: 10240
    bits_per_sample: 32bit
    i2s_din_pin: GPIO32
    channel: right

music_leds:
  id: music_light

light:
  - id: !extend neopixel_led
    effects:
      - music_leds_effect:
          name: Grav with Music
          mode: GRAV

ESPHome package