OSCR

The shape of attention reflects flexible filtering of natural speech modulations.

Code ↔ Paper

3 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

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. [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. [2] § Methods › Envelope and spectrogram processing ↔ GetSpectrogram.m, lines 11–84 · score 0.61 · gammatone filterbank, cochlear, compression, bands, signal, octave
  3. [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

  1. % =========================================================================%
  2. % Author: Huet, M.-Ph., & Elhilali, M.
  3. % Contact: [email hidden]
  4. % If used, please cite:
  5. % Huet & Elhilali (2025), bioRxiv, https://doi.org/10.1101/2025.05.22.655464
  6. % =========================================================================
  7. function [omegas_t, omegas_f, params] = GetOmegas(rate_params, scale_params, FS, FMIN, FMAX, NCHAN, TMIN)
  8. % GETOMEGAS Create temporal and spectral modulation axes for MPS/MRF analysis.
  9. %
  10. % Minimal use:
  11. % [omegas_t, omegas_f] = GetOmegas(rate_params, scale_params)
  12. %
  13. % Recommended use:
  14. % [omegas_t, omegas_f, params] = GetOmegas(rate_params, scale_params, FS, FMIN, FMAX, NCHAN, TMIN)
  15. %
  16. % Inputs:
  17. % rate_params = [MIN_RATE, MAX_RATE, STEP_RATE] in log2(Hz)
  18. % scale_params = [MIN_SCALE, MAX_SCALE, STEP_SCALE] in log2(cycles/octave)
  19. % TMIN = shortest signal duration in seconds
  20. % FS = spectrogram sampling rate in Hz
  21. % FMIN = minimum acoustic frequency in Hz
  22. % FMAX = maximum acoustic frequency in Hz
  23. % NCHAN = number of spectrogram frequency channels
  24. %
  25. % Outputs:
  26. % omegas_t = temporal modulation rates in Hz
  27. % omegas_f = spectral modulation scales in cycles/octave
  28. % params = corrected log2 parameters
  29. NCYCLE = 2;
  30. MIN_RATE = rate_params(1);
  31. MAX_RATE = rate_params(2);
  32. STEP_RATE = rate_params(3);
  33. MIN_SCALE = scale_params(1);
  34. MAX_SCALE = scale_params(2);
  35. STEP_SCALE = scale_params(3);
  36. has_limits = nargin >= 7 && ...
  37. ~isempty(FS) && ~isempty(FMIN) && ~isempty(FMAX) && ...
  38. ~isempty(NCHAN) && ~isempty(TMIN);
  39. if ~has_limits
  40. warning(['No signal/spectrogram constraints provided. ' ...
  41. 'Axes generated without automatic checks. To avoid aliasing, use ' ...
  42. 'MAX_RATE < FS/2 and MAX_SCALE < NCHAN/2; minimum rates/scales should allow >=2 cycles.']);
  43. else
  44. % ---------------------------------------------------------------------
  45. % Temporal rate limits
  46. % ---------------------------------------------------------------------
  47. min_rate_recommended = NCYCLE / TMIN;
  48. max_rate_recommended = FS / 2;
  49. if 2^MIN_RATE < min_rate_recommended
  50. new_MIN_RATE = ceil(log2(min_rate_recommended) / STEP_RATE) * STEP_RATE;
  51. warning(['[MPS] MIN_RATE too low: %.3f log2 Hz (%.3f Hz).\n' ...
  52. 'Recommended minimum is %.3f log2 Hz (%.3f Hz), based on %d cycles over %.3f s.\n' ...
  53. 'Using MIN_RATE = %.3f instead.'], ...
  54. MIN_RATE, 2^MIN_RATE, ...
  55. log2(min_rate_recommended), min_rate_recommended, NCYCLE, TMIN, ...
  56. new_MIN_RATE);
  57. MIN_RATE = new_MIN_RATE;
  58. end
  59. if 2^MAX_RATE > max_rate_recommended
  60. new_MAX_RATE = floor(log2(max_rate_recommended) / STEP_RATE) * STEP_RATE;
  61. warning(['[MPS] MAX_RATE too high: %.3f log2 Hz (%.3f Hz).\n' ...
  62. 'Recommended maximum is %.3f log2 Hz (%.3f Hz), based on FS/4.\n' ...
  63. 'Using MAX_RATE = %.3f instead.'], ...
  64. MAX_RATE, 2^MAX_RATE, ...
  65. log2(max_rate_recommended), max_rate_recommended, ...
  66. new_MAX_RATE);
  67. MAX_RATE = new_MAX_RATE;
  68. end
  69. % ---------------------------------------------------------------------
  70. % Spectral scale limits
  71. % ---------------------------------------------------------------------
  72. B_oct = log2(FMAX / FMIN);
  73. min_scale_recommended = NCYCLE / B_oct;
  74. max_scale_recommended = NCHAN / 2;
  75. if 2^MIN_SCALE < min_scale_recommended
  76. new_MIN_SCALE = ceil(log2(min_scale_recommended) / STEP_SCALE) * STEP_SCALE;
  77. warning(['[MPS] MIN_SCALE too low: %.3f log2 cyc/oct (%.3f cyc/oct).\n' ...
  78. 'Recommended minimum is %.3f log2 cyc/oct (%.3f cyc/oct), based on %d cycles over %.3f octaves.\n' ...
  79. 'Using MIN_SCALE = %.3f instead.'], ...
  80. MIN_SCALE, 2^MIN_SCALE, ...
  81. log2(min_scale_recommended), min_scale_recommended, NCYCLE, B_oct, ...
  82. new_MIN_SCALE);
  83. MIN_SCALE = new_MIN_SCALE;
  84. end
  85. if 2^MAX_SCALE > max_scale_recommended
  86. new_MAX_SCALE = floor(log2(max_scale_recommended) / STEP_SCALE) * STEP_SCALE;
  87. warning(['[MPS] MAX_SCALE too high: %.3f log2 cyc/oct (%.3f cyc/oct).\n' ...
  88. 'Recommended maximum is %.3f log2 cyc/oct (%.3f cyc/oct), based on NCHAN/4.\n' ...
  89. 'Using MAX_SCALE = %.3f instead.'], ...
  90. MAX_SCALE, 2^MAX_SCALE, ...
  91. log2(max_scale_recommended), max_scale_recommended, ...
  92. new_MAX_SCALE);
  93. MAX_SCALE = new_MAX_SCALE;
  94. end
  95. end
  96. % -------------------------------------------------------------------------
  97. % Create modulation axes
  98. % -------------------------------------------------------------------------
  99. omegas_t = 2.^(MIN_RATE:STEP_RATE:MAX_RATE);
  100. omegas_f = 2.^(MIN_SCALE:STEP_SCALE:MAX_SCALE);
  101. params = struct();
  102. params.MIN_RATE = MIN_RATE;
  103. params.MAX_RATE = MAX_RATE;
  104. params.STEP_RATE = STEP_RATE;
  105. params.MIN_SCALE = MIN_SCALE;
  106. params.MAX_SCALE = MAX_SCALE;
  107. params.STEP_SCALE = STEP_SCALE;
  108. params.NCYCLE = NCYCLE;
  109. params.has_limits = has_limits;
  110. end

GetOmegas.m at commit f3e3820, no license · at the source

Overview

  1. Department of Electrical and Computer Engineering, Johns Hopkins University, Baltimore, MD USA
Institutions: Johns Hopkins University (United States)
Journal: Communications biology, volume 9, issue 1, article 1107
Dates: received 15 October 2025; accepted 5 May 2026; published online 24 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s42003-026-10265-1 · PMID 42177335 · PMCID PMC13478475 · OpenAlex W7162190684
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), cognitive (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Machine learning, Preprocessing
Keywords: Cognitive neuroscience, Attention, Perception
MeSH: Attention*, Speech*, Speech Perception*, Acoustic Stimulation, Adult, Comprehension, Electroencephalography, Female, Humans, Male, Noise, Speech Intelligibility, Young Adult (* major topic)
Topic: Multisensory perception and integration (Experimental and Cognitive Psychology, Psychology), according to OpenAlex
Funding: United States Department of Defense | United States Navy | Office of Naval Research (N00014-23-1-2050, N00014-23-1-2086)
Citations: not cited yet (Europe PMC); 84 references in the paper

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

License: CC-BY-4.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
12 files
At the source:

mphuet/matgaborstm

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: f3e3820996ae423b1cd8847512240214824177da, 25 April 2026
Languages: MATLAB (11)
Size: 16 files, 11 scripts
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
12 files

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

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:

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://doi.org/10.1038/s42003-026-10265-1

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/s42003-026-10265-1},
url = {https://doi.org/10.1038/s42003-026-10265-1},
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/05/24
VL - 9
IS - 1
SP - 1107
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/s42003-026-10265-1
UR - https://doi.org/10.1038/s42003-026-10265-1
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42003-026-10265-1",
"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": "Commun Biol",
"volume": "9",
"issue": "1",
"page": "1107",
"DOI": "10.1038/s42003-026-10265-1",
"PMID": "42177335",
"PMCID": "PMC13478475",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s42003-026-10265-1",
"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 neuroscience
In 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 neuroscience
In 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 biology
In 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 behaviour
In 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: eNeuro
In 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: eLife
In 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 biology
In 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 biology
In common: 5 references
[9] doi:10.1093/braincomms/fcag261 [code]
Cortical speech envelope tracking reflects lesion-symptom profiles in post-stroke aphasia.
Journal: Brain communications
In 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 neuroscience
In 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.

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.