speech_core 0.2.0 copy "speech_core: ^0.2.0" to clipboard
speech_core: ^0.2.0 copied to clipboard

Provider-neutral speech recognition, synthesis, and analysis contracts.

speech_core #

Provider-neutral speech recognition, synthesis, VAD, end-of-utterance, and diarization contracts.

Providers expose stable string IDs plus typed capability, model, voice, request, result, and failure objects. Provider SDK objects and untyped payload maps stay inside adapter packages.

import 'package:speech_core/speech_core.dart';

final registry = SpeechProviderRegistry();
registry.register(provider);

Streaming STT, VAD, and EOU sessions are audio sinks. TTS is an AudioSource, so synthesized PCM can branch to playback, recording, metering, or analysis.

TurnCompletionScorer scores a finite window for whether the speaker actually finished, which silence alone cannot tell you, and TranscriptInverseTextNormalizer rewrites a transcript to written form without discarding its word timings.

Available adapters in this repository include FluidAudio, MLX Audio, Deepgram, and OpenAI TTS.

0
likes
150
points
26
downloads

Documentation

API reference

Publisher

verified publisherksh.dev

Weekly Downloads

Provider-neutral speech recognition, synthesis, and analysis contracts.

Repository (GitHub)
View/report issues

Topics

#speech-to-text #text-to-speech #speech-recognition #vad

License

MIT (license)

Dependencies

audio_core

More

Packages that depend on speech_core