Skip to content

tudddorrr/lifx-visualiser2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIFX Visualiser 2

A basic, no-nonsense visualiser for your LIFX bulbs using raw microphone input.

Prerequisites

Node.js

Mac/Windows: SoX (can be installed with brew using brew install sox on Mac)

Linux: ALSA tools (e.g. sudo apt-get install alsa-base alsa-utils)

Nodemon (once you have Node & NPM: npm install -g nodemon)

Setup

Once you've got all the prerequisites, open up a terminal and point it to the folder you've cloned/downloaded the project into.

Run npm start. Your OS might ask for if you want to allow the terminal to use your microphone. Your smart lights should show up as connected and microphone audio should make them change colour.

Todo list

  • Use a sound proxy to get audio data straight from the sound card rather than the microphone.
  • Define set of colours to use
  • Define set of lights to use
  • More granular control like the original visualiser I made

Credits

Beat detection algorithm

Dev Branch

The dev branch (git checkout dev) has a prototype for a colour definition system. Using that system, you can define lights and colours as well as how they trigger (e.g. by brightness or change in volume) and which lights to use.

Releases

No releases published

Packages

No packages published