Skip to main content

Engine inputs

Vocal pipeline ```python

engine = VocalAcousticEngine(sample_rate=16000, frame_length_ms=25, hop_length_ms=10, gender=None, # auto) features: VocalFeatures = engine.extract_features(audio, sr=16000) Engine internals:
  1. speech analysis library Sound object loaded
  2. F0 contour via Praat autocorrelation (gender-aware range)
  3. Voice quality (jitter, shimmer, HNR) via Praat point-process
  4. Prosody (speaking rate, pauses, intensity)
  5. Spectral (MFCC, centroid, bandwidth, rolloff, flatness) via audio analysis library
  6. Clinical marker fusion (depression, anxiety, distress indices)

Facial pipeline ```python

engine = FacialPhysiologicalEngine(fps=30, min_hr_duration=30, min_hrv_duration=60, roi_type=‘forehead’,) signals: PhysiologicalSignals = engine.extract_features(frames, timestamps=None)
internals:
python @dataclass class ConstructActivation: name: str # e.g. “potential_threat_anxiety” score: float # 0–1 activation confidence: float # 0–1 calibrated contributors: list # [] interpretation: str # clinical text domain: str # neurobehavioral domain low_threshold: float = 0.3 high_threshold: float = 0.7 # get_severity → “low” | “moderate” | “high”