UNPKG

@aituber-onair/voice

Version:

Voice synthesis library for AITuber OnAir

16 lines (15 loc) 553 B
import { VoiceEngineType } from '../types/voiceEngine'; import { VoiceEngine } from './VoiceEngine'; /** * Voice engine factory * Generate appropriate voice engine instances based on voice engine type */ export declare class VoiceEngineFactory { /** * Get the voice engine for the specified engine type * @param engineType string of engine type ('voicevox', 'voicepeak', etc.) * @returns voice engine instance * @throws error if engine type is unknown */ static getEngine(engineType: VoiceEngineType): VoiceEngine; }