![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VoiceProcessing.h>
Public Member Functions | |
| SIGNALPROCESSING_API | FSilenceDetection (float InOnsetThreshold, float InReleaseThreshold, int32 AttackDurationInSamples, int32 ReleaseDurationInSamples) |
| SIGNALPROCESSING_API int32 | ProcessBuffer (const float *InAudio, float *OutAudio, int32 NumSamples) |
| SIGNALPROCESSING_API void | SetThreshold (float InThreshold) |
| SIGNALPROCESSING_API float | GetCurrentAmplitude () |
This object will return buffered audio while the input signal is louder than the specified threshold, and buffer audio when the input signal otherwise.
| Audio::FSilenceDetection::FSilenceDetection | ( | float | InOnsetThreshold, |
| float | InReleaseThreshold, | ||
| int32 | AttackDurationInSamples, | ||
| int32 | ReleaseDurationInSamples | ||
| ) |
| float Audio::FSilenceDetection::GetCurrentAmplitude | ( | ) |
| int32 Audio::FSilenceDetection::ProcessBuffer | ( | const float * | InAudio, |
| float * | OutAudio, | ||
| int32 | NumSamples | ||
| ) |