Javascript 文本到语音:在逗号之间暂停

Javascript 文本到语音:在逗号之间暂停,javascript,typescript,text-to-speech,Javascript,Typescript,Text To Speech,我使用tts,文本到语音。我想在逗号后加一个较长的停顿。this.allTodos和this.allTodosTeam还包含一些逗号。有机会这样做吗 playMyDay() { let text = 'Your day in 60 seconds: Your tasks for today, ' + this.allTodos + 'There are also some team tasks: ' + this.allTodosTeam if (text != '') { this

我使用tts,文本到语音。我想在逗号后加一个较长的停顿。this.allTodos和this.allTodosTeam还包含一些逗号。有机会这样做吗

playMyDay() {

let text = 'Your day in 60 seconds: Your tasks for today, ' + this.allTodos + 'There are also some team tasks: ' + this.allTodosTeam

if (text != '') {
    this.buttonIcon = 'ios-headset'
    this.tts.speak({
      text: text,
      locale: "en-EN",
      rate: 1.4
    })
  .then(() => this.buttonIcon = 'ios-play')
  .catch((reason: any) => console.log(reason));
  }
}

请提供您正在使用的库的链接。