UNPKG

@minto-ai/huoshan-mp-tts

Version:

借助“火山引擎在线语音合成API”实现微信小程序端“文本转语音

13 lines (12 loc) 452 B
import { SerialTaskExecuteContext, SerialHandler } from '../handler'; declare class AudioActuator extends SerialHandler<AudioBuffer, never> { private static FADE_DURATION; private audioContext; private bufferSource; private gainNode; private volume; execute(context: SerialTaskExecuteContext<AudioBuffer, never>): void; protected onFinish(): void; protected onBeforeFirstExecute(): void; } export default AudioActuator;