#include <voice.h>
|
| Voice () |
|
void | setAsUnassigned (ModelStackWithVoice *modelStack, bool deletingSong=false) |
|
bool | render (ModelStackWithVoice *modelStack, int32_t *soundBuffer, int numSamples, bool soundRenderingInStereo, bool applyingPanAtVoiceLevel, uint32_t sourcesChanged, FilterSetConfig *filterSetConfig, int32_t externalPitchAdjust) |
|
void | calculatePhaseIncrements (ModelStackWithVoice *modelStack) |
|
bool | sampleZoneChanged (ModelStackWithVoice *modelStack, int s, int markerType) |
|
bool | noteOn (ModelStackWithVoice *modelStack, int newNoteCodeBeforeArpeggiation, int newNoteCodeAfterArpeggiation, uint8_t velocity, uint32_t newSampleSyncLength, int32_t ticksLate, uint32_t samplesLate, bool resetEnvelopes, int fromMIDIChannel, const int16_t *mpeValues) |
|
void | noteOff (ModelStackWithVoice *modelStack, bool allowReleaseStage=true) |
|
bool | doFastRelease (uint32_t releaseIncrement=4096) |
|
void | randomizeOscPhases (Sound *sound) |
|
void | changeNoteCode (ModelStackWithVoice *modelStack, int newNoteCodeBeforeArpeggiation, int newNoteCodeAfterArpeggiation, int newInputMIDIChannel, const int16_t *newMPEValues) |
|
bool | hasReleaseStage () |
|
void | unassignStuff () |
|
uint32_t | getPriorityRating () |
|
void | expressionEventImmediate (Sound *sound, int32_t voiceLevelValue, int s) |
|
void | expressionEventSmooth (int32_t newValue, int s) |
|
◆ Voice()
◆ calculatePhaseIncrements()
◆ changeNoteCode()
void Voice::changeNoteCode |
( |
ModelStackWithVoice * |
modelStack, |
|
|
int |
newNoteCodeBeforeArpeggiation, |
|
|
int |
newNoteCodeAfterArpeggiation, |
|
|
int |
newInputMIDIChannel, |
|
|
const int16_t * |
newMPEValues |
|
) |
| |
◆ doFastRelease()
bool Voice::doFastRelease |
( |
uint32_t |
releaseIncrement = 4096 | ) |
|
◆ expressionEventImmediate()
void Voice::expressionEventImmediate |
( |
Sound * |
sound, |
|
|
int32_t |
voiceLevelValue, |
|
|
int |
s |
|
) |
| |
◆ expressionEventSmooth()
void Voice::expressionEventSmooth |
( |
int32_t |
newValue, |
|
|
int |
s |
|
) |
| |
◆ getPriorityRating()
uint32_t Voice::getPriorityRating |
( |
| ) |
|
◆ hasReleaseStage()
bool Voice::hasReleaseStage |
( |
| ) |
|
◆ noteOff()
◆ noteOn()
bool Voice::noteOn |
( |
ModelStackWithVoice * |
modelStack, |
|
|
int |
newNoteCodeBeforeArpeggiation, |
|
|
int |
newNoteCodeAfterArpeggiation, |
|
|
uint8_t |
velocity, |
|
|
uint32_t |
newSampleSyncLength, |
|
|
int32_t |
ticksLate, |
|
|
uint32_t |
samplesLate, |
|
|
bool |
resetEnvelopes, |
|
|
int |
fromMIDIChannel, |
|
|
const int16_t * |
mpeValues |
|
) |
| |
◆ randomizeOscPhases()
void Voice::randomizeOscPhases |
( |
Sound * |
sound | ) |
|
◆ render()
bool Voice::render |
( |
ModelStackWithVoice * |
modelStack, |
|
|
int32_t * |
soundBuffer, |
|
|
int |
numSamples, |
|
|
bool |
soundRenderingInStereo, |
|
|
bool |
applyingPanAtVoiceLevel, |
|
|
uint32_t |
sourcesChanged, |
|
|
FilterSetConfig * |
filterSetConfig, |
|
|
int32_t |
externalPitchAdjust |
|
) |
| |
◆ sampleZoneChanged()
◆ setAsUnassigned()
◆ unassignStuff()
void Voice::unassignStuff |
( |
| ) |
|
◆ assignedToSound
Sound* Voice::assignedToSound |
◆ doneFirstRender
bool Voice::doneFirstRender |
◆ envelopes
◆ filterGainLastTime
int32_t Voice::filterGainLastTime |
◆ filterSets
◆ guides
◆ inputCharacteristics
int Voice::inputCharacteristics[2] |
◆ lastSaturationTanHWorkingValue
uint32_t Voice::lastSaturationTanHWorkingValue[2] |
◆ lfo
◆ localExpressionSourceValuesBeforeSmoothing
◆ modulatorAmplitudeLastTime
◆ nextUnassigned
Voice* Voice::nextUnassigned |
◆ noteCodeAfterArpeggiation
int Voice::noteCodeAfterArpeggiation |
◆ orderSounded
uint32_t Voice::orderSounded |
◆ overallOscAmplitudeLastTime
int32_t Voice::overallOscAmplitudeLastTime |
◆ overrideAmplitudeEnvelopeReleaseRate
int32_t Voice::overrideAmplitudeEnvelopeReleaseRate |
◆ paramFinalValues
◆ patcher
◆ portaEnvelopeMaxAmplitude
int32_t Voice::portaEnvelopeMaxAmplitude |
◆ portaEnvelopePos
uint32_t Voice::portaEnvelopePos |
◆ previouslyIgnoredNoteOff
bool Voice::previouslyIgnoredNoteOff |
◆ sourceAmplitudesLastTime
◆ sourceValues
◆ sourceWaveIndexesLastTime
◆ unisonParts
◆ whichExpressionSourcesCurrentlySmoothing
uint8_t Voice::whichExpressionSourcesCurrentlySmoothing |
◆ whichExpressionSourcesFinalValueChanged
uint8_t Voice::whichExpressionSourcesFinalValueChanged |
The documentation for this class was generated from the following files: