diff --git a/public/voix-exemple2/mots.json b/public/voix-exemple2/mots.json
new file mode 100644
index 0000000..f873d3c
--- /dev/null
+++ b/public/voix-exemple2/mots.json
@@ -0,0 +1 @@
+{"p01": [["Sur", 0.0, 0.3], ["Mind,", 0.3, 0.62], ["la", 0.84, 1.02], ["réponse", 1.02, 1.36], ["s", 1.36, 1.56], ["'affiche", 1.56, 1.82], ["maintenant", 1.82, 2.2], ["tout", 2.2, 2.42], ["de", 2.42, 2.54], ["suite.", 2.54, 2.8]], "p02": [["Avant,", 0.0, 0.76], ["au", 1.08, 1.4], ["premier", 1.4, 1.72], ["message,", 1.72, 2.26], ["elle", 2.66, 2.74], ["attendait", 2.74, 3.12], ["la", 3.12, 3.24], ["fin", 3.24, 3.42], ["d", 3.42, 3.52], ["'une", 3.52, 3.62], ["animation,", 3.62, 4.04], ["plus", 4.36, 4.68], ["d", 4.68, 4.8], ["'une", 4.8, 4.92], ["seconde.", 4.92, 5.44]], "p03": [["alors", 0.0, 0.26], ["qu", 0.26, 0.44], ["'une", 0.44, 0.54], ["réponse", 0.54, 0.94], ["courte", 0.94, 1.4], ["était", 1.4, 1.68], ["souvent", 1.68, 2.02], ["prête", 2.02, 2.46], ["en", 2.46, 2.68], ["une", 2.68, 2.86], ["demi", 2.86, 3.08], ["-seconde.", 3.08, 3.6]], "p04": [["Désormais,", 0.0, 0.58], ["le", 0.82, 1.38], ["texte", 1.38, 1.96], ["apparaît", 1.96, 2.36], ["pendant", 2.36, 2.58], ["que", 2.58, 2.78], ["le", 2.78, 2.92], ["cadre", 2.92, 3.22], ["se", 3.22, 3.66], ["déroule.", 3.66, 4.08]], "p05": [["Autre", 0.0, 0.32], ["détail,", 0.32, 0.74], ["Min", 1.4, 1.6], ["connaît", 1.6, 2.24], ["la", 2.24, 2.38], ["date", 2.38, 2.66], ["et", 2.66, 2.94], ["l", 2.94, 3.08], ["'heure", 3.08, 3.16], ["de", 3.16, 3.32], ["Paris.", 3.32, 3.66]], "p06": [["Et", 0.0, 0.32], ["un", 0.32, 0.56], ["outil", 0.56, 0.82], ["météo", 0.82, 1.3], ["branché", 1.3, 1.82], ["sur", 1.82, 2.04], ["de", 2.04, 2.18], ["vraies", 2.18, 2.48], ["stations", 2.48, 2.78], ["est", 2.78, 3.38], ["en", 3.38, 3.52], ["préparation.", 3.52, 4.16]], "p07": [["Essayez", 0.0, 0.48], ["-le", 0.48, 0.56], ["sur", 0.56, 0.84], ["min", 0.84, 1.04], [".gastinel", 1.04, 1.88], [".me", 1.88, 3.62]]}
\ No newline at end of file
diff --git a/public/voix-exemple2/p01.wav b/public/voix-exemple2/p01.wav
new file mode 100644
index 0000000..0482993
Binary files /dev/null and b/public/voix-exemple2/p01.wav differ
diff --git a/public/voix-exemple2/p02.wav b/public/voix-exemple2/p02.wav
new file mode 100644
index 0000000..6d5c794
Binary files /dev/null and b/public/voix-exemple2/p02.wav differ
diff --git a/public/voix-exemple2/p03.wav b/public/voix-exemple2/p03.wav
new file mode 100644
index 0000000..6767488
Binary files /dev/null and b/public/voix-exemple2/p03.wav differ
diff --git a/public/voix-exemple2/p04.wav b/public/voix-exemple2/p04.wav
new file mode 100644
index 0000000..d19dc4c
Binary files /dev/null and b/public/voix-exemple2/p04.wav differ
diff --git a/public/voix-exemple2/p05.wav b/public/voix-exemple2/p05.wav
new file mode 100644
index 0000000..d08988d
Binary files /dev/null and b/public/voix-exemple2/p05.wav differ
diff --git a/public/voix-exemple2/p06.wav b/public/voix-exemple2/p06.wav
new file mode 100644
index 0000000..1f210b9
Binary files /dev/null and b/public/voix-exemple2/p06.wav differ
diff --git a/public/voix-exemple2/p07.wav b/public/voix-exemple2/p07.wav
new file mode 100644
index 0000000..7b2da70
Binary files /dev/null and b/public/voix-exemple2/p07.wav differ
diff --git a/src/ExempleVoix2.tsx b/src/ExempleVoix2.tsx
new file mode 100644
index 0000000..e99faef
--- /dev/null
+++ b/src/ExempleVoix2.tsx
@@ -0,0 +1,248 @@
+import React from 'react';
+import {AbsoluteFill, Audio, Easing, Sequence, interpolate, staticFile, useCurrentFrame} from 'remotion';
+import {loadFont} from '@remotion/google-fonts/Inter';
+import {C, Icon, IconBlock, Rule, Words, clamp, useSpr} from './NouveauteMind';
+import {PHRASES} from './voixExemple2';
+
+const {fontFamily} = loadFont('normal', {weights: ['400', '500', '600', '700', '800'], subsets: ['latin']});
+
+// Vidéo exemple 2, AVEC voix off (voix provisoire : dots.tts-soar, voix par défaut, en attendant le clonage de Théo).
+// Faits vérifiés le 17/10/2026 dans le code de Mind (prod, cornafserver) : voir NOTES/rapport-video-exemple2-20261017.md.
+export const FPS_EV2 = 30;
+const f = (sec: number) => Math.round(sec * FPS_EV2);
+const LEAD = 0.3; // silence avant la 1re phrase
+const GAP = 0.35; // silence entre phrases
+const TAIL = 1.0; // fin
+
+// ---------- Plans ----------
+const Big: React.FC<{children: React.ReactNode; gap?: number}> = ({children, gap = 44}) => (
+
{children}
+);
+
+const Counter: React.FC<{to: number; dur: number; color: string; unit?: string; delay?: number}> = ({to, dur, color, unit = 's', delay = 2}) => {
+ const fr = useCurrentFrame();
+ const v = interpolate(fr, [delay, delay + dur], [0, to], {...clamp, easing: Easing.out(Easing.cubic)});
+ return (
+
+ {v.toFixed(1).replace('.', ',')}{unit}
+
+ );
+};
+
+const Bar: React.FC<{label: string; val: number; max: number; color: string; delay: number}> = ({label, val, max, color, delay}) => {
+ const p = useSpr(delay, 22);
+ return (
+
+
+ {label}
+ {(val * p).toFixed(1).replace('.', ',')} s
+
+
+
+ );
+};
+
+/** Démonstration : le cadre se déroule (1,2 s) pendant que la réponse est déjà affichée. Réponse réelle de Mind (17/10). */
+const Deroule: React.FC = () => {
+ const fr = useCurrentFrame();
+ const open = interpolate(fr, [4, 4 + f(1.2)], [0, 1], {...clamp, easing: Easing.inOut(Easing.cubic)});
+ const words = "L'altitude du Mont Aiguille est de 2 087 mètres.".split(' ');
+ const n = Math.floor(interpolate(fr, [8, 34], [0, words.length], clamp));
+ const t = Math.min(1.2, Math.max(0, (fr - 4) / FPS_EV2));
+ return (
+
+
+
RÉPONSE RÉELLE
+
interface reconstituée
+
+
+
+
+
+
+
VOUS
+ Quelle est la hauteur du Mont Aiguille ?
+
+
+
MIND
+ {words.slice(0, n).join(' ')}
+
+
+
+
+
+ cadre : {t.toFixed(1).replace('.', ',')} s
+ · le texte est déjà là
+
+
+ );
+};
+
+const Format: React.FC<{part: 0 | 1}> = ({part}) => {
+ const p = useSpr(6, 20);
+ return (
+
+ FORMAT DONNÉ À MIND
+ {part === 0 ? (
+
+ ) : (
+ <>
+
+ (heure de Paris)
+ heure d'exemple
+ >
+ )}
+
+ );
+};
+
+const Stamp: React.FC = () => {
+ const p = useSpr(4, 12);
+ return (
+
+ EN PRÉPARATION
+
+ );
+};
+
+type Sub = {at: number; chap: string; accent: string; node: React.ReactNode};
+// `at` = début du plan, en secondes dans la phrase (calé sur un début de mot).
+const SCENES: Sub[][] = [
+ [
+ {at: 0, chap: 'NOUVEAUTÉ · MIND', accent: C.jaune, node: },
+ {at: 0.84, chap: 'NOUVEAUTÉ · MIND', accent: C.bleu, node: },
+ ],
+ [
+ {at: 0, chap: 'AVANT', accent: C.orange, node: },
+ {at: 1.08, chap: 'AVANT', accent: C.orange, node: },
+ {at: 2.66, chap: 'AVANT', accent: C.orange, node: },
+ {at: 4.36, chap: 'AVANT', accent: C.orange, node: },
+ ],
+ [
+ {at: 0, chap: 'AVANT', accent: C.orange, node: },
+ {at: 2.02, chap: 'AVANT', accent: C.orange, node: ordre de grandeur relevé dans le code de Mind},
+ ],
+ [
+ {at: 0, chap: 'MAINTENANT', accent: C.vert, node: },
+ {at: 1.38, chap: 'MAINTENANT', accent: C.vert, node: },
+ ],
+ [
+ {at: 0, chap: 'AUTRE DÉTAIL', accent: C.bleu, node: },
+ {at: 1.4, chap: 'AUTRE DÉTAIL', accent: C.bleu, node: },
+ {at: 2.66, chap: 'AUTRE DÉTAIL', accent: C.jaune, node: },
+ ],
+ [
+ {at: 0, chap: 'BIENTÔT', accent: C.orange, node: },
+ {at: 1.3, chap: 'BIENTÔT', accent: C.orange, node: {['vent', 'pluie', 'soleil'].map((n, i) => )}
},
+ {at: 2.78, chap: 'BIENTÔT', accent: C.orange, node: },
+ ],
+ [
+ {at: 0, chap: 'À TOI', accent: C.bleu, node: },
+ {at: 0.84, chap: 'À TOI', accent: C.bleu, node: },
+ ],
+];
+
+function Cta() {
+ const p = useSpr(4);
+ return (
+
+
+ mind.gastinel.me
+
+
+
+
+
+ );
+}
+
+// ---------- Chronologie ----------
+type Plan = {from: number; dur: number; sub: Sub};
+type Bloc = {audioFrom: number; plans: Plan[]};
+const blocs: Bloc[] = [];
+let cursor = 0;
+PHRASES.forEach((ph, i) => {
+ const lead = i === 0 ? LEAD : 0;
+ const end = i === PHRASES.length - 1 ? TAIL : GAP;
+ const start = cursor;
+ const audioFrom = start + f(lead);
+ const blocEnd = start + f(lead + ph.dur + end);
+ const subs = SCENES[i];
+ const plans = subs.map((s, j) => {
+ const from = j === 0 ? start : audioFrom + f(s.at);
+ const to = j === subs.length - 1 ? blocEnd : audioFrom + f(subs[j + 1].at);
+ return {from, dur: to - from, sub: s};
+ });
+ blocs.push({audioFrom, plans});
+ cursor = blocEnd;
+});
+export const TOTAL_EV2 = cursor;
+
+// ---------- Plan et sous-titres ----------
+const Shot: React.FC<{dur: number; accent: string; chap: string; children: React.ReactNode}> = ({dur, accent, chap, children}) => {
+ const fr = useCurrentFrame();
+ const wipe = interpolate(fr, [0, 9], [0, 1], {extrapolateRight: 'clamp', easing: Easing.bezier(0.7, 0, 0.2, 1)});
+ const zoom = interpolate(fr, [0, dur], [1, 1.03]);
+ return (
+
+ {children}
+
+ {chap}
+ 17.10.2026
+
+
+
+ );
+};
+
+/** Sous-titres mot à mot : groupe de 3 mots au plus, mot prononcé surligné en jaune. */
+const SousTitres: React.FC = () => {
+ const fr = useCurrentFrame();
+ for (let i = 0; i < PHRASES.length; i++) {
+ const ph = PHRASES[i];
+ const t = (fr - blocs[i].audioFrom) / FPS_EV2;
+ if (t < 0 || t > ph.dur + 0.15) continue;
+ let cur = ph.mots.findIndex(([, s, e]) => t >= s && t < e);
+ if (cur < 0) cur = ph.mots.reduce((a, [, s], k) => (t >= s ? k : a), 0);
+ const g0 = Math.floor(cur / 3) * 3;
+ const groupe = ph.mots.slice(g0, g0 + 3);
+ return (
+
+ {groupe.map(([w, s], k) => {
+ const on = g0 + k === cur;
+ const dit = t >= s;
+ return (
+ {w}
+ );
+ })}
+
+ );
+ }
+ return null;
+};
+
+export const ExempleVoix2: React.FC = () => {
+ const fr = useCurrentFrame();
+ return (
+
+ {blocs.map((b, i) => (
+
+ {b.plans.map((p, j) => (
+
+ {p.sub.node}
+
+ ))}
+
+
+
+
+ ))}
+ {/* Emplacement musique : laissé vide (aucune musique à licence vérifiée pour l'instant).
+ */}
+
+
+
+ );
+};
diff --git a/src/Root.tsx b/src/Root.tsx
index 9debb71..2805f76 100644
--- a/src/Root.tsx
+++ b/src/Root.tsx
@@ -5,6 +5,7 @@ import {JourneeTheoV2, TOTAL_V2, FPS_V2} from './JourneeTheoV2';
import {ActuViePrivee, TOTAL_AVP, FPS_AVP} from './ActuViePrivee';
import {NouveauteMind, TOTAL_NM, FPS_NM} from './NouveauteMind';
import {InvitationMind, TOTAL_IM, FPS_IM} from './InvitationMind';
+import {ExempleVoix2, TOTAL_EV2, FPS_EV2} from './ExempleVoix2';
export const Root: React.FC = () => (
<>
@@ -13,5 +14,6 @@ export const Root: React.FC = () => (
+
>
);
diff --git a/src/voixExemple2.ts b/src/voixExemple2.ts
new file mode 100644
index 0000000..854e458
--- /dev/null
+++ b/src/voixExemple2.ts
@@ -0,0 +1,381 @@
+// Généré depuis public/voix-exemple2/mots.json (horodatage faster-whisper, texte = script).
+export type Phrase = {id: string; dur: number; mots: [string, number, number][]};
+export const PHRASES: Phrase[] = [
+ {
+ "id": "p01",
+ "dur": 3.05,
+ "mots": [
+ [
+ "Sur",
+ 0,
+ 0.3
+ ],
+ [
+ "Mind,",
+ 0.3,
+ 0.62
+ ],
+ [
+ "la",
+ 0.84,
+ 1.02
+ ],
+ [
+ "réponse",
+ 1.02,
+ 1.36
+ ],
+ [
+ "s’affiche",
+ 1.36,
+ 1.82
+ ],
+ [
+ "maintenant",
+ 1.82,
+ 2.2
+ ],
+ [
+ "tout",
+ 2.2,
+ 2.42
+ ],
+ [
+ "de",
+ 2.42,
+ 2.54
+ ],
+ [
+ "suite.",
+ 2.54,
+ 2.8
+ ]
+ ]
+ },
+ {
+ "id": "p02",
+ "dur": 5.64,
+ "mots": [
+ [
+ "Avant,",
+ 0,
+ 0.76
+ ],
+ [
+ "au",
+ 1.08,
+ 1.4
+ ],
+ [
+ "premier",
+ 1.4,
+ 1.72
+ ],
+ [
+ "message,",
+ 1.72,
+ 2.26
+ ],
+ [
+ "elle",
+ 2.66,
+ 2.74
+ ],
+ [
+ "attendait",
+ 2.74,
+ 3.12
+ ],
+ [
+ "la",
+ 3.12,
+ 3.24
+ ],
+ [
+ "fin",
+ 3.24,
+ 3.42
+ ],
+ [
+ "d’une",
+ 3.42,
+ 3.62
+ ],
+ [
+ "animation,",
+ 3.62,
+ 4.04
+ ],
+ [
+ "plus",
+ 4.36,
+ 4.68
+ ],
+ [
+ "d’une",
+ 4.68,
+ 4.92
+ ],
+ [
+ "seconde.",
+ 4.92,
+ 5.44
+ ]
+ ]
+ },
+ {
+ "id": "p03",
+ "dur": 3.84,
+ "mots": [
+ [
+ "Alors",
+ 0,
+ 0.26
+ ],
+ [
+ "qu’une",
+ 0.26,
+ 0.54
+ ],
+ [
+ "réponse",
+ 0.54,
+ 0.94
+ ],
+ [
+ "courte",
+ 0.94,
+ 1.4
+ ],
+ [
+ "était",
+ 1.4,
+ 1.68
+ ],
+ [
+ "souvent",
+ 1.68,
+ 2.02
+ ],
+ [
+ "prête",
+ 2.02,
+ 2.46
+ ],
+ [
+ "en",
+ 2.46,
+ 2.68
+ ],
+ [
+ "une",
+ 2.68,
+ 2.86
+ ],
+ [
+ "demi-seconde.",
+ 2.86,
+ 3.6
+ ]
+ ]
+ },
+ {
+ "id": "p04",
+ "dur": 4.33,
+ "mots": [
+ [
+ "Désormais,",
+ 0,
+ 0.58
+ ],
+ [
+ "le",
+ 0.82,
+ 1.38
+ ],
+ [
+ "texte",
+ 1.38,
+ 1.96
+ ],
+ [
+ "apparaît",
+ 1.96,
+ 2.36
+ ],
+ [
+ "pendant",
+ 2.36,
+ 2.58
+ ],
+ [
+ "que",
+ 2.58,
+ 2.78
+ ],
+ [
+ "le",
+ 2.78,
+ 2.92
+ ],
+ [
+ "cadre",
+ 2.92,
+ 3.22
+ ],
+ [
+ "se",
+ 3.22,
+ 3.66
+ ],
+ [
+ "déroule.",
+ 3.66,
+ 4.08
+ ]
+ ]
+ },
+ {
+ "id": "p05",
+ "dur": 3.91,
+ "mots": [
+ [
+ "Autre",
+ 0,
+ 0.32
+ ],
+ [
+ "détail,",
+ 0.32,
+ 0.74
+ ],
+ [
+ "Mind",
+ 1.4,
+ 1.6
+ ],
+ [
+ "connaît",
+ 1.6,
+ 2.24
+ ],
+ [
+ "la",
+ 2.24,
+ 2.38
+ ],
+ [
+ "date",
+ 2.38,
+ 2.66
+ ],
+ [
+ "et",
+ 2.66,
+ 2.94
+ ],
+ [
+ "l’heure",
+ 2.94,
+ 3.16
+ ],
+ [
+ "de",
+ 3.16,
+ 3.32
+ ],
+ [
+ "Paris.",
+ 3.32,
+ 3.66
+ ]
+ ]
+ },
+ {
+ "id": "p06",
+ "dur": 4.41,
+ "mots": [
+ [
+ "Et",
+ 0,
+ 0.32
+ ],
+ [
+ "un",
+ 0.32,
+ 0.56
+ ],
+ [
+ "outil",
+ 0.56,
+ 0.82
+ ],
+ [
+ "météo,",
+ 0.82,
+ 1.3
+ ],
+ [
+ "branché",
+ 1.3,
+ 1.82
+ ],
+ [
+ "sur",
+ 1.82,
+ 2.04
+ ],
+ [
+ "de",
+ 2.04,
+ 2.18
+ ],
+ [
+ "vraies",
+ 2.18,
+ 2.48
+ ],
+ [
+ "stations,",
+ 2.48,
+ 2.78
+ ],
+ [
+ "est",
+ 2.78,
+ 3.38
+ ],
+ [
+ "en",
+ 3.38,
+ 3.52
+ ],
+ [
+ "préparation.",
+ 3.52,
+ 4.16
+ ]
+ ]
+ },
+ {
+ "id": "p07",
+ "dur": 3.87,
+ "mots": [
+ [
+ "Essaie-le",
+ 0,
+ 0.56
+ ],
+ [
+ "sur",
+ 0.56,
+ 0.84
+ ],
+ [
+ "mind.gastinel.me",
+ 0.84,
+ 3.62
+ ]
+ ]
+ }
+];