Navigation
API > API/Plugins > API/Plugins/HarmonixDsp > API/Plugins/HarmonixDsp/FFusionVoicePool
Description
THIS PROBABLY SHOULD BE PRIVATE. IT IS USED BY NOTE ON. NOT AN IDEAL ARGUMENT SIGNATURE FOR PUBLIC CONSUMPTION. pass in a channel and note id to assign to the voice. also pass in the keyzone that the voice should use. any active voices with a matching set of IDs will be put into release stage. a voice might get killed (stopped instantly) if there are not enough free voices. returns null if there is no patch assigned to the channel.
| Name | GetFreeVoice |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixDsp/Public/HarmonixDsp/FusionSampler/FusionVoicePool.h |
| Include Path | #include "HarmonixDsp/FusionSampler/FusionVoicePool.h" |
| Source | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixDsp/Private/HarmonixDsp/FusionSampler/FusionVoicePool.cpp |
FFusionVoice * GetFreeVoice
(
FFusionSampler * InSampler,
FMidiVoiceId InVoiceID,
const FKeyzoneSettings * InKeyzone,
TFunction < bool *)> Handler,
IStretcherAndPitchShifterFactory * PitchShifterFactory,
bool AllowAlias,
bool IsRendererForAlias
)