|
Gin
|
Extended synthesizer voice with glide support and fast-kill capability. More...
#include <gin_synthesiser.h>
Inherits juce::MPESynthesiserVoice.
Public Member Functions | |
| virtual void | setFastKill () |
| bool | isFastKill () |
| virtual void | noteRetriggered () |
| virtual float | getCurrentNote ()=0 |
| void | setCurrentlyPlayingNote (juce::MPENote note) |
| void | setGlideInfo (const GlideInfo &gi) |
Protected Attributes | |
| GlideInfo | glideInfo |
| bool | fastKill = false |
Extended synthesizer voice with glide support and fast-kill capability.
SynthesiserVoice extends JUCE's MPESynthesiserVoice with additional features needed for professional synthesizer implementations:
When implementing a voice, override:
Fast Kill: When a voice needs to be stolen while still in release phase, setFastKill() allows immediate termination without waiting for the release envelope to finish.
Usage:
Referenced by Synthesiser::retriggerVoice().
| void SynthesiserVoice::setCurrentlyPlayingNote | ( | juce::MPENote | note | ) |
Referenced by Synthesiser::retriggerVoice().
|
protected |
Referenced by setGlideInfo().
Referenced by isFastKill(), and setFastKill().