Return empty array for speechmarks for realistic voices
This commit is contained in:
@ -76,6 +76,7 @@ export class RealisticTextToSpeech implements TextToSpeech {
|
||||
|
||||
return {
|
||||
audioData,
|
||||
speechMarks: [],
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ export interface TextToSpeechInput {
|
||||
|
||||
export interface TextToSpeechOutput {
|
||||
audioData?: Buffer
|
||||
speechMarks?: SpeechMark[]
|
||||
speechMarks: SpeechMark[]
|
||||
}
|
||||
|
||||
export interface SpeechMark {
|
||||
|
||||
Reference in New Issue
Block a user