You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
When supplying "lang" and "rate" arguments to the "speak()" Method there is a long delay before the utterance starts. This does not happen, when not suppling "lang" or "rate" arguments.
Expected behavior:
No delay before the utterance when calling "speak()", regardless of arguments given.
Steps to reproduce:
Install Plugin
Create "TTSOptions" Array with "lang" or "rate" specified
Call "speak()" Method with those Options
Related code:
// Type definitions of variables used, values are assigned before initialising the "options" Array.
public playBackSpeed: number;
let filteredText: string;
// Initialise variables...
const options: TTSOptions = {
text: filteredText,
lang: 'de-DE',
rate: this.playBackSpeed,
pitch: this.pitch,
volume: 1.0,
category: 'ambient'
};
try {
await TextToSpeech.speak(options);
this.speaking = false;
} catch (e) {}
The text was updated successfully, but these errors were encountered:
ThomasWagner-dev
changed the title
Delay before Utterance when calling speak() Method bug:
bug: Delay before Utterance when calling speak() Method
Feb 24, 2023
Plugin version: 2.0.1
Platform(s): Web, Android?, Ios?
Current behavior:
When supplying "lang" and "rate" arguments to the "speak()" Method there is a long delay before the utterance starts. This does not happen, when not suppling "lang" or "rate" arguments.
Expected behavior:
No delay before the utterance when calling "speak()", regardless of arguments given.
Steps to reproduce:
Related code:
Other information:
Capacitor doctor:
The text was updated successfully, but these errors were encountered: