The shape of attention reflects flexible filtering of natural speech modulations.
The 3 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Methods › MPS and MRF ↔ GetOmegas.m, the whole file · a weak match · score 0.65 · spectral modulation scale, temporal modulation rate, MPS, cycles, Hz, acoustic
- [2] § Methods › Envelope and spectrogram processing ↔ GetSpectrogram.m, lines 11–84 · score 0.61 · gammatone filterbank, cochlear, compression, bands, signal, octave
- [3] § Results › MRF across tasks ↔ example.m, lines 1–20 · score 0.51 · reconstructed spectrograms, Modulation Response Function, cognitive, cortical, acoustic, MRF
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 135 lines · 5.1 KB · no license · 1 match
- % =========================================================================%
- % Author: Huet, M.-Ph., & Elhilali, M.
- % Contact: [email hidden]
- % If used, please cite:
- % Huet & Elhilali (2025), bioRxiv, https://doi.org/10.1101/2025.05.22.655464
- % =========================================================================
- function [omegas_t, omegas_f, params] = GetOmegas(rate_params, scale_params, FS, FMIN, FMAX, NCHAN, TMIN)
- % GETOMEGAS Create temporal and spectral modulation axes for MPS/MRF analysis.
- %
- % Minimal use:
- % [omegas_t, omegas_f] = GetOmegas(rate_params, scale_params)
- %
- % Recommended use:
- % [omegas_t, omegas_f, params] = GetOmegas(rate_params, scale_params, FS, FMIN, FMAX, NCHAN, TMIN)
- %
- % Inputs:
- % rate_params = [MIN_RATE, MAX_RATE, STEP_RATE] in log2(Hz)
- % scale_params = [MIN_SCALE, MAX_SCALE, STEP_SCALE] in log2(cycles/octave)
- % TMIN = shortest signal duration in seconds
- % FS = spectrogram sampling rate in Hz
- % FMIN = minimum acoustic frequency in Hz
- % FMAX = maximum acoustic frequency in Hz
- % NCHAN = number of spectrogram frequency channels
- %
- % Outputs:
- % omegas_t = temporal modulation rates in Hz
- % omegas_f = spectral modulation scales in cycles/octave
- % params = corrected log2 parameters
- NCYCLE = 2;
- MIN_RATE = rate_params(1);
- MAX_RATE = rate_params(2);
- STEP_RATE = rate_params(3);
- MIN_SCALE = scale_params(1);
- MAX_SCALE = scale_params(2);
- STEP_SCALE = scale_params(3);
- has_limits = nargin >= 7 && ...
- ~isempty(FS) && ~isempty(FMIN) && ~isempty(FMAX) && ...
- ~isempty(NCHAN) && ~isempty(TMIN);
- if ~has_limits
- warning(['No signal/spectrogram constraints provided. ' ...
- 'Axes generated without automatic checks. To avoid aliasing, use ' ...
- 'MAX_RATE < FS/2 and MAX_SCALE < NCHAN/2; minimum rates/scales should allow >=2 cycles.']);
- else
- % ---------------------------------------------------------------------
- % Temporal rate limits
- % ---------------------------------------------------------------------
- min_rate_recommended = NCYCLE / TMIN;
- max_rate_recommended = FS / 2;
- if 2^MIN_RATE < min_rate_recommended
- new_MIN_RATE = ceil(log2(min_rate_recommended) / STEP_RATE) * STEP_RATE;
- warning(['[MPS] MIN_RATE too low: %.3f log2 Hz (%.3f Hz).\n' ...
- 'Recommended minimum is %.3f log2 Hz (%.3f Hz), based on %d cycles over %.3f s.\n' ...
- 'Using MIN_RATE = %.3f instead.'], ...
- MIN_RATE, 2^MIN_RATE, ...
- log2(min_rate_recommended), min_rate_recommended, NCYCLE, TMIN, ...
- new_MIN_RATE);
- MIN_RATE = new_MIN_RATE;
- end
- if 2^MAX_RATE > max_rate_recommended
- new_MAX_RATE = floor(log2(max_rate_recommended) / STEP_RATE) * STEP_RATE;
- warning(['[MPS] MAX_RATE too high: %.3f log2 Hz (%.3f Hz).\n' ...
- 'Recommended maximum is %.3f log2 Hz (%.3f Hz), based on FS/4.\n' ...
- 'Using MAX_RATE = %.3f instead.'], ...
- MAX_RATE, 2^MAX_RATE, ...
- log2(max_rate_recommended), max_rate_recommended, ...
- new_MAX_RATE);
- MAX_RATE = new_MAX_RATE;
- end
- % ---------------------------------------------------------------------
- % Spectral scale limits
- % ---------------------------------------------------------------------
- B_oct = log2(FMAX / FMIN);
- min_scale_recommended = NCYCLE / B_oct;
- max_scale_recommended = NCHAN / 2;
- if 2^MIN_SCALE < min_scale_recommended
- new_MIN_SCALE = ceil(log2(min_scale_recommended) / STEP_SCALE) * STEP_SCALE;
- warning(['[MPS] MIN_SCALE too low: %.3f log2 cyc/oct (%.3f cyc/oct).\n' ...
- 'Recommended minimum is %.3f log2 cyc/oct (%.3f cyc/oct), based on %d cycles over %.3f octaves.\n' ...
- 'Using MIN_SCALE = %.3f instead.'], ...
- MIN_SCALE, 2^MIN_SCALE, ...
- log2(min_scale_recommended), min_scale_recommended, NCYCLE, B_oct, ...
- new_MIN_SCALE);
- MIN_SCALE = new_MIN_SCALE;
- end
- if 2^MAX_SCALE > max_scale_recommended
- new_MAX_SCALE = floor(log2(max_scale_recommended) / STEP_SCALE) * STEP_SCALE;
- warning(['[MPS] MAX_SCALE too high: %.3f log2 cyc/oct (%.3f cyc/oct).\n' ...
- 'Recommended maximum is %.3f log2 cyc/oct (%.3f cyc/oct), based on NCHAN/4.\n' ...
- 'Using MAX_SCALE = %.3f instead.'], ...
- MAX_SCALE, 2^MAX_SCALE, ...
- log2(max_scale_recommended), max_scale_recommended, ...
- new_MAX_SCALE);
- MAX_SCALE = new_MAX_SCALE;
- end
- end
- % -------------------------------------------------------------------------
- % Create modulation axes
- % -------------------------------------------------------------------------
- omegas_t = 2.^(MIN_RATE:STEP_RATE:MAX_RATE);
- omegas_f = 2.^(MIN_SCALE:STEP_SCALE:MAX_SCALE);
- params = struct();
- params.MIN_RATE = MIN_RATE;
- params.MAX_RATE = MAX_RATE;
- params.STEP_RATE = STEP_RATE;
- params.MIN_SCALE = MIN_SCALE;
- params.MAX_SCALE = MAX_SCALE;
- params.STEP_SCALE = STEP_SCALE;
- params.NCYCLE = NCYCLE;
- params.has_limits = has_limits;
- end
GetOmegas.m at commit f3e3820, no license · at the source
Overview
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repositories
Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.
Zenodo 19830754
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
12 files
- FoldRS.m, MATLAB, 46 lines
- GetFstep.m, MATLAB, 14 lines
- GetGaborFilter.m, MATLAB, 64 lines
- GetOmegas.m, MATLAB, 135 lines
- GetRS.m, MATLAB, 49 lines
- GetSpectrogram.m, MATLAB, 84 lines
- PermuteFold.m, MATLAB, 17 lines
- PlotRS.m, MATLAB, 154 lines
- PlotSpectrogram.m, MATLAB, 66 lines
- example.m, MATLAB, 67 lines
- viridis.m, MATLAB, 267 lines
- README.md, Text, 58 lines
mphuet/matgaborstm
f3e3820996ae423b1cd8847512240214824177da, 25 April 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
12 files
- FoldRS.m, MATLAB, 46 lines
- GetFstep.m, MATLAB, 14 lines
- GetGaborFilter.m, MATLAB, 64 lines
- GetOmegas.m, MATLAB, 135 lines, 1 match
- GetRS.m, MATLAB, 49 lines
- GetSpectrogram.m, MATLAB, 84 lines, 1 match
- PermuteFold.m, MATLAB, 17 lines
- PlotRS.m, MATLAB, 154 lines
- PlotSpectrogram.m, MATLAB, 66 lines
- example.m, MATLAB, 67 lines, 1 match
- viridis.m, MATLAB, 267 lines
- README.md, Text, 58 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: Zenodo 19830754
Read it in the paper: doi.org/10.1038/s42003-026-10265-1.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 22 scripts, each with its path and the digest of its content;
- 3 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- zenodo:19745687, at Zenodo; found in “Data availability”
Data availability statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to a dataset: Zenodo 19745687
Read it in the paper: doi.org/10.1038/s42003-026-10265-1.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 3 keywords, 13 MeSH terms, 1 funder, 69 references.
Cite
This paper
Huet, M.-P., & Elhilali, M. (2026). The shape of attention reflects flexible filtering of natural speech modulations. Communications biology, 9(1), 1107. https://
BibTeX
@article{huet2026shape,
author = {Huet, Moïra-Phoebé and Elhilali, Mounya},
title = {{The shape of attention reflects flexible filtering of natural speech modulations}},
journal = {Communications biology},
year = {2026},
month = may,
volume = {9},
number = {1},
pages = {1107},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/
url = {https://
pmid = {42177335},
pmcid = {PMC13478475}
}
RIS
TY - JOUR
AU - Huet, Moïra-Phoebé
AU - Elhilali, Mounya
TI - The shape of attention reflects flexible filtering of natural speech modulations
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/
VL - 9
IS - 1
SP - 1107
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "The shape of attention reflects flexible filtering of natural speech modulations",
"container-title": "Communications biology",
"author": [
{
"family": "Huet",
"given": "Moïra-Phoebé"
},
{
"family": "Elhilali",
"given": "Mounya"
}
],
"container-title-short":
"volume": "9",
"issue": "1",
"page": "1107",
"DOI": "10.1038/
"PMID": "42177335",
"PMCID": "PMC13478475",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
24
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1111/ejn.70598 [code]
- Enhanced Time-Locked Decoding for Spoken Words but Not Environmental Sounds in Natural-Like Auditory Conditions.Journal: The European journal of neuroscienceIn common: cognitive, 8 references
- [2] doi:10.1111/ejn.70569 [code]
- Quantifying the Influence of Lexical Surprisal on Acoustic Speech Encoding While Controlling for Within-Speaker Variability.Journal: The European journal of neuroscienceIn common: EEG, cognitive, 7 references
- [3] doi:10.1371/journal.pbio.3003876 [code]
- Competing speech streams are simultaneously represented in the human cortex during attention switching.Journal: PLoS biologyIn common: EEG, cognitive, 7 references
- [4] doi:10.1038/s41562-026-02414-7 [code]
- Optimized feature gains explain and predict successes and failures of human selective listening.Journal: Nature human behaviourIn common: cognitive, 7 references
- [5] doi:10.1523/eneuro.0069-26.2026 [code]
- Electrophysiological Indices of Hierarchical Speech Processing Differentially Reflect the Comprehension of Speech in Noise.Journal: eNeuroIn common: EEG, cognitive, 6 references
- [6] doi:10.7554/elife.100056 [code]
- Multi-talker speech comprehension at different temporal scales in listeners with normal and impaired hearing.Journal: eLifeIn common: EEG, cognitive, 6 references
- [7] doi:10.1038/s42003-026-10394-7 [code]
- Cognitive load weakens neural speech tracking without altering response timing.Journal: Communications biologyIn common: EEG, cognitive, 5 references
- [8] doi:10.1371/journal.pbio.3003707 [code]
- Behavioral engagement facilitates auditory neuron responses beyond their receptive fields.Journal: PLoS biologyIn common: 5 references
- [9] doi:10.1093/braincomms/fcag261 [code]
- Cortical speech envelope tracking reflects lesion-symptom profiles in post-stroke aphasia.Journal: Brain communicationsIn common: cognitive, 4 references
- [10] doi:10.3389/fnhum.2026.1692628 [code]
- The effects of vocal emotions and emotional context on the neural tracking of speech envelopes and listeners' vigilance states.Journal: Frontiers in human neuroscienceIn common: EEG, cognitive, 4 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 22 scripts, and 3 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:ffc2f6058744f365…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
