@aituber-onair/core
Version:
Core library for AITuber OnAir providing voice synthesis and chat processing
20 lines (19 loc) • 572 B
TypeScript
import { Talk } from '../../../types';
import { VoiceEngine } from './VoiceEngine';
/**
* VoiceVox voice synthesis engine
*/
export declare class VoiceVoxEngine implements VoiceEngine {
private apiEndpoint;
fetchAudio(input: Talk, speaker: string): Promise<ArrayBuffer>;
/**
* Adjust parameters according to emotion
*/
private adjustEmotionParameters;
getTestMessage(textVoiceText?: string): string;
/**
* Set custom API endpoint URL
* @param apiUrl custom API endpoint URL
*/
setApiEndpoint(apiUrl: string): void;
}