Code Monkey home page Code Monkey logo

light-organ's Introduction

light-organ

The light organ is an audio visualizer or special effects controller. The device is an electronic a 3-channel dimmer for incandescent lights. Each channel interprets the amplitude of one frequency band from the input audio.

This device was used in the interactive sound ard installation "infinite space kaleidoscope" by Adam Brown. See http://madanworb.com/blog/2011/02/01/infinite-space-kaleidoscope/

Hardware

The dimmer is implemented with TRIAC switches, signaled through optoisolators. The dimmer controller and sound analyzer is implemented with an Atmel ATXMega128A1 8-bit microcontroller.

The dimmer circuitry also provides a rectified AC-sync signal at 2.5V. The controller analyzes this signal to determine when the TRIAC should be switched on at each point in the AC waveform. (Recall that TRIACs can only be switched off at zero-crossing, so dimmer PWM has to be syncronized to the AC carrier wave.)

Circuits were designed in the free edition of Eagle. Schematics and burnable board layouts are included in the "circuits/light organ base" and "circuits/light organ controller" folders.

Software

The controller software is implemented for the Atmel ATXMega128A1 - an 8-bit, 32MHz microcontroller. The responsibilities of the controller software are to:

  • analyze an input waveform to find amplitudes in the three target frequency bands
  • analyze the AC-sync signal to determine the mains frequency and phase
  • signal the amplitude for each channel by switching the TRIACs

The software is developed and compiled with Atmel AVR Studio and depends on the XMega appnote library.

light-organ's People

Contributors

adamarthurryan avatar

Watchers

 avatar  avatar

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.