UNPKG

@hahnpro/ms-speech-sdk

Version:
1 lines 2.26 kB
{"version":3,"sources":["src/sdk/SpeechSynthesisVisemeEventArgs.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,qBAAa,8BAA8B;IACvC,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,aAAa,CAAS;IAE9B;;;;;;OAMG;gBACgB,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAM3E;;;;;;OAMG;IACH,IAAW,WAAW,IAAI,MAAM,CAE/B;IAED;;;;;;OAMG;IACH,IAAW,QAAQ,IAAI,MAAM,CAE5B;IAED;;;;;;OAMG;IACH,IAAW,SAAS,IAAI,MAAM,CAE7B;CACJ","file":"SpeechSynthesisVisemeEventArgs.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\n/**\n * Defines contents of speech synthesis viseme event.\n * @class SpeechSynthesisVisemeEventArgs\n * Added in version 1.16.0\n */\nexport class SpeechSynthesisVisemeEventArgs {\n private privAudioOffset: number;\n private privVisemeId: number;\n private privAnimation: string;\n\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {number} audioOffset - The audio offset.\n * @param {number} visemeId - The viseme ID.\n * @param {string} animation - The animation, could be in svg or other format.\n */\n public constructor(audioOffset: number, visemeId: number, animation: string) {\n this.privAudioOffset = audioOffset;\n this.privVisemeId = visemeId;\n this.privAnimation = animation;\n }\n\n /**\n * Specifies the audio offset.\n * @member SpeechSynthesisVisemeEventArgs.prototype.audioOffset\n * @function\n * @public\n * @returns {number} the audio offset.\n */\n public get audioOffset(): number {\n return this.privAudioOffset;\n }\n\n /**\n * Specifies the viseme ID.\n * @member SpeechSynthesisVisemeEventArgs.prototype.visemeId\n * @function\n * @public\n * @returns {number} the viseme ID.\n */\n public get visemeId(): number {\n return this.privVisemeId;\n }\n\n /**\n * Specifies the animation.\n * @member SpeechSynthesisVisemeEventArgs.prototype.animation\n * @function\n * @public\n * @returns {string} the animation, could be in svg or other format.\n */\n public get animation(): string {\n return this.privAnimation;\n }\n}\n"]}