squarefeet / audio.io-old

A (possibly overkill) web audio and MIDI helper library
https://github.com/squarefeet/audio.io
6 stars 2 forks source link

Figure out (and fix) held notes when using MultiOscillator #12

Closed squarefeet closed 11 years ago

squarefeet commented 11 years ago

Turns out the bug wasn't related to just the MultiOscillator class but was located within the Envelope classes. Having a release time of < 0.08s caused any scheduled volume values to be cancelled out.

The 0.08s value may well be device-specific and may need to be adjusted to account for lower-performance devices.