Interface DenoiserConfigOrBuilder (4.62.0)

public interface DenoiserConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDenoiseAudio()

public abstract boolean getDenoiseAudio()

Denoise audio before sending to the transcription model.

bool denoise_audio = 1;

Returns
Type Description
boolean

The denoiseAudio.

getSnrThreshold()

public abstract float getSnrThreshold()

Signal-to-Noise Ratio (SNR) threshold for the denoiser. Here SNR means the loudness of the speech signal. Audio with an SNR below this threshold, meaning the speech is too quiet, will be prevented from being sent to the transcription model.

If snr_threshold=0, no filtering will be applied.

float snr_threshold = 2;

Returns
Type Description
float

The snrThreshold.