Class SessionCreateParams.InputAudioNoiseReduction
-
- All Implemented Interfaces:
public final class SessionCreateParams.InputAudioNoiseReduction
Configuration for input audio noise reduction. This can be set to
null
to turn off. Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model. Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
SessionCreateParams.InputAudioNoiseReduction.Builder
A builder for InputAudioNoiseReduction.
public final class
SessionCreateParams.InputAudioNoiseReduction.Type
Type of noise reduction.
near_field
is for close-talking microphones such as headphones,far_field
is for far-field microphones such as laptop or conference room microphones.
-
Method Summary
Modifier and Type Method Description final Optional<SessionCreateParams.InputAudioNoiseReduction.Type>
type()
Type of noise reduction. final JsonField<SessionCreateParams.InputAudioNoiseReduction.Type>
_type()
Returns the raw JSON value of type. final Map<String, JsonValue>
_additionalProperties()
final SessionCreateParams.InputAudioNoiseReduction.Builder
toBuilder()
final SessionCreateParams.InputAudioNoiseReduction
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static SessionCreateParams.InputAudioNoiseReduction.Builder
builder()
Returns a mutable builder for constructing an instance of InputAudioNoiseReduction. -
-
Method Detail
-
type
final Optional<SessionCreateParams.InputAudioNoiseReduction.Type> type()
Type of noise reduction.
near_field
is for close-talking microphones such as headphones,far_field
is for far-field microphones such as laptop or conference room microphones.
-
_type
final JsonField<SessionCreateParams.InputAudioNoiseReduction.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionCreateParams.InputAudioNoiseReduction.Builder toBuilder()
-
validate
final SessionCreateParams.InputAudioNoiseReduction validate()
-
builder
final static SessionCreateParams.InputAudioNoiseReduction.Builder builder()
Returns a mutable builder for constructing an instance of InputAudioNoiseReduction.
-
-
-
-