deepgram_speech_to_text
4.2.0, released 4 months ago by zealousfoundry.com
Deepgram client for Dart and Flutter supporting Speech-to-Text and Text-to-Speech features.
What it does
A Deepgram client library for Dart and Flutter enabling speech-to-text transcription from files, URLs, bytes, or live audio streams, as well as text-to-speech generation. It supports streaming capabilities through WebSockets and works across multiple platforms.
AI-written summary of version 4.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to integrate Deepgram Speech-to-Text in a Flutter or Dart application.
- You require real-time audio transcription or text-to-speech streaming.
- You want to process pre-recorded audio files using Deepgram's API.
Skip it when
- You need on-device speech recognition without network requests or API keys.
Strengths
- Supports both Speech-to-Text and Text-to-Speech features.
- Handles live streaming with automatic or manual stream management.
- Cross-platform support including Android, iOS, Web, Windows, macOS, and Linux.
Weaknesses
- Relies on an external API and requires a valid Deepgram API key with available credits.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Requires a Deepgram API key obtained from their website and proper audio recording permissions on mobile platforms if using microphone streams.
Deepgram deepgram = Deepgram('your_api_key');
DeepgramListenResult res = await deepgram.listen.file(File('audio.wav'), queryParams: {
'model': 'nova-2-general',
'punctuate': true,
});Alternatives
Packages that do the same job and could replace deepgram_speech_to_text.
- flutter_tts
A Flutter plugin for text-to-speech support across multiple platforms.
69Compare - speech_to_text_platform_interface
A common platform interface for the speech_to_text plugin.
75Compare - speech_to_text
Flutter plugin to expose device-specific speech-to-text recognition capabilities.
91Compare - stts
Speech-to-Text and Text-to-Speech Flutter plugin with offline-first capabilities.
72Compare
Works with
Packages commonly used together with deepgram_speech_to_text: ones it builds on, ones built on it, and its own family.