The shape of attention reflects flexible filtering of natural speech modulations.
3 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 3 matches · 1 of them tie a paragraph to a whole file without 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 · block
oscr:b:GJ8HEX9EH7A2X-T· Report a mismatch - [2] § Methods › Envelope and spectrogram processing ↔ GetSpectrogram.m, lines 11 to 84 · score 0.61 · gammatone filterbank, cochlear, compression, bands, signal, octave · block
oscr:b:ZS3BTD8AQA7TH-D· Report a mismatch - [3] § Results › MRF across tasks ↔ example.m, lines 1 to 20 · score 0.51 · reconstructed spectrograms, Modulation Response Function, cognitive, cortical, acoustic, MRF · block
oscr:b:F4ASVYX983GFR-I· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: 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.1016/j.isci.2023.106849
- Target enhancement but not distractor suppression in auditory neural tracking during continuous speech.Journal: iScienceIn common: cognitive, 13 references
- [2] doi:10.3389/fnins.2021.674112
- Behavioral Account of Attended Stream Enhances Neural Tracking.Journal: Frontiers in neuroscienceIn common: EEG, cognitive, 6 references, author Moïra-Phoebé Huet
- [3] doi:10.1523/jneurosci.0657-25.2025 [code]
- Attentional Engagement with Target and Distractor Streams Predicts Speech Comprehension in Multitalker Environments.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: EEG, cognitive, 11 references
- [4] doi:10.1007/s11571-025-10289-z
- Linear modeling of brain activity during selective attention to continuous speech: the critical role of the N1 effect in event-related potentials to acoustic edges.Journal: Cognitive neurodynamicsIn common: EEG, cognitive, 11 references
- [5] doi:10.1093/cercor/bhac094 [code]
- Expectations boost the reconstruction of auditory features from electrophysiological responses to noisy speech.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: EEG, cognitive, 10 references
- [6] doi:10.1371/journal.pcbi.1009358 [code]
- Envelope reconstruction of speech and music highlights stronger tracking of speech at low frequencies.Journal: PLoS computational biologyIn common: EEG, cognitive, 10 references
- [7] doi:10.1371/journal.pbio.3002534 [code]
- Attention to audiovisual speech shapes neural processing through feedback-feedforward loops between different nodes of the speech network.Journal: PLoS biologyIn common: EEG, cognitive, 9 references
- [8] doi:10.1162/nol.a.14 [code]
- Attention Modulation to Linguistic Speech Units.Journal: Neurobiology of language (Cambridge, Mass.)In common: EEG, cognitive, 10 references
- [9] doi:10.1162/imag.a.126 [code]
- Neural speech tracking in noise reflects the opposing influence of SNR on intelligibility and attentional effort.Journal: Imaging neuroscience (Cambridge, Mass.)In common: cognitive, 9 references
- [10] doi:10.1186/s13636-023-00286-7
- Explicit-memory multiresolution adaptive framework for speech and music separation.Journal: EURASIP journal on audio, speech, and music processingIn common: cognitive, 5 references, author Mounya Elhilali
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:7146c0db19e415cd…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1038/s42003-026-10265-1)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s42003-026-10265-1.svg
:target: https://openscicode.org/badge/doi/10.1038/s42003-026-10265-1
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s42003-026-10265-1"><img src="https://openscicode.org/badge/doi/10.1038/s42003-026-10265-1.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
