Giter Site home page Giter Site logo

arduino-lfo-adsr's Introduction

arduino-lfo-adsr

LittleBits Arduino LFO ADSR implementation

Inspired this project: http://littlebits.cc/projects/adsr-lfo-super-modulator-for-arduino-bit . Kudos to blindbento for imagining this project! (Especially the creative use of the keyboard as parameter selector). Unfortunatly the source code was removed. So this is an attempt to recreate this.

Youtube demo: https://www.youtube.com/watch?v=FogWQbIRJKc

This is my first Arduino project, and it is implemented very naïvely. I'm sure this can be optimized quite a bit, but it is working suprisingly well!

See the project mentioned above for setup.

  • D0 = Trigger input
  • A0 = Parameter value input (use dimmer or slider)
  • A1 = Parameter choice input (with keyboard, use lowest octave!)
  • D5 = (analog) LFO
  • D9 = (analog) ADSR

Controls (by name of notes, set keyboard to lowest octave):

LFO

  • C#: Rate
  • D#: Shape (0 = SINE, others = shift from saw to triangle to inverse saw)
  • F#: Offset (ie. minimum value)
  • G#: Width (ie. range of oscillation)
  • A#: (not used yet)

ADSR:

  • C: Attack
  • D: Decay
  • E: Sustain level
  • F: Release
  • G: Offset (ie. minimum value)
  • A: Width (ie. range of oscillation)
  • B: Invert (HIGH = true)
  • C: Repeat (HIGH = true)

Drawbacks:

  • Pretty simple, naive implementation (my first Arduino project)
  • LFO is always on right now, but can easily be rigged to trigger
  • Resolution and noise is not really good, this can greatly be optimised, might need some extra hardware though

Github project: https://github.com/DieterVDW/ardiuno-lfo-adsr Duration: 10 minutes

Credits:

Inspired by this project: http://littlebits.cc/projects/adsr-lfo-super-modulator-for-arduino-bit . Kudos to blindbento for imagining this project!

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.