Skip to content

Instantly share code, notes, and snippets.

View atuline's full-sized avatar
🎸
Working on sound reactive WLED

Andrew Tuline atuline

🎸
Working on sound reactive WLED
View GitHub Profile
@atuline
atuline / circring.ino
Last active February 16, 2022 14:12
Circular loader ring
/* 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.
*
*/
/* File: FFT_Peak
*
* By: Andrew Tuline
*
* Modified from:
*
* Date: May, 2019
*
* Use WEMOS D1 Mini and Sparkfun MEMS microphone.
*
@atuline
atuline / RGBW_gamma
Created April 18, 2019 15:55
FastLED RGBW with gamma correction and Perlin noise
/* 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 April 15, 2019 12:57
FastLED fade in capability with gamma correction.
/*
* 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 13:20
Basic Fade In/Out
/*
* 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 June 22, 2019 21:57
gamma_correction
/* 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.
/* Increase/decrease brigtness of LED's.
*
* By: Andrew Tuline
*
* Date: Mar 21, 2019
*
* This is a way to increase the brighness of LED's.
*
*
*/
/*
A blending variant
By: Andrew Tuline
Date: March, 2019
*/
#include "FastLED.h"
#define LED_PIN 12
#define CK_PIN 11
/* 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
/* 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.