Skip to content

Chrome doesn't work. #609

@du220

Description

@du220

🐛 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions