Skip to content

desandro/arpeggiator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.