Skip to content

Instantly share code, notes, and snippets.

@kevincennis
Created May 21, 2013 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevincennis/5620188 to your computer and use it in GitHub Desktop.
Save kevincennis/5620188 to your computer and use it in GitHub Desktop.
FX API
// audioContext == webkitAudioContext
// bufferSource == AudioBufferSourceNode
var tremolo = new Tremolo(audioContext)
bufferSource.connect(tremolo.input)
tremolo.connect(audioContext.destination)
tremolo.depth = 0.5
tremolo.frequency = 7
tremolo.type = 'sawtooth'
@samccone
Copy link

Tremolo.getParams

name: "sdadds"
description: "asdasdasdasd "
params:
  depth: 
    range: 
      type: "slider"
      min: 0
      max: 100
      default: 4
    frequency:
      type: "slider"
      min: 0
      max: 100
      default: 4
    type:
      type: "select"
      default: "zap"
      options: ["doo", "zap", "bar"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment