flutter_azure_tts
1.0.0, released a year ago by ghuyfel.com
Flutter implementation of the Microsoft Azure Cognitive Text-To-Speech API.
WASM-ready
What it does
It provides a Flutter client for Microsoft Azure Cognitive Text-to-Speech with support for standard audio generation, real-time audio streaming, advanced voice filtering, and caching.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to convert text to speech inside a Flutter app using Microsoft Azure.
- You require real-time audio streaming and progress tracking for text-to-speech tasks.
- You want built-in caching and robust retry logic for Azure TTS requests.
Skip it when
- You need on-device, offline text-to-speech synthesis.
- You use a cloud text-to-speech provider other than Microsoft Azure.
Strengths
- Supports both standard generation and real-time audio streaming.
- Includes a powerful voice filtering API and builder pattern.
- Provides comprehensive error handling and built-in caching.
Weaknesses
- Requires an active Microsoft Azure subscription key and region.
- Dependent on internet connectivity for API calls.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 3
Initialize the framework with your Azure subscription key and region.
FlutterAzureTts.init(
subscriptionKey: "YOUR_SUBSCRIPTION_KEY",
region: "YOUR_REGION",
withLogs: true,
);
final voicesResponse = await FlutterAzureTts.getAvailableVoices();Alternatives
Packages that do the same job and could replace flutter_azure_tts.
- google_speech
Flutter plugin for the Google Cloud gRPC Speech-to-Text API.
50Compare
Works with
Packages commonly used together with flutter_azure_tts: ones it builds on, ones built on it, and its own family.