31 CRGB leds[MAX_LEDS] = {0};
39 uint8_t genre_smoothing[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
41 double max1[20] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
42 double max2[20] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
43 double max3[20] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
44 double max4[20] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
45 double max5[20] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
48 double acceleration = 0;
49 double smoothing_value[10] = {0,0,0,0,0,0,0,0,0,0};
51 double velocities[5] = {0,0,0,0,0};
52 double accelerations[5] = {0,0,0,0,0};
53 int locations[5] = {70,60,50,40,30};
54 double vRealSums[5] = {0,0,0,0,0};
63void setColorHSV(CRGB* leds,
byte h,
byte s,
byte v,
int len);
67void getFhue(uint8_t min_hue, uint8_t max_hue);
void splashTheory(Strip_Buffer *buf, int len, Pattern_Data *params)
Maps the LED strip to volume. The starting position is based on the volume of the sampled audio....
Definition patterns.cpp:1066
void pix_freq(Strip_Buffer *buf, int len, Pattern_Data *params)
Based on a sufficient volume, a pixel will float to some position on the light strip and fall down (v...
Definition patterns.cpp:108
void bar_fill(Strip_Buffer *buf, int len, Pattern_Data *params)
Displays a pattern that occupies "lower" pixels at lower values, and "higher" pixels at higher values...
Definition patterns.cpp:742
void noteEQ(Strip_Buffer *buf, int len, Pattern_Data *params)
Maps the current note to a section on the led strip.
Definition patterns.cpp:953
void blendIn(Strip_Buffer *buf, int len, Pattern_Data *params)
Maps the LED strip to the different frequencies, and each LED blends between two different colors bas...
Definition patterns.cpp:800
void synesthesiaRolling(Strip_Buffer *buf, int len, Pattern_Data *params)
Maps the current note to a color.
Definition patterns.cpp:904
void bands(Strip_Buffer *buf, int len, Pattern_Data *params)
Basic band config : Uses the band_split_bounce() function to generate a five band split,...
Definition patterns.cpp:397
void confetti(Strip_Buffer *buf, int len, Pattern_Data *params)
Confetti effect using frequency and brightness. Colored speckles that blink and fade smoothly are sca...
Definition patterns.cpp:143
void talking(Strip_Buffer *buf, int len, Pattern_Data *params)
Generates three clusters of lights, one in the middle, and two symmetric ones that travel out from th...
Definition patterns.cpp:297
void hue_trail(Strip_Buffer *buf, int len, Pattern_Data *params)
Outputs a steady moving stream of lights where each pixel correlates to a previous fHue value....
Definition patterns.cpp:161
void deltaHeat(Strip_Buffer *buf, int len, Pattern_Data *params)
Maps the LED strip to frequencies. Creates a heatmap, where frequencies that have had drastic/continu...
Definition patterns.cpp:1126
void bleedThrough(Strip_Buffer *buf, int len, Pattern_Data *params)
A color blended between a base and transitioning color is sent down the LED strip....
Definition patterns.cpp:850
void groovy(Strip_Buffer *buf, int len, Pattern_Data *params)
A cool fluctuating pattern that changes color in waves of greens, yellows, purples and blue....
Definition patterns.cpp:253
void getVbrightness()
get vol brightness
Definition patterns.cpp:51
void random_raindrop(Strip_Buffer *buf, int len, Pattern_Data *params)
A random spot is chosen along the length and does a ripple based on frequency.
Definition patterns.cpp:665
void stringTheory(Strip_Buffer *buf, int len, Pattern_Data *params)
Maps the LED strip to a string on a violin. The color changes based on which string of the violin is ...
Definition patterns.cpp:1032
void glitch(Strip_Buffer *buf, int len, Pattern_Data *params)
Creates two light clusters that move according to sine wave motion, but their speed is affected by th...
Definition patterns.cpp:339
void Fire2012(Strip_Buffer *buf, int len, Pattern_Data *params)
Fire2012 pattern utilizing heating and cooling.
Definition patterns.cpp:683
void eq(Strip_Buffer *buf, int len, Pattern_Data *params)
Short and sweet function. Each pixel corresponds to a value from vReal, where the volume at each pitc...
Definition patterns.cpp:567
void saturated(Strip_Buffer *buf, int len, Pattern_Data *params)
Fills the light strip with a nice ambient mess of colors that shift slowly over time....
Definition patterns.cpp:206
Holds persistent data for currently-running patterns.
Definition patterns.h:28