Voice constructor
Voice(
- Synthesizer synthesizer
Implementation
Voice(this.synthesizer) :
_volEnv = VolumeEnvelope(synthesizer),
_modEnv = ModulationEnvelope(synthesizer),
_vibLfo = Lfo(synthesizer),
_modLfo = Lfo(synthesizer),
_oscillator = Oscillator(synthesizer),
_filter = BiQuadFilter(synthesizer),
_block = List<double>.filled(synthesizer.blockSize, 0.0);