mudcube/MIDI.js — pull request #7 by pete-otaqui (2012-11-21 03:19:33+00:00)
Title: Enabled noteOff with a linear fade to 0

fade out smoothly using gain and ramping to value.

I've chosen an arbitrary amount to fade by here, which I guess isn't great.