Calculate the length of each sentence in speech marks
This commit is contained in:
@ -99,7 +99,7 @@ export const synthesizeTextToSpeech = async (
|
||||
word: e.text,
|
||||
time: (timeOffset + e.audioOffset) / 10000,
|
||||
start: wordOffset + e.textOffset,
|
||||
length: e.wordLength,
|
||||
length: e.text.length,
|
||||
type: 'sentence',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user