From e4fc10e09b43c71660f5eb7234b279c0a848fa48 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Thu, 15 Sep 2022 10:58:27 +0800 Subject: [PATCH] Remove some debugging logs --- packages/text-to-speech/src/textToSpeech.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/text-to-speech/src/textToSpeech.ts b/packages/text-to-speech/src/textToSpeech.ts index f7144d20f..604835549 100644 --- a/packages/text-to-speech/src/textToSpeech.ts +++ b/packages/text-to-speech/src/textToSpeech.ts @@ -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,