Skip to content

SmallestTTSFormat

Supported Smallest.ai Waves TTS audio output formats.

type SmallestTTSFormat = "wav" | "mp3" | "pcm" | "ulaw" | "alaw";

Defined in: src/providers/tts/smallest/SmallestTTS.ts:48

Supported Smallest.ai Waves TTS audio output formats.

Remarks

The format affects both playability and latency.

  • wav — Uncompressed with a WAV header, directly playable in browsers (default)
  • mp3 — Good compression, widely supported
  • pcm — Raw 16-bit PCM, lowest latency but requires a decoder to play
  • ulaw — mu-law encoded audio (telephony)
  • alaw — A-law encoded audio (telephony)

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency