mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Calculate the length of each sentence in speech marks
This commit is contained in:
parent
5e79529e11
commit
034f833529
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue