com.microsoft.cognitiveservices.speech.audio

Classes

AudioConfig

Represents audio input or output configuration. Audio input can be from a microphone, file, or input stream. Audio output can be to a speaker, audio file output in WAV format, or output stream. Note: close() must be called in order to release underlying resources held by the object. Updated in version 1.7.0

AudioInputStream

Represents audio input stream used for custom audio input configurations. Note: close() must be called in order to release underlying resources held by the object.

AudioOutputStream

Represents audio output stream used for custom audio output configurations. Note: close() must be called in order to release underlying resources held by the object. Updated in version 1.7.0

AudioProcessingConstants

Represents audio processing constants used for specifying the processing in AudioProcessingOptions.

AudioProcessingOptions

Represents audio processing options used with audio config class. Note: close() must be called in order to release underlying resources held by the object.

AudioStreamFormat

Represents audio stream format used for custom audio input configurations. Updated in version 1.5.0.

MicrophoneArrayGeometry

Represents the geometry of a microphone array.

MicrophoneCoordinates

Represents coordinates of a microphone.

PullAudioInputStream

Represents audio input stream used for custom audio input configurations. Note: close() must be called in order to release underlying resources held by the object.

PullAudioInputStreamCallback

An abstract base class that defines callback methods (read() and close()) for custom audio input streams).

PullAudioOutputStream

Represents memory backed push audio output stream used for custom audio output configurations.

PushAudioInputStream

Represents memory backed push audio input stream used for custom audio input configurations. Note: close() must be called in order to release underlying resources held by the object.

PushAudioOutputStream

Represents audio output stream used for custom audio output configurations. Added in version 1.7.0

PushAudioOutputStreamCallback

An abstract base class that defines callback methods (write() and close()) for custom audio output streams). Added in version 1.7.0

Enums

AudioStreamContainerFormat

Supported audio input container formats. Added in version 1.4.0.

MicrophoneArrayType

Types of microphone arrays.

PresetMicrophoneArrayGeometry

Types of preset microphone array geometries. Check https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-devices-sdk-microphone for details.

SpeakerReferenceChannel

Defines speaker reference channel position in input audio.