UNPKG

@minto-ai/huoshan-mp-tts

Version:

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

14 lines (13 loc) 484 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; protected onActive(): void; execute(context: SerialTaskExecuteContext<AudioBuffer, never>): void; protected onFinish(): void; protected onBeforeFirstExecute(): void; } export default AudioActuator;