How picklesmhr/sin-project-2025 works
This repository supports a browser-based Speech-in-Noise experiment: participants complete practice and pre-test, then a condition-dependent training or break phase, followed by post-test. The README describes adaptive SNR, typed sentence transcription, word-level scoring, and treatment feedback/replay. The experiment HTML and its trial/scoring code are not present in the supplied tree, so those documented stages have no source path and their internal wiring is uncertain. The available PHP endpoint accepts CSV data and writes participant files; the excerpt does not establish how the experiment invokes it.
Main entry points: jspsych.js jsPsych runtime · plugin-browser-check.js Browser check · plugin-preload.js Media preload · plugin-audio-keyboard-response.js Audio response trials
Components 17
Experiment flow
- SIN experiment
- Practice
- Pre-test
- Condition phase
- Training
- Break
- Post-test
- Adaptive SIN task
- Typed word scoring
jsPsych runtime
- jsPsych runtime
jspsych/jspsych.js
Trial plugins
- Browser check
jspsych/plugin-browser-check.js - Media preload
jspsych/plugin-preload.js - Audio response trials
jspsych/plugin-audio-keyboard-response.js - Text survey trial
jspsych/plugin-survey-text.js
Data persistence
- CSV save endpoint
save_data.php - CSV result files
save_data.php
Other components
- Participant
Connections 15
- Participant → SIN experiment: starts
- SIN experiment → jsPsych runtime: runs on
- SIN experiment → Practice: begins with
- Practice → Pre-test: continues to
- Pre-test → Condition phase: branches by condition
- Condition phase → Training: treatment selects
- Condition phase → Break: control selects
- Training → Post-test: continues to
- Break → Post-test: continues to
- Adaptive SIN task → Typed word scoring: scores response
- Browser check → jsPsych runtime: runs as trial
- Media preload → jsPsych runtime: runs as trial
- Audio response trials → jsPsych runtime: runs as trial
- Text survey trial → jsPsych runtime: runs as trial
- CSV save endpoint → CSV result files: writes CSV