Speech Encoding#

Encodings used by the Google Cloud Speech API.

class google.cloud.speech.encoding.Encoding[source]#

Bases: object

Audio encoding types.

See: https://cloud.google.com/speech/reference/rest/v1beta1/ RecognitionConfig#AudioEncoding

AMR = 'AMR'#

AMR encoding type.

AMR_WB = 'AMR_WB'#

AMR_WB encoding type.

FLAC = 'FLAC'#

FLAC encoding type.

LINEAR16 = 'LINEAR16'#

LINEAR16 encoding type.

MULAW = 'MULAW'#

MULAW encoding type.