Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

[Bug] TextToSpeech on Android overrides system set speech rate with value 1.0 #2092

@jpritchard-isl

Description

@jpritchard-isl

Description

The user set system speech rate value is overruled by TextToSpeech on the Android platform by the following line. The system configured speech rate should be used, rather than overruled.

/TextToSpeech/TextToSpeech.android.cs:150
tts.SetSpeechRate(1.0f);

Suggest removing this line until support for specifying speech rate is implemented as per feature request #715

Steps to Reproduce

  1. On Android, Settings, Text-to-speech output, set the Speech rate to an extreme value (high or low)
  2. Call Xamarin.Essentials.TextToSpeech.SpeakAsync(...)

Expected Behavior

Spoken at the speech rate set in Android settings.

Actual Behavior

Spoken at medium speech rate.

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: VS2022
  • Platform Target Frameworks:
    • Android: 13
  • Nuget Packages: n/a
  • Affected Devices: All

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions