audiojs / audio-oscillator

Generate periodic oscillation into an array/audiobuffer
MIT License
27 stars 2 forks source link

a-rate param #1

Closed dy closed 7 years ago

dy commented 8 years ago

Should consider changing detune and frequency to a-rate params. It highly depends on audio-through implementation, though.

dy commented 7 years ago

Best way to do that is passing function to options like so

let oscillate = require('audio-oscillator')({ frequency: (i, t) => v  })
dy commented 7 years ago

Covered by #20