/arpeggiator

Web audio arpeggiator

Primary LanguageJavaScript

Web Audio Arpeggiator

I wanted my own arpeggiator after hearing these M83 arpeggiator tracks.

  • Create a tone sequence, then play that sequence relative to a key
  • Save sequences to list. Uses localStorage to save over browser sessions
  • Adjust multiple options
    • Attack - time tone reachs full volume
    • Hold - time tone plays within its beat
    • Release - time tone reaches 0 volume after stopped
    • Filter - cut offs frequencies
    • Resonance - increase harmonic frequencies around cutoff
    • Speed - speed of playing arpeggio
    • Shape - sound wave shape of the oscillator: square, sawtooth, triangle, & sine

Made with Web Audio API

Works well in Chrome and Firefox.

The code is a bit of a mess. I made this for fun.