SpeechResponseFormat class
Audio container for TTS output.
Note: pcm
is typically a raw 16-bit mono stream; all others are
self-contained files.
Constructors
- SpeechResponseFormat.new(String value)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String raw) → SpeechResponseFormat
Constants
- aac → const SpeechResponseFormat
- flac → const SpeechResponseFormat
- mp3 → const SpeechResponseFormat
- opus → const SpeechResponseFormat
- pcm → const SpeechResponseFormat
- wav → const SpeechResponseFormat