How aahanakabdugale/oscine works
Oscine is a contrastive speech-analysis product: a participant selects an orator baseline, submits a recording, and receives temporally localized delivery flaws, mathematical coaching explanations, rubric scores, and visual comparisons. The documented runtime stages are word alignment and acoustic feature extraction, contrastive detection, explanation/scoring, and dashboard presentation. The repository also includes curated ideal/flawed recordings and annotations. The README documents the processing pipeline; some API-to-frontend wiring and unsampled subsystem details are not established by the excerpts, so those links are omitted.
Main entry points: api.py Analysis API · App.jsx Analysis dashboard · features.py Acoustic features · detect.py Flaw grounding
Components 10
Analysis experience
- Analysis dashboard
frontend/src/App.jsx - UI entry
frontend/src/main.jsx - Analysis API
src/api.py
Speech analysis
- Word alignment
src/align.py - Acoustic features
src/features.py - Flaw grounding
src/detect.py - Explanation and rubric
src/explain.py
Reference corpus
- Reference speech corpus
dataset - Flaw annotations
dataset/labels.json
Other components
- Participant
Connections 12
- Participant → Analysis dashboard: submits recording
README.md - UI entry → Analysis dashboard: renders
frontend/src/main.jsx - Analysis dashboard → Analysis API: requests analysis
- Analysis API → Reference speech corpus: loads baseline
src/api.py - Analysis API → Word alignment: aligns words
README.md - Analysis API → Acoustic features: extracts features
README.md - Analysis API → Flaw grounding: grounds flaws
src/api.py - Acoustic features → Word alignment: uses timestamps
src/features.py - Flaw grounding → Acoustic features: compares features
src/detect.py - Analysis API → Explanation and rubric: explains and scores
src/api.py - Reference speech corpus → Flaw annotations: includes labels
README.md - Analysis API → Analysis dashboard: returns diagnostics
README.md