Added envelope support to MonoOscillator class.