forked from admin/french-vocab
16 lines
347 B
TypeScript
16 lines
347 B
TypeScript
export interface TtsSettings {
|
|
rate: number; // 0.1 - 2.0
|
|
pitch: number; // 0 - 2
|
|
voiceURI?: string; // exact voice identifier
|
|
autoSpeakWord: boolean;
|
|
autoSpeakExample: boolean;
|
|
}
|
|
|
|
export const DEFAULT_TTS_SETTINGS: TtsSettings = {
|
|
rate: 0.85,
|
|
pitch: 1.0,
|
|
voiceURI: undefined,
|
|
autoSpeakWord: false,
|
|
autoSpeakExample: false,
|
|
};
|