OSCR

The spatially guided cocktail party effect shapes contralateral neural synchronization.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 · 89 lines · 3.2 KB · CC-BY-4.0

  1. function [ ] =envelop_extra_exp1( )
  2. %out1(20,4): 1.专注流原始音频,2.非专注流原始音频,3.专注流包络,4,非专注流包络
  3. %out2(10,4):1.实验1专注流包络;2.实验1非专注流包络;3:实验2专注流包络;4.实验2非专注流包络
  4. filename = ['E:\compute\exp3\实验用音频文件\音频列表.txt']; % 替换为你的文件名
  5. fileID = fopen(filename, 'r'); % 打开文件
  6. data = {}; % 初始化一个空单元格数组来存储各行数据
  7. while ~feof(fileID) % 当未到文件末尾时循环
  8. line = fgetl(fileID); % 读取一行
  9. data{end+1} = line; % 将行数据添加到数组中
  10. end
  11. fclose(fileID); % 关闭文件
  12. filename1 = ['E:\compute\exp3\实验用音频文件\方向.txt']; % 替换为你的文件名
  13. fileID = fopen(filename1, 'r'); % 打开文件
  14. fangxiang = {}; % 初始化一个空单元格数组来存储各行数据
  15. while ~feof(fileID) % 当未到文件末尾时循环
  16. line = fgetl(fileID); % 读取一行
  17. fangxiang{end+1} = line; % 将行数据添加到数组中
  18. end
  19. fclose(fileID); % 关闭文件
  20. out1={};
  21. hrf=get_hrf(48000);
  22. for i=1:20
  23. [y1,fs1]=audioread(['E:\compute\exp3\实验用音频文件\',data{i}]);%HRTF sound files
  24. if str2num(fangxiang{i})==1
  25. orig1=y1(:,1);
  26. orig2=y1(:,2);
  27. else
  28. orig1=y1(:,2);
  29. orig2=y1(:,1);
  30. end
  31. [up1,down1]=envelope(orig1);
  32. [up2,down2]=envelope(orig2);
  33. win_size = 20000; % 滑动窗口大小
  34. out1{i,3} = sqrt(movmean(up1.^2, win_size));
  35. out1{i,4} = sqrt(movmean(up2.^2, win_size));
  36. out1{i,1}=orig1;
  37. out1{i,2}=orig2;
  38. %out1{i,3}=conv(env1,hrf);
  39. end
  40. out2={};
  41. for i=1:10
  42. % out2{i,1}=out1{i,3}(1:36000:86*36000+1);
  43. % out2{i,2}=out1{i,4}(1:36000:86*36000+1);
  44. % out2{i,3}=out1{i+10,3}(1:36000:86*36000+1);
  45. % out2{i,4}=out1{i+10,4}(1:36000:86*36000+1);
  46. out2{i,1}=out1{i,3}(1:36000:length(out1{i,3}));
  47. out2{i,2}=out1{i,4}(1:36000:length(out1{i,4}));
  48. out2{i,3}=out1{i+10,3}(1:36000:length(out1{i+10,3}));
  49. out2{i,4}=out1{i+10,4}(1:36000:length(out1{i+10,4}));
  50. end
  51. save('E:\compute\exp3\process\exp1_analysis\包络提取\envelop.mat','out1');
  52. save('E:\compute\exp3\process\exp1_analysis\包络提取\envelop4.mat','out2');
  53. out1={};
  54. hrf=get_hrf(48000);
  55. for i=1:20
  56. [y1,fs1]=audioread(['E:\compute\exp3\实验用音频文件\',data{i}]);
  57. if str2num(fangxiang{i})==1
  58. orig1=y1(:,1);
  59. orig2=y1(:,2);
  60. else
  61. orig1=y1(:,2);
  62. orig2=y1(:,1);
  63. end
  64. [up1,down1]=envelope(orig1);
  65. [up2,down2]=envelope(orig2);
  66. out1{i,3} = conv(up1,hrf);%sqrt(movmean(up1.^2, win_size));
  67. out1{i,4} = conv(up2,hrf);%sqrt(movmean(up2.^2, win_size));
  68. out1{i,1}=orig1;
  69. out1{i,2}=orig2;
  70. %out1{i,3}=conv(env1,hrf);
  71. end
  72. out2={};
  73. for i=1:10
  74. out2{i,1}=out1{i,3}(1:36000:length(out1{i,3}));
  75. out2{i,2}=out1{i,4}(1:36000:length(out1{i,4}));
  76. out2{i,3}=out1{i+10,3}(1:36000:length(out1{i+10,3}));
  77. out2{i,4}=out1{i+10,4}(1:36000:length(out1{i+10,4}));
  78. end
  79. save('E:\compute\exp3\process\exp1_analysis\包络提取\envelope_hrf.mat','out2');
  80. save('E:\compute\exp1\freesurfer\compute\envelope_hrf.mat','out2');
  81. end

envelop_extra_exp1.m, under CC-BY-4.0 · at the source

Overview

Authors: Qiang Li1, Zhengde Wei1,2, Xiaohong Liu1, Yun Pan1, Xiaochu Zhang1,2,3
  1. Guizhou Key Laboratory of Artificial Intelligence and Brain-inspired Computing, College of Education Science, Guizhou Education University, Guiyang, China
  2. Department of Psychology, School of Humanities & Social Science, University of Science and Technology of China, Hefei, China
  3. Department of Radiology, the First Affiliated Hospital of USTC, State Key Laboratory of Eye Health, School of Life Science, Division of Life Science and Medicine, University of Science & Technology of China, Hefei, China
Journal: Communications biology, volume 9, issue 1, article 1063
Dates: received 20 December 2025; accepted 13 May 2026; published online 19 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s42003-026-10334-5 · PMID 42157000 · PMCID PMC13454518 · OpenAlex W7161740965
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism)
Methods: Connectivity, Statistics, Preprocessing, fMRI & imaging, Spectral & time-frequency
Keywords: Neuroscience, Auditory system
MeSH: Auditory Cortex*, Cortical Synchronization*, Speech Perception*, Acoustic Stimulation, Adult, Attention, Brain Mapping, Female, Humans, Magnetic Resonance Imaging, Male, Young Adult (* major topic)
Topic: Neural dynamics and brain function (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Natural Science Foundation of Anhui Province (Anhui Provincial Natural Science Foundation) (2408085QC081); National Natural Science Foundation of China (National Science Foundation of China) (32460203, 32571266, 32171080, 32400919, and 32200914)
Citations: cited by 1 paper (Europe PMC); 44 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.

OSF bhk6q

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Size: 9 files
Software Heritage: not checked
Found in: the references
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 (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
1 file
At the source:

Zenodo 19966318

License: CC-BY-4.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Languages: MATLAB (9)
Size: 10 files, 9 scripts
Software Heritage: not checked
Found in: the references
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)
9 files
At the source:

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:

  • no repository, dataset or request procedure was recognized in it

Read it in the paper: doi.org/10.1038/s42003-026-10334-5.

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;
  • 9 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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

No dataset and no data link were found in the paper.

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 says that the data are available on request

Read it in the paper: doi.org/10.1038/s42003-026-10334-5.

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, 5 authors, 2 keywords, 12 MeSH terms, 2 funders, 41 references.

Cite

This paper

Li, Q., Wei, Z., Liu, X., Pan, Y., & Zhang, X. (2026). The spatially guided cocktail party effect shapes contralateral neural synchronization. Communications biology, 9(1), 1063. https://doi.org/10.1038/s42003-026-10334-5

BibTeX

@article{li2026spatially,
author = {Li, Qiang and Wei, Zhengde and Liu, Xiaohong and Pan, Yun and Zhang, Xiaochu},
title = {{The spatially guided cocktail party effect shapes contralateral neural synchronization}},
journal = {Communications biology},
year = {2026},
month = may,
volume = {9},
number = {1},
pages = {1063},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/s42003-026-10334-5},
url = {https://doi.org/10.1038/s42003-026-10334-5},
pmid = {42157000},
pmcid = {PMC13454518}
}

RIS

TY - JOUR
AU - Li, Qiang
AU - Wei, Zhengde
AU - Liu, Xiaohong
AU - Pan, Yun
AU - Zhang, Xiaochu
TI - The spatially guided cocktail party effect shapes contralateral neural synchronization
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/05/19
VL - 9
IS - 1
SP - 1063
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/s42003-026-10334-5
UR - https://doi.org/10.1038/s42003-026-10334-5
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42003-026-10334-5",
"type": "article-journal",
"title": "The spatially guided cocktail party effect shapes contralateral neural synchronization",
"container-title": "Communications biology",
"author": [
{
"family": "Li",
"given": "Qiang"
},
{
"family": "Wei",
"given": "Zhengde"
},
{
"family": "Liu",
"given": "Xiaohong"
},
{
"family": "Pan",
"given": "Yun"
},
{
"family": "Zhang",
"given": "Xiaochu"
}
],
"container-title-short": "Commun Biol",
"volume": "9",
"issue": "1",
"page": "1063",
"DOI": "10.1038/s42003-026-10334-5",
"PMID": "42157000",
"PMCID": "PMC13454518",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s42003-026-10334-5",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
19
]
]
}
}

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.1038/s42003-024-06913-z [code]
FMRI speech tracking in primary and non-primary auditory cortex while listening to noisy scenes.
Journal: Communications biology
In common: Statistics and Machine Learning Toolbox, 8 references
[2] 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: 7 references
[3] 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: 7 references
[4] doi:10.1016/j.crneur.2022.100043 [code]
Distracting linguistic information impairs neural tracking of attended speech.
Journal: Current research in neurobiology
In common: 7 references
[5] 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 biology
In common: Statistics and Machine Learning Toolbox, 6 references
[6] doi:10.1371/journal.pbio.3002128 [code]
Distinct neural encoding of glimpsed and masked speech in multitalker situations.
Journal: PLoS biology
In common: Statistics and Machine Learning Toolbox, 6 references
[7] doi:10.1371/journal.pone.0308554 [code]
Cortical encoding of phonetic onsets of both attended and ignored speech in hearing impaired individuals.
Journal: PloS one
In common: 6 references
[8] doi:10.7554/elife.92079 [code]
Neural attentional filters and behavioural outcome follow independent individual trajectories over the adult lifespan.
Journal: eLife
In common: 6 references
[9] doi:10.1002/hbm.26793
Electrophysiological correlation of auditory selective spatial attention in the "cocktail party" situation.
Journal: Human brain mapping
In common: 5 references
[10] doi:10.1162/imag_a_00148 [code]
Improving auditory attention decoding by classifying intracranial responses to glimpsed and masked acoustic events.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: 6 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s42003-026-10334-5.svg)](https://openscicode.org/badge/doi/10.1038/s42003-026-10334-5)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s42003-026-10334-5.svg
   :target: https://openscicode.org/badge/doi/10.1038/s42003-026-10334-5
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s42003-026-10334-5"><img src="https://openscicode.org/badge/doi/10.1038/s42003-026-10334-5.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

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)

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.