Namespace SpessaSharp.Synthesizer.Engine.Voice
Classes
- UnitConverter
Converts soundfont units into more usable values with the use of lookup tables to improve performance
- Voice
Voice represents a single instance of the SoundFont2 synthesis model. That is:
A wavetable oscillator (sample)
A volume envelope (volEnv)
A modulation envelope (modEnv)
Generators (generators and modulatedGenerators)
Modulators (modulators)
And MIDI params such as channel, MIDI note, velocity
Structs
- LowpassFilter
Applies a low pass filter to a voice note to self: a lot of tricks and come from fluidsynth. They are the real smart guys. Shoutout to them! Give their repo a star over at: https://github.com/FluidSynth/fluidsynth
- ModulationEnvelope
Calculates the modulation envelope for the given voice
- VolumeEnvelope
Applies a volume envelope for a given voice. For performance reasons, cbAttenuationToGain is inlined here.
- WaveTableOscillator
Plays back raw audio data at an arbitrary playback rate