mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove some debugging logs
This commit is contained in:
parent
f0b01e6eba
commit
e4fc10e09b
1 changed files with 0 additions and 10 deletions
|
|
@ -86,11 +86,6 @@ export const synthesizeTextToSpeech = async (
|
|||
|
||||
// The unit of e.audioOffset is tick (1 tick = 100 nanoseconds), divide by 10,000 to convert to milliseconds.
|
||||
synthesizer.wordBoundary = (s, e) => {
|
||||
console.debug(
|
||||
`(word boundary) Audio offset: ${e.audioOffset / 10000}ms, text: ${
|
||||
e.text
|
||||
}`
|
||||
)
|
||||
speechMarks.push({
|
||||
word: e.text,
|
||||
time: (timeOffset + e.audioOffset) / 10000,
|
||||
|
|
@ -101,11 +96,6 @@ export const synthesizeTextToSpeech = async (
|
|||
}
|
||||
|
||||
synthesizer.bookmarkReached = (s, e) => {
|
||||
console.debug(
|
||||
`(bookmark reached) Audio offset: ${
|
||||
e.audioOffset / 10000
|
||||
}ms, bookmark text: ${e.text}`
|
||||
)
|
||||
speechMarks.push({
|
||||
word: e.text,
|
||||
time: (timeOffset + e.audioOffset) / 10000,
|
||||
|
|
|
|||
Loading…
Reference in a new issue