mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add todo
This commit is contained in:
parent
fbaa56c96f
commit
8c6a18aed1
1 changed files with 1 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ export const synthesizeTextToSpeech = async (
|
|||
const audioData: Buffer = Buffer.from([])
|
||||
// split ssml into chunks of 200 characters to stream faster
|
||||
const ssmlChunks = input.text.match(/.{1,200}/g)
|
||||
// TODO: not split on words and bookmarks
|
||||
if (ssmlChunks) {
|
||||
for (const ssmlChunk of ssmlChunks) {
|
||||
const ssml = `${startSsml(ssmlOptions)}${ssmlChunk}${endSsml()}`
|
||||
|
|
|
|||
Loading…
Reference in a new issue