Return empty array for speechmarks for realistic voices

This commit is contained in:
Hongbo Wu
2022-11-04 15:53:50 +08:00
parent 718f6716bc
commit 55ad5ec6f5
2 changed files with 2 additions and 1 deletions

View File

@ -76,6 +76,7 @@ export class RealisticTextToSpeech implements TextToSpeech {
return {
audioData,
speechMarks: [],
}
}

View File

@ -11,7 +11,7 @@ export interface TextToSpeechInput {
export interface TextToSpeechOutput {
audioData?: Buffer
speechMarks?: SpeechMark[]
speechMarks: SpeechMark[]
}
export interface SpeechMark {