RimeTTSFormat
Supported Rime TTS audio output formats.
type RimeTTSFormat = "mp3" | "wav" | "ogg" | "webm" | "pcm" | "mulaw";
Defined in: src/providers/tts/rime/RimeTTS.ts:50
Supported Rime TTS audio output formats.
Remarks
The format is selected via the request’s Accept header and affects both file size and audio quality.
mp3— Good compression, widely supported (default)wav— Uncompressed 16-bit PCM with RIFF headerogg— Opus in an OGG container, good compressionwebm— Opus in a WebM container, native browser streamingpcm— Headerless 16-bit linear PCM (audio/L16)mulaw— Headerless G.711 mu-law (audio/PCMU), common in telephony