From 50a011ce232395995111cbe34828929ae9de0961 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 19 May 2026 13:19:15 +0000 Subject: [PATCH] Simplify Gemini voice options and default to male voice (Charon) Replace the 8-item Google Cloud TTS voice list with 2 Gemini native voices: Charon (homme) and Kore (femme). Set Charon as the default when switching to Gemini engine in all four reel pages. https://claude.ai/code/session_01QBvwHAMZzVYfWvy1U5paat --- client/src/pages/mobile/new-reel.tsx | 14 ++++---------- client/src/pages/mobile/remotion-video.tsx | 14 ++++---------- client/src/pages/new-reel.tsx | 14 ++++---------- client/src/pages/remotion-video.tsx | 14 ++++---------- 4 files changed, 16 insertions(+), 40 deletions(-) diff --git a/client/src/pages/mobile/new-reel.tsx b/client/src/pages/mobile/new-reel.tsx index 0860cb4..87017e3 100644 --- a/client/src/pages/mobile/new-reel.tsx +++ b/client/src/pages/mobile/new-reel.tsx @@ -61,16 +61,10 @@ export default function MobileNewReel() { const [ttsEngine, setTtsEngine] = useState<'edge' | 'gemini'>('edge'); const [ttsVoice, setTtsVoice] = useState('fr-FR-VivienneMultilingualNeural'); - // French Gemini voices + // Gemini native TTS voices (Charon = homme, Kore = femme) const geminiVoices = [ - { label: 'Français - Standard A (Femme)', value: 'fr-FR-Standard-A' }, - { label: 'Français - Standard B (Homme)', value: 'fr-FR-Standard-B' }, - { label: 'Français - Standard C (Femme)', value: 'fr-FR-Standard-C' }, - { label: 'Français - Standard D (Homme)', value: 'fr-FR-Standard-D' }, - { label: 'Français - Wavenet A (Femme)', value: 'fr-FR-Wavenet-A' }, - { label: 'Français - Wavenet B (Homme)', value: 'fr-FR-Wavenet-B' }, - { label: 'Français - Wavenet C (Femme)', value: 'fr-FR-Wavenet-C' }, - { label: 'Français - Wavenet D (Homme)', value: 'fr-FR-Wavenet-D' }, + { label: 'Charon - Voix Homme', value: 'fr-FR-Standard-B' }, + { label: 'Kore - Voix Femme', value: 'fr-FR-Standard-A' }, ]; // French Edge TTS voices @@ -498,7 +492,7 @@ export default function MobileNewReel() { className="h-7 text-xs px-2" onClick={() => { setTtsEngine('gemini'); - setTtsVoice('fr-FR-Standard-A'); + setTtsVoice('fr-FR-Standard-B'); }} > Gemini diff --git a/client/src/pages/mobile/remotion-video.tsx b/client/src/pages/mobile/remotion-video.tsx index b24b83c..7986770 100644 --- a/client/src/pages/mobile/remotion-video.tsx +++ b/client/src/pages/mobile/remotion-video.tsx @@ -34,16 +34,10 @@ export default function MobileRemotionVideoPage() { const [ttsEngine, setTtsEngine] = useState<'edge' | 'gemini'>('edge'); const [ttsVoice, setTtsVoice] = useState('fr-FR-VivienneMultilingualNeural'); - // French Gemini voices + // Gemini native TTS voices (Charon = homme, Kore = femme) const geminiVoices = [ - { label: 'Français - Standard A (Femme)', value: 'fr-FR-Standard-A' }, - { label: 'Français - Standard B (Homme)', value: 'fr-FR-Standard-B' }, - { label: 'Français - Standard C (Femme)', value: 'fr-FR-Standard-C' }, - { label: 'Français - Standard D (Homme)', value: 'fr-FR-Standard-D' }, - { label: 'Français - Wavenet A (Femme)', value: 'fr-FR-Wavenet-A' }, - { label: 'Français - Wavenet B (Homme)', value: 'fr-FR-Wavenet-B' }, - { label: 'Français - Wavenet C (Femme)', value: 'fr-FR-Wavenet-C' }, - { label: 'Français - Wavenet D (Homme)', value: 'fr-FR-Wavenet-D' }, + { label: 'Charon - Voix Homme', value: 'fr-FR-Standard-B' }, + { label: 'Kore - Voix Femme', value: 'fr-FR-Standard-A' }, ]; // French Edge TTS voices @@ -345,7 +339,7 @@ export default function MobileRemotionVideoPage() { Edge diff --git a/client/src/pages/new-reel.tsx b/client/src/pages/new-reel.tsx index 7699b0f..9826365 100644 --- a/client/src/pages/new-reel.tsx +++ b/client/src/pages/new-reel.tsx @@ -82,16 +82,10 @@ export default function NewReel() { const [ttsEngine, setTtsEngine] = useState<'edge' | 'gemini'>('edge'); const [ttsVoice, setTtsVoice] = useState('fr-FR-VivienneMultilingualNeural'); - // French Gemini voices + // Gemini native TTS voices (Charon = homme, Kore = femme) const geminiVoices = [ - { label: 'Français - Standard A (Femme)', value: 'fr-FR-Standard-A' }, - { label: 'Français - Standard B (Homme)', value: 'fr-FR-Standard-B' }, - { label: 'Français - Standard C (Femme)', value: 'fr-FR-Standard-C' }, - { label: 'Français - Standard D (Homme)', value: 'fr-FR-Standard-D' }, - { label: 'Français - Wavenet A (Femme)', value: 'fr-FR-Wavenet-A' }, - { label: 'Français - Wavenet B (Homme)', value: 'fr-FR-Wavenet-B' }, - { label: 'Français - Wavenet C (Femme)', value: 'fr-FR-Wavenet-C' }, - { label: 'Français - Wavenet D (Homme)', value: 'fr-FR-Wavenet-D' }, + { label: 'Charon - Voix Homme', value: 'fr-FR-Standard-B' }, + { label: 'Kore - Voix Femme', value: 'fr-FR-Standard-A' }, ]; // French Edge TTS voices @@ -812,7 +806,7 @@ export default function NewReel() { variant={ttsEngine === 'gemini' ? 'default' : 'outline'} onClick={() => { setTtsEngine('gemini'); - setTtsVoice('fr-FR-Standard-A'); + setTtsVoice('fr-FR-Standard-B'); }} > Gemini TTS diff --git a/client/src/pages/remotion-video.tsx b/client/src/pages/remotion-video.tsx index edfd948..523e8b6 100644 --- a/client/src/pages/remotion-video.tsx +++ b/client/src/pages/remotion-video.tsx @@ -35,16 +35,10 @@ export default function RemotionVideoPage() { const [ttsEngine, setTtsEngine] = useState<'edge' | 'gemini'>('edge'); const [ttsVoice, setTtsVoice] = useState('fr-FR-VivienneMultilingualNeural'); - // French Gemini voices + // Gemini native TTS voices (Charon = homme, Kore = femme) const geminiVoices = [ - { label: 'Français - Standard A (Femme)', value: 'fr-FR-Standard-A' }, - { label: 'Français - Standard B (Homme)', value: 'fr-FR-Standard-B' }, - { label: 'Français - Standard C (Femme)', value: 'fr-FR-Standard-C' }, - { label: 'Français - Standard D (Homme)', value: 'fr-FR-Standard-D' }, - { label: 'Français - Wavenet A (Femme)', value: 'fr-FR-Wavenet-A' }, - { label: 'Français - Wavenet B (Homme)', value: 'fr-FR-Wavenet-B' }, - { label: 'Français - Wavenet C (Femme)', value: 'fr-FR-Wavenet-C' }, - { label: 'Français - Wavenet D (Homme)', value: 'fr-FR-Wavenet-D' }, + { label: 'Charon - Voix Homme', value: 'fr-FR-Standard-B' }, + { label: 'Kore - Voix Femme', value: 'fr-FR-Standard-A' }, ]; // French Edge TTS voices @@ -286,7 +280,7 @@ export default function RemotionVideoPage() { Edge