phage armband code base
Note dependency upon my branch of the NeoPixel library:
https://github.com/bunnie/Adafruit_NeoPixel
You must use this branch to get the loop length detection features to work.
Features implemented to date:
-
button to switch mode of operation
- debounced
-
automatic loop length mesaurement
- if no loop is detected, assumes max length of 112 pixels
-
animations
- rainbow fade in/out ~25 mW/LED (scales with strip length)
- rainbow "walk" (just two LEDS at a time in rainbow mode) 125mW fixed (power does not scale with strip length)
- flashlight "wave" (two LEDs at 100% white brightness, cycling around the band) 350 mW fixed
- strobe mode (all LEDs strobe in random pattern) ~18mW/LED
- sound responsive mode
-
sound responsive mode
- works decently okay is a "VU meter" mode, although a bit strobe-y
- tried to take the edge of the strobe-y ness by having only two LEDs at a time reflect the beat
- needs more work down the road, but probably should be prototyped with final mic & gain tunings