A wearable ornament that can respond to music (spectrograph mode) or dancing (shaker mode). Based on an Adafruit Circuit Playground Bluefruit
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Spectroshaker

This code for Adafruit Circuit Playgroud Bluefruit makes the RGB LEDs around it behave in one of two modes (determined by the state of the slider switch):

  • Spectrogram mode: LEDs are affected by low/mid/high levels of mic input (i.e. respond to music)
  • Shaker mode: LEDs are affected by x/y/z acceleration (i.e. respond to dancing)

video

Note

lib/teaandtechtime_fft.py comes from the no-itertools fork of Thomas Schucker’s CircuitPython_FFT. It needs to be under the bluefruit’s lib/ folder.