+
+ Interview Coach
+ {questionNumber > 0 && (
+ <>
+ ·
+ Question {questionNumber}
+ >
+ )}
+
+
+ {showQuestion && question &&
{question.text}
}
+
+ {stage === "playing" && !showQuestion && (
+
{interviewer.name} is speaking…
+ )}
+
+
+
+
+
+
+
+
+
+
+ {statusText}
+
+
+ {showDonePrompt && (
+
+
It looks like you've paused. Are you finished answering?
+
+
+
+
+
+ )}
+
+
+ {stage === "idle" && (
+
+ )}
+
+ {stage === "recording" && !showDonePrompt && (
+
+ )}
+
+ {stage === "done" && (
+ <>
+
+
+ >
+ )}
+
+
+ {segments.length > 0 && (
+ <>
+
+
+ {segments.map((seg, i) => (
+
+
+ {seg.start.toFixed(2)}s – {seg.end.toFixed(2)}s
+
+
{seg.text}
+
+ A {seg.arousal.toFixed(2)}
+ D {seg.dominance.toFixed(2)}
+ V {seg.valence.toFixed(2)}
+
+
+ ))}
+
+ >
+ )}
+