feat: Update dependencies and add new voice

- Updates project dependencies to latest versions for improved performance and security.
- Adds a new voice option, 'Aoede', to the available voices.
- Modifies the voice change handler to force re-generation of future audio segments for the selected article.
- Updates Vite configuration to align with newer Vite versions and load environment variables correctly.
- Adjusts TypeScript configuration for a more modern setup.
- Removes unnecessary configuration from Nginx file.
This commit is contained in:
Anthony
2025-11-19 20:46:02 +08:00
parent 0b10d71554
commit 43435166f8
9 changed files with 80 additions and 55 deletions

View File

@@ -5,8 +5,9 @@ export const AVAILABLE_VOICES = [
{ name: VoiceName.Puck, label: 'Puck (Standard American, Male)' },
{ name: VoiceName.Charon, label: 'Charon (Deep, Authoritative Male)' },
{ name: VoiceName.Kore, label: 'Kore (Soft, Calm Female)' },
{ name: VoiceName.Fenrir, label: 'Fenrir (Energetic, Mid-Atlantic Male)' },
{ name: VoiceName.Fenrir, label: 'Fenrir (Mid-Atlantic/British Style, Male)' },
{ name: VoiceName.Zephyr, label: 'Zephyr (Clear, Professional Female)' },
{ name: VoiceName.Aoede, label: 'Aoede (Confident, Professional Female)' },
];
export const MIN_SPEED = 0.5;