1 |
- {"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SpeechSynthesisVisemeEventArgs = void 0;\n/**\n * Defines contents of speech synthesis viseme event.\n * @class SpeechSynthesisVisemeEventArgs\n * Added in version 1.16.0\n */\nclass SpeechSynthesisVisemeEventArgs {\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 constructor(audioOffset, visemeId, animation) {\n this.privAudioOffset = audioOffset;\n this.privVisemeId = visemeId;\n this.privAnimation = animation;\n }\n /**\n * Specifies the audio offset.\n * @member SpeechSynthesisVisemeEventArgs.prototype.audioOffset\n * @function\n * @public\n * @returns {number} the audio offset.\n */\n get audioOffset() {\n return this.privAudioOffset;\n }\n /**\n * Specifies the viseme ID.\n * @member SpeechSynthesisVisemeEventArgs.prototype.visemeId\n * @function\n * @public\n * @returns {number} the viseme ID.\n */\n get visemeId() {\n return this.privVisemeId;\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 get animation() {\n return this.privAnimation;\n }\n}\nexports.SpeechSynthesisVisemeEventArgs = SpeechSynthesisVisemeEventArgs;","map":{"version":3,"names":["Object","defineProperty","exports","value","SpeechSynthesisVisemeEventArgs","constructor","audioOffset","visemeId","animation","privAudioOffset","privVisemeId","privAnimation"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/SpeechSynthesisVisemeEventArgs.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SpeechSynthesisVisemeEventArgs = void 0;\n/**\n * Defines contents of speech synthesis viseme event.\n * @class SpeechSynthesisVisemeEventArgs\n * Added in version 1.16.0\n */\nclass SpeechSynthesisVisemeEventArgs {\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 constructor(audioOffset, visemeId, animation) {\n this.privAudioOffset = audioOffset;\n this.privVisemeId = visemeId;\n this.privAnimation = animation;\n }\n /**\n * Specifies the audio offset.\n * @member SpeechSynthesisVisemeEventArgs.prototype.audioOffset\n * @function\n * @public\n * @returns {number} the audio offset.\n */\n get audioOffset() {\n return this.privAudioOffset;\n }\n /**\n * Specifies the viseme ID.\n * @member SpeechSynthesisVisemeEventArgs.prototype.visemeId\n * @function\n * @public\n * @returns {number} the viseme ID.\n */\n get visemeId() {\n return this.privVisemeId;\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 get animation() {\n return this.privAnimation;\n }\n}\nexports.SpeechSynthesisVisemeEventArgs = SpeechSynthesisVisemeEventArgs;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,8BAA8B,GAAG,KAAK,CAAC;AAC/C;AACA;AACA;AACA;AACA;AACA,MAAMA,8BAA8B,CAAC;EACjC;AACJ;AACA;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,WAAW,EAAEC,QAAQ,EAAEC,SAAS,EAAE;IAC1C,IAAI,CAACC,eAAe,GAAGH,WAAW;IAClC,IAAI,CAACI,YAAY,GAAGH,QAAQ;IAC5B,IAAI,CAACI,aAAa,GAAGH,SAAS;EAClC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIF,WAAWA,CAAA,EAAG;IACd,OAAO,IAAI,CAACG,eAAe;EAC/B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIF,QAAQA,CAAA,EAAG;IACX,OAAO,IAAI,CAACG,YAAY;EAC5B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIF,SAASA,CAAA,EAAG;IACZ,OAAO,IAAI,CAACG,aAAa;EAC7B;AACJ;AACAT,OAAO,CAACE,8BAA8B,GAAGA,8BAA8B","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|