import React from 'react'; interface PitchStabilityProps { f0_std: number; } const PitchStability: React.FC = ({ f0_std }) => { // f0_std < 1.5 is AI, 2.5-5.0 is Human const isStable = f0_std < 1.8; const percentage = Math.min(100, Math.max(0, (f0_std / 8) * 100)); return (
Prosody Stability {isStable ? 'Unnatural' : 'Natural'}
{/* Target range marker 2.5-5.0 */}
{f0_std.toFixed(2)} st

{isStable ? 'Pitch variance is suspiciously low, indicating robotic synthesizer output.' : 'Natural prosodic variation detected within human speech parameters.'}

); }; export default PitchStability;