3     Synth Voices, Synth Modules, and Module Cores

The SynthLab SynthVoice object is responsible for rendering note-events, and there is one voice object per note of polyphony in the synths. As with the engine, the SynthVoice object has no base class but is set up to be a base class with the virtual functions and destructor, so feel free to subclass your own when you are ready. The term “voice” has several meanings in synth lingo, but here, it also includes the synth type. The voice architecture is covered in Section 1.5.

3.1     Voice Behavior

The voice performs three tasks during the synth’s operation: (1) initialization, (2) responding to MIDI note-on and note-off messages, and (3) controlling the audio signal flow through a set of member ...

Get Designing Software Synthesizer Plugins in C++, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.