FastLED 3.9.15
|
Creates an impressive LED light show to music input on the Teensy.
Definition in file PJRCSpectrumAnalyzer.ino.
#include <OctoWS2811.h>
#include <FastLED.h>
#include <Audio.h>
#include <Wire.h>
#include <SD.h>
#include <SPI.h>
Go to the source code of this file.
Macros | |
#define | USE_OCTOWS2811 |
Functions | |
AudioInputAnalog | adc1 (A3) |
void | computeVerticalLevels () |
void | loop () |
AudioConnection | patchCord1 (adc1, fft) |
void | setup () |
unsigned int | xy (unsigned int x, unsigned int y) |
Variables | |
const float | dynamicRange = 40.0 |
AudioAnalyzeFFT1024 | fft |
int | frequencyBinsHorizontal [matrix_width] |
CRGB | leds [matrix_width *matrix_height] |
const float | linearBlend = 0.3 |
const unsigned int | matrix_height = 32 |
const unsigned int | matrix_width = 60 |
const float | maxLevel = 0.5 |
const unsigned int | myColor = 0x400020 |
float | thresholdVertical [matrix_height] |