Skip to content

Instantly share code, notes, and snippets.

Avatar
🎸
Working on sound reactive WLED

Andrew Tuline atuline

🎸
Working on sound reactive WLED
View GitHub Profile
@atuline
atuline / circring.ino
Last active May 28, 2020
Circular loader ring
View circring.ino
/* Circular loader ring (a real basic one)
*
* By: Andrew Tuline
*
* Date: May, 2019
*
* One version uses a loop and fixed colours, while the other uses a fader.
*
*/
View FFT_Peak
/* File: FFT_Peak
*
* By: Andrew Tuline
*
* Modified from:
*
* Date: May, 2019
*
* Use WEMOS D1 Mini and Sparkfun MEMS microphone.
*
@atuline
atuline / RGBW_gamma
Created Apr 18, 2019
FastLED RGBW with gamma correction and Perlin noise
View RGBW_gamma
/* FastLED RGBW with gamma correction over Perlin Noise
*
* By: Andrew Tuline
*
* Date: March, 2019
*
* Example sketch using FastLED for RGBW strips (SK6812) along with gamma correction.
*
* The RGBW component was written by David Madison and originally by Jim Bumgardner.
*/
@atuline
atuline / basicfadeingamma.ino
Created Apr 15, 2019
FastLED fade in capability with gamma correction.
View basicfadeingamma.ino
/*
* File: basicfadeingamma
*
* By: Andrew Tuline
*
* Date: April, 2019
*
* Based previous work (namely twinklefox) by Mark Kriegsman, this program shows how you can fade-in twinkles by using the fact that a random number generator
* with the same seed will generate the same numbers every time. Combine that with millis and a sine wave and you have twinkles fading in/out.
@atuline
atuline / basicfadein.ino
Last active May 9, 2021
Basic Fade In/Out
View basicfadein.ino
/*
* File: basicfadein
*
* By: Andrew Tuline
*
* Date: April, 2019
*
* Based previous work (namely twinklefox) by Mark Kriegsman, this program shows how you can fade-in twinkles by using the fact that a random number generator
* with the same seed will generate the same numbers every time. Combine that with millis and a sine wave and you have twinkles fading in/out.
*
@atuline
atuline / gamma_correction.ino
Last active Jun 22, 2019
gamma_correction
View gamma_correction.ino
/* gamma_correction
*
* By: Andrew Tuline
*
* Date: January, 2019
*
* Testing gamma correction to change LED brightness so that it appears to change evenly for the viewer. The problem is that changes above
* 50 are much less noticeable for the viewer, so the LED gets bright quickly and then stays bright for way too long before dimming again.
*
* There's a few ways to adjust LED output. The table method was proposed on Adafruit.com. Here's a couple of other methods for demonstration.
View brightening.ino
/* Increase/decrease brigtness of LED's.
*
* By: Andrew Tuline
*
* Date: Mar 21, 2019
*
* This is a way to increase the brighness of LED's.
*
*
*/
View gist:a021e0e6297828845d800573481894aa
/*
A blending variant
By: Andrew Tuline
Date: March, 2019
*/
#include "FastLED.h"
#define LED_PIN 12
#define CK_PIN 11
View fht_log_music
/* fft_log_music
*
* By: Andrew Tuline
*
* Date: Mar, 2019
*
*
* Why use a 7 band MSGEQ7 graphic equalizer chip when you can get many times more frequency bins with software alone and on an Arduino UNO to boot?
*
* This example combines high speed A/D conversion, FFT (Fast Fourier Transform) pitch detection combined with simple FastLED library display using
View sinelon_pixels
/* sinelon_pixels
*
* Moves a single sine wave back and forth (or continuously) using waves.
*
*
* By: Andrew Tuline
*
* Date: January 2019
*
* This uses the built in FastLED beatsin8 combined with a sinewave to move one or more pixels back and forth.