Skip to main content

createVoiceDetectorFromProbability

function createVoiceDetectorFromProbability(voiceThreshold): IsVoice<number>;

A function to check the provided probability is considered as voice activity

Parameters

ParameterTypeDefault valueDescription
voiceThresholdnumberVOICE_PROBABILITY_THRESHOLDA threshold of the probability to be considered as voice activity

Returns

IsVoice<number>