speak 0.1.0
speak: ^0.1.0 copied to clipboard
Text-to-speech for Flutter on iOS, macOS, Android and web, made for short spoken prompts over other audio. No native code to write or set up.
0.1.0 #
- First release: text-to-speech on iOS, macOS, Android and the web.
- Awaitable utterances with an outcome (
completed,interrupted,expired); queue or interrupt;expireAfter;stop. - Voices with BCP-47 language, quality, network and install state; the best
voice chosen for a language;
availabilityfor a language. - Rate, pitch and volume, per call or as defaults.
- Word progress, pause and resume on every platform (Android resumes from the last reported word).
- Audio sharing per platform (
SpeakAudio): iOS audio session and Android audio focus claimed right before speaking and given back after a shortlinger, or held withholdAudio. Modesmix,duck,duckAndPauseSpoken(SpeakAudio.navigation: music lowered, podcasts paused),pauseSpokenandpause. - A silent
leadInbefore the first utterance after the audio is claimed, so Bluetooth headsets do not swallow the first syllable. - Android engine choice (
Speak.androidEngines,AndroidSpeakOptions). - Per-utterance timeouts, and a
stopthat never waits on a silent engine.