@@ -12,7 +12,7 @@ export type TextToSpeechLanguage =
1212 *
1313 * @property {TextToSpeechLanguage } lang - speaker's language
1414 * @property {ResourceSource } voiceSource - a source to a binary file with voice embedding
15- * @property {Record<string, unknown> } [extra] - an optional extra sources or properties related to specyfic voice
15+ * @property {Record<string, unknown> } [extra] - an optional extra sources or properties related to specific voice
1616 */
1717export interface VoiceConfig {
1818 lang : TextToSpeechLanguage ;
@@ -49,7 +49,7 @@ export interface TextToSpeechConfig {
4949 * Text to Speech module input definition
5050 *
5151 * @property {string } text - a text to be spoken
52- * @property {number } [speed] - optional speed argument - the higher it is, the faster the speach becomes
52+ * @property {number } [speed] - optional speed argument - the higher it is, the faster the speech becomes
5353 */
5454export interface TextToSpeechInput {
5555 text : string ;
@@ -59,7 +59,7 @@ export interface TextToSpeechInput {
5959/**
6060 * Text to Speech streaming input definition
6161 *
62- * Streaming mode in T2S is synchronized by passing specyfic callbacks
62+ * Streaming mode in T2S is synchronized by passing specific callbacks
6363 * executed at given moments of the streaming.
6464 * Actions such as playing the audio should happen within the onNext callback.
6565 * @property {() => void | Promise<void> } [onBegin] - Called when streaming begins
0 commit comments