-
-
Notifications
You must be signed in to change notification settings - Fork 315
Open
Description
🐛 Bug Report
Edge and Firefox play normally. Chrome doesn't work.
Expected behavior
Reproduction steps
Future _speakNumber(String number) async {
NcsProvider goNcs = Provider.of(context, listen: false);
try {
await _flutterTts.setLanguage("en-US");
//await _flutterTts.setVoice({"name": "en-US-Wavenet-D", "locale": "en-US"});
await _flutterTts.awaitSpeakCompletion(true);
//await _flutterTts.setSpeechRate(0.6);
await _flutterTts.setVolume(1.0);
await _flutterTts.setSpeechRate(1.0);
await _flutterTts.setPitch(1.0);
//await _flutterTts.speak("A12");
await _flutterTts.speak(number);
if(goNcs.nRepetitions==2){await _flutterTts.speak(number);}
} catch (e) {
debugPrint("TTS Error: $e");
}
}
Configuration
Version:
flutter_tts: ^4.2.3
Platform:
- :web Google Chrome::Version 140.0.7339.81 (Official Build) (64-bit)
Metadata
Metadata
Assignees
Labels
No labels