Neural speech tracking in noise reflects the opposing influence of SNR on intelligibility and attentional effort
This repository contains code for reproducing the figures in our study "Neural speech tracking in noise reflects the opposing influence of SNR on intelligibility and attentional effort" published on Imaging Neuroscience. All analyses and visualizations are implemented in main.m
, with supporting data in the provided .mat
files.
main.m
— MATLAB script that generates all figures in the paper.DataShared_*.mat
— Supporting data files required to reproduce figures.README.md
— This documentation file.
Each subject’s segmented EEG data (anonymized), trial-level condition labels (e.g., SNR, SI, rT, rM…), and the corresponding speech envelope are available here.
We welcome and encourage re-use of this dataset. If you use it in your work, please cite our paper accordingly.
- SI vs. SNR: Shows speech intelligibility curves for both pedestrian and babble noise.
- Key Insight: No significant difference in SI between the two noise types.
- 2A-C: Heatmaps showing target tracking (rT), masker tracking (rM), and their difference (rD = rT - rM) across SNR and SI bins.
- 2D-E: Group-averaged rT, rM, and rD as functions of SI and SNR, with SEM error bars.
- 2F-G:
- 2F: rD across SNR levels for different SI bins, with linear regression lines.
- 2G: Regression slopes showing how rD-SNR relationships change by SI bin, derived via linear mixed-effects models (LMEs).
- 3A-B:
- 3A: Repeated-word hit rate (HR) increases with SNR.
- 3B: Gaze velocity (GV) increases with SNR, suggesting reduced attentional effort (AE).
- 3C-D:
- 3C: rD is positively associated with HR (binned analysis).
- 3D: In ceiling SI trials, GV negatively correlates with rD.
- 3E-F:
- 3E: Positive HR–rD relationship persists across SNR bins.
- 3F: Negative GV–rD relationship holds across all SNR levels.
- 4A: Fixed effects from LME predicting rD under low vs. ceiling SI conditions. Significant predictors are highlighted.
- 4C: LME modeling of how SNR modulates SI and GV (both fixed and random effects).
- 4D: Interaction between SNR and SI/GV in predicting rD, visualized with slope bar plots per SNR level.
- MATLAB R2021a or later
- Signal Processing Toolbox
- Statistics and Machine Learning Toolbox
- Open
main.m
in MATLAB. - Ensure the two
.mat
files are in the same directory. - Run the script to generate all figures.
This project is licensed under the MIT License. See the LICENSE
file for details.
For questions or collaborations, please contact [email protected] or open an issue.