Code Monkey home page Code Monkey logo

lifx-visualiser2's Introduction

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.

lifx-visualiser2's People

Watchers

 avatar

Forkers

rapka

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.