All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
ModulatorSamplerVoice Class Reference
Inheritance diagram for ModulatorSamplerVoice:
ModulatorSynthVoice MultiMicModulatorSamplerVoice

Public Member Functions

ModulatorSamplerSoundgetCurrentlyPlayingSamplerSound () const
 
- Public Member Functions inherited from ModulatorSynthVoice
virtual void renderNextBlock (AudioSampleBuffer &outputBuffer, int startSample, int numSamples) override
 
void killVoice ()
 
virtual void checkRelease ()
 

Additional Inherited Members

- Protected Member Functions inherited from ModulatorSynthVoice
const ModulatorSynthgetOwnerSynth () const noexcept
 
- Protected Attributes inherited from ModulatorSynthVoice
double uptimeDelta = 0.0
 
double voiceUptime
 

Detailed Description

A ModulatorSamplerVoice is a wrapper around a StreamingSamplerVoice with logic for modulation stuff

Member Function Documentation

ModulatorSamplerSound* getCurrentlyPlayingSamplerSound ( ) const
inline

returns the sound that is played by the voice.

use this method instead of SynthesiserVoice::getCurrentlyPlayingSound(), because ModulatorSynthGroups do not access this member at startNote() and it will return nullptr.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.