@huluvu424242/honey-slideshow
Version:
Text to Speech component wich is reading texts from DOM elements.
20 lines (19 loc) • 665 B
TypeScript
import { Sprachsynthese } from "../../shared/sprachausgabe/sprachsynthese";
export declare class Sprachauswahl {
sprachSynthese: Sprachsynthese;
voice: SpeechSynthesisVoice;
rate: number;
volume: number;
pitch: number;
constructor(sprachsynthese: Sprachsynthese);
protected initDefaultStimme(): void;
getRate(): number;
getVolume(): number;
getPitch(): number;
getVoice(): SpeechSynthesisVoice;
getVoiceList(): SpeechSynthesisVoice[];
setChoosenVoice(voice: SpeechSynthesisVoice): void;
setVolume(volume: number): void;
setRate(rate: number): void;
setPitch(pitch: number): void;
}