Package com.openai.models.realtime
Class RealtimeTranscriptionSessionAudioInput.NoiseReduction
-
- All Implemented Interfaces:
public final class RealtimeTranscriptionSessionAudioInput.NoiseReductionConfiguration for input audio noise reduction. This can be set to
nullto 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 classRealtimeTranscriptionSessionAudioInput.NoiseReduction.BuilderA builder for NoiseReduction.
-
Method Summary
Modifier and Type Method Description final Optional<NoiseReductionType>type()Type of noise reduction. final JsonField<NoiseReductionType>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final RealtimeTranscriptionSessionAudioInput.NoiseReduction.BuildertoBuilder()final RealtimeTranscriptionSessionAudioInput.NoiseReductionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeTranscriptionSessionAudioInput.NoiseReduction.Builderbuilder()Returns a mutable builder for constructing an instance of NoiseReduction. -
-
Method Detail
-
type
final Optional<NoiseReductionType> type()
Type of noise reduction.
near_fieldis for close-talking microphones such as headphones,far_fieldis for far-field microphones such as laptop or conference room microphones.
-
_type
final JsonField<NoiseReductionType> _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 RealtimeTranscriptionSessionAudioInput.NoiseReduction.Builder toBuilder()
-
validate
final RealtimeTranscriptionSessionAudioInput.NoiseReduction validate()
-
builder
final static RealtimeTranscriptionSessionAudioInput.NoiseReduction.Builder builder()
Returns a mutable builder for constructing an instance of NoiseReduction.
-
-
-
-