voice_guidance 0.3.0 copy "voice_guidance: ^0.3.0" to clipboard
voice_guidance: ^0.3.0 copied to clipboard

Engine-agnostic voice guidance foundation for turn announcements and safety warnings. Provides TTS abstraction, FlutterTts implementation, and NoOp fallback for tests and headless environments.

voice_guidance #

Engine-agnostic voice guidance foundation for turn announcements and safety warnings in driver-assisting navigation flows.

voice_guidance provides a small abstraction over text-to-speech (TTS) so the navigation domain can remain independent from platform TTS APIs.

Features #

  • TtsEngine interface for pluggable speech engines.
  • FlutterTtsEngine implementation using flutter_tts.
  • NoOpTtsEngine for tests and non-audio environments.
  • VoiceGuidanceConfig for runtime voice settings.

Install #

dependencies:
  voice_guidance: ^0.1.0

Quick Start #

import 'package:voice_guidance/voice_guidance.dart';

final tts = FlutterTtsEngine();
await tts.setLanguage('ja-JP');
await tts.setVolume(1.0);
await tts.speak('300 meters ahead, turn right.');

API Overview #

API Purpose
TtsEngine Abstract speech interface
FlutterTtsEngine Real platform speech implementation
NoOpTtsEngine Silent fallback for CI/tests
VoiceGuidanceConfig Runtime voice behavior configuration

License #

BSD-3-Clause - see LICENSE.

0
likes
130
points
90
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Engine-agnostic voice guidance foundation for turn announcements and safety warnings. Provides TTS abstraction, FlutterTts implementation, and NoOp fallback for tests and headless environments.

Repository (GitHub)
View/report issues
Contributing

Topics

#tts #voice #navigation #accessibility #flutter

License

BSD-3-Clause (license)

Dependencies

equatable, flutter, flutter_bloc, flutter_tts, navigation_safety, routing_engine

More

Packages that depend on voice_guidance