Cortical representation of pitch perception in mice.
The 5 matches · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Materials and Methods › Auditory filter model ↔ auditoryFilterModel.m, lines 147–259 · score 0.90 · iterated ripple noises, 4–48 kHz, Fundamental frequencies, harmonic complex tones, pulse trains, auditory filter
- [2] § Materials and Methods › Auditory filter model ↔ generateStimulus.m, the whole file · a weak match · score 0.89 · amplitude modulated noises, iterated ripple noises, 4–48 kHz, harmonic complex tones, pulse trains, delay
- [3] § Materials and Methods › Auditory filter model ↔ auditoryFilterModel.m, lines 63–145 · score 0.84 · half wave rectified, zero phase gammatone, low pass filtered, phase locking, gammatone filter, CB
- [4] § Results › Modeled temporal pitch salience predicts F0 discrimination sensitivity in mice ↔ auditoryFilterModel.m, lines 1–19 · score 0.77 · half wave rectified, zero phase gammatone, low pass filtered, phase locking, modeled, compressive
- [5] § Materials and Methods › Acoustic stimulus presentation ↔ generateStimulus.m, the whole file · a weak match · score 0.68 · bandpass filtered, cosine, delay, depth, pi, summing
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 · 259 lines · 7 KB · no license · 3 matches
- %% Mouse Auditory Filter Model from Putnam and Kumar et al 2026
- % This is a gammatone auditory filterbank model. It processes four different stimulus classes (Pulse
- % Trains, Harmonic Complex Tones, Amplitude Modulated Noise, and Iterated Ripple Noise).
- %
- % Processing pipeline:
- % 1) Stimulus synthesis
- % 2) Zero-phase gammatone filtering
- % 3) Half-wave rectification and compression
- % 4) Low-pass filtering to phase-locking limit (1 kHz)
- % 5) Temporal pitch strength via autocorrelation function (ACF) peak around the F0 period
- % 6) Visualization
- %
- % Author: Nikolas Francis, 2026
- clear; clc; close all
- % Add model path
- codepath = fileparts(mfilename('fullpath'));
- addpath(genpath(codepath));
- %% Parameters
- % Sampling rate (Hz)
- fs = 200e3;
- % Stimulus duration (s)
- duration = 0.5;
- % Time vector
- t = 0:1/fs:(duration - 1/fs);
- % Duration of onset/offset ramp (s)
- rampDur = 0.005;
- % Hanning window for ramp
- ramp = hanning(round(rampDur*fs*2));
- ramp = ramp(1:floor(end/2))';
- rampOff = fliplr(ramp);
- % Filter spacing (Hz)
- filtspace = 500;
- % Phase-locking cutoff frequency (Hz)
- phaseLockHz = 1000;
- % Compression factor (0-1, 1 = no compression)
- compfact = 0.5;
- % Mouse cochlear bandwidth data (Ehret, 1976)
- f = [5 10 15 20 30 40 50]*1e3;
- CB_ehret = [3.89 4.44 6.39 7.94 15.67 17.72 21.94]*1e3;
- % Fundamental frequencies (Hz)
- F0s = [55, 330];
- % Compute filterbank center frequencies
- f_interp = 4000:filtspace:48000;
- % Linear fit to Ehret CBs
- P = polyfit(f, CB_ehret, 1);
- CB = P(1)*f_interp + P(2);
- %% Loop through each stimulus configuration
- % Preallocate storage
- Stim = cell(2,4);
- auditoryFilterOutput = cell(2,4);
- auditoryFilterSpectrum = cell(2,4);
- pitchStrength = zeros(2,4);
- for s = 1:4
- for F0idx = 1:2
- % Display status
- stimNames = {'Pulse Train','Harmonic Complex Tone','AM Noise','IRN'};
- fprintf('Processing stimulus type %d (%s), F0 = %d Hz\n', s, stimNames{s}, F0s(F0idx));
- % Select F0
- f0 = F0s(F0idx);
- % Generate stimulus
- [stim, ~] = generateStimulus(f0, s, fs, t);
- % Apply onset/offset ramps
- stim(1:length(ramp)) = stim(1:length(ramp)) .* ramp;
- stim(end-length(ramp)+1:end) = stim(end-length(ramp)+1:end) .* rampOff;
- % Normalize stimulus
- stim = stim ./ max(abs(stim));
- Stim{F0idx,s} = stim;
- % Auditory filter processing (zero-phase gammatone)
- filtStim = zeros(length(stim), length(f_interp));
- parfor i = 1:length(f_interp)
- cf = f_interp(i);
- erb = CB(i);
- filtered = zerophaseGammatoneFilter(stim(:), fs, cf, erb);
- filtered = filtered - mean(filtered);
- filtStim(:,i) = filtered;
- end
- % Half-wave rectification and compression
- filtStim(filtStim < 0) = 0;
- D = (filtStim'.^compfact) / max(abs(filtStim(:)));
- clear filtStim
- % Low-pass filtering (phase locking limit)
- [b2,a2] = butter(6, phaseLockHz/(fs/2), 'low');
- X = double(D.');
- auditoryFilterOutput{F0idx, s} = filtfilt(b2, a2, X)';
- clear D
- % Auditory spectrum (max over time, normalized)
- d = max(auditoryFilterOutput{F0idx,s}, [], 2);
- auditoryFilterSpectrum{F0idx,s} = d ./ max(abs(d));
- % Temporal pitch strength (ACF peak around the period)
- % FFT-based autocorrelation for speed
- X = auditoryFilterOutput{F0idx,s};
- [C,T] = size(X);
- w = hamming(T).';
- X = X - mean(X,2);
- X = X .* w;
- X = single(X);
- p = round((1/f0)*fs);
- kmin = max(0, floor(0.8*p));
- kmax = min(T-1, ceil(1.2*p));
- Nfft = 2^nextpow2(2*T-1);
- F = fft(X, Nfft, 2);
- Sxx = real(F .* conj(F));
- acf = ifft(Sxx, [], 2, 'symmetric');
- % Keep nonnegative lags only
- acf = acf(:,1:T);
- % Normalize by zero-lag
- zlag = max(acf(:,1), eps('single'));
- acf = bsxfun(@rdivide, acf, zlag);
- % Max within ±20% window around fundamental period (1/F0)
- corrP = max(acf(:,kmin+1:kmax+1), [], 2);
- pitchStrength(F0idx,s) = mean(corrP,'omitnan');
- end
- end
- %% Plot stimuli auditory filter output using Ehret CBs
- figure
- % Subplot indexes for Stim 1 Target
- pos{1,1} = [1 2 3];
- pos{1,3} = [17:19 33:35];
- pos{1,4} = [49:51];
- pos{1,5} = [20 36];
- % Subplot indexes for Stim 1 Non-target
- pos{2,1} = [1 2 3] + 64;
- pos{2,3} = [17:19 33:35] + 64;
- pos{2,4} = [49:51] + 64;
- pos{2,5} = [20 36] + 64;
- % Display duration (s)
- dispDur = 0.1;
- for s = 1:4
- for F0 = 1:2
- % Fundamental frequency selection and color
- if F0 == 1
- f0 = F0s(1);
- col = 'r';
- else
- f0 = F0s(2);
- col = 'b';
- end
- % Frequency axis for plots (kHz)
- f_interp = (4000:filtspace:48000) ./1000;
- % Stimulus waveform
- subplot(9,16, pos{F0,1} + ((s-1)*4))
- w = Stim{F0,s}(1,1:ceil(fs*dispDur));
- w = w ./ max(abs(w));
- t = 0:1/fs:duration-(1/fs);
- plot(t(1:ceil(fs*dispDur)), w, col, 'linewidth',1)
- ylim([-1.25 1.25])
- xlim([0 dispDur])
- set(gca,'xticklabel',[],'ytick',[-1 1])
- box off
- if F0==1 && s==1
- ylabel('Amplitude')
- end
- % Stimulus title selection
- if F0==1
- if s == 1
- T = 'Pulse Train';
- elseif s == 2
- T = 'Harmonic Complex Tone';
- elseif s == 4
- T = 'Iterated Ripple Noise';
- elseif s == 3
- T = 'AM Noise';
- end
- title(T)
- end
- xlabel('Time (s)')
- % Auditory Filter Spectrogram
- D = abs(auditoryFilterOutput{F0,s});
- h = subplot(9,16, pos{F0,3} + ((s-1)*4));
- t = 0:1/fs:(size(D,2)./fs) - (1/fs);
- imagesc(t, (f_interp'./1000), D);
- colormap(flipud(gray))
- mD = max(D(:));
- D=sum(D)./max(sum(D));
- freezeColors(h)
- set(gca,'YDir','normal','ytick',[4 48],'xtick',[])
- caxis([mD*.01 mD])
- xlim([0 dispDur])
- ylabel('Frequency (kHz)')
- box off
- % Auditory filter spectrum
- cf = f_interp;
- subplot(9,16, pos{F0,5} + ((s-1)*4))
- plot(auditoryFilterSpectrum{F0,s}, cf, col, 'linewidth',1)
- ylim([4 48])
- xlim([0 1])
- xlabel('Magnitude')
- set(gca,'yticklabel',[],'xtick',[0 1])
- box off
- % Auditory filter waveform (sum over channels)
- subplot(9,16, pos{F0,4} + ((s-1)*4))
- plot(t, D, col, 'linewidth',1)
- xlim([0 dispDur])
- box off
- xlabel('Time (s)')
- set(gca,'ytick',[0 1])
- ylabel('Amplitude')
- set(gcf,'position',[1238 615 551 420])
- end
- end
- % Plot pitch strength
- figure
- plot(1:4, mean(pitchStrength(:,:,1)), 'ko', 'MarkerFaceColor','k')
- hold on
- plot(1:4, mean(pitchStrength(:,:,1)), 'k')
- set(gca,'ytick',[0.5 .75 1])
- ylim([0.5 1])
- set(gca,'xtick',1:4,'xticklabel',{'CT','HCT','AMN','IRN'})
- xlabel('Stimulus')
- ylabel('Autocorrelation Peak')
- title('Pitch Strength')
- xlim([0.5 4.5])
- box off
auditoryFilterModel.m at commit f9019f1, no license · at the source
Overview
- Department of Biology, University of Maryland, College Park, MD USA
- Neuroscience and Cognitive Science Graduate Program, University of Maryland, College Park, MD USA
- Center for Comparative and Evolutionary Biology of Hearing, University of Maryland, College Park, MD USA
- Brain and Behavior Institute, University of Maryland, College Park, MD USA
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 5 matches between paragraphs and lines of code.
Zenodo 19616783
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
5 files
- auditoryFilterModel.m, MATLAB, 259 lines
- freezeColors.m, MATLAB, 328 lines
- generateStimulus.m, MATLAB, 98 lines
- zerophaseGammatoneFilter
.m , MATLAB, 80 lines - README.md, Text, 67 lines
soundcortex/francislabafm
f9019f1a1aff89f07a10aa43c02d0bf4097b5f00, 16 April 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
5 files
- auditoryFilterModel.m, MATLAB, 259 lines, 3 matches
- freezeColors.m, MATLAB, 328 lines
- generateStimulus.m, MATLAB, 98 lines, 2 matches
- zerophaseGammatoneFilter
.m , MATLAB, 80 lines - README.md, Text, 67 lines
The paper's code and data availability statement is in the Data section.
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;
- 8 scripts, each with its path and the digest of its content;
- 5 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
No dataset and no data link were found in the paper.
Code and data availability statement
The paper has a code and 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 the authors' code: Zenodo 19616783
Read it in the paper: doi.org/10.1038/s42003-026-10246-4.
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, 8 authors, 2 keywords, 8 MeSH terms, 4 funders, 79 references.
Cite
This paper
Putnam, J. W., Kumar, A., Gill, N. K., Dinh, J., Orellana Castellanos, F., Leusch, S., Vaughn, S., & Francis, N. A. (2026). Cortical representation of pitch perception in mice. Communications biology, 9(1), 1008. https://
BibTeX
@article{putnam2026corti
author = {Putnam, Jason W and Kumar, Abhay and Gill, Nasiru K and Dinh, Jonathan and Orellana Castellanos, Franshesca and Leusch, Sofia and Vaughn, Sarah and Francis, Nikolas A},
title = {{Cortical representation of pitch perception in mice}},
journal = {Communications biology},
year = {2026},
month = may,
volume = {9},
number = {1},
pages = {1008},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/
url = {https://
pmid = {42129426},
pmcid = {PMC13396396}
}
RIS
TY - JOUR
AU - Putnam, Jason W
AU - Kumar, Abhay
AU - Gill, Nasiru K
AU - Dinh, Jonathan
AU - Orellana Castellanos, Franshesca
AU - Leusch, Sofia
AU - Vaughn, Sarah
AU - Francis, Nikolas A
TI - Cortical representation of pitch perception in mice
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/
VL - 9
IS - 1
SP - 1008
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Cortical representation of pitch perception in mice",
"container-title": "Communications biology",
"author": [
{
"family": "Putnam",
"given": "Jason W"
},
{
"family": "Kumar",
"given": "Abhay"
},
{
"family": "Gill",
"given": "Nasiru K"
},
{
"family": "Dinh",
"given": "Jonathan"
},
{
"family": "Orellana Castellanos",
"given": "Franshesca"
},
{
"family": "Leusch",
"given": "Sofia"
},
{
"family": "Vaughn",
"given": "Sarah"
},
{
"family": "Francis",
"given": "Nikolas A"
}
],
"container-title-short":
"volume": "9",
"issue": "1",
"page": "1008",
"DOI": "10.1038/
"PMID": "42129426",
"PMCID": "PMC13396396",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
13
]
]
}
}
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.1126/sciadv.aef3715
- A cortical output channel for perceptual categorization.Journal: Science advancesIn common: cognitive, mouse, 6 references
- [2] doi:10.1126/sciadv.aeb3005 [code]
- Neural competition between prefrontal and auditory cortex constrains novel sound strategy learning.Journal: Science advancesIn common: mouse, 2 references
- [3] doi:10.1371/journal.pbio.3003935 [code]
- Lateralised neural mechanisms facilitate auditory self-other distinction and coordination in human dyads.Journal: PLoS biologyIn common: Signal Processing Toolbox, cognitive, 1 reference
- [4] doi:10.1038/s41598-026-51854-8 [code]
- Sound-evoked auditory neurophysiological signals are a window into prodromal functional differences in a preclinical model of Alzheimer's disease.Journal: Scientific reportsIn common: 2 references
- [5] doi:10.1371/journal.pbio.3003693 [code]
- Thalamic reticular neurons provide cell type-specific modulation of sound processing in the auditory thalamus.Journal: PLoS biologyIn common: Signal Processing Toolbox, mouse, 1 reference
- [6] doi:10.1038/s41467-026-71742-z [code]
- Hypercapnia dissociates neuronal and hemodynamic responses impairing neurovascular coupling and functional brain connectivity.Journal: Nature communicationsIn common: Signal Processing Toolbox, mouse, 1 reference
- [7] doi:10.1016/j.isci.2026.115373 [code]
- Conserved post-odor dynamics in the olfactory systems of mice and locusts.Journal: iScienceIn common: Signal Processing Toolbox, mouse, 1 reference
- [8] doi:10.1523/jneurosci.1104-25.2026 [code]
- Timbre Encoding in the Inferior Colliculus.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: Signal Processing Toolbox, 1 reference
- [9] doi:10.1002/npr2.70113
- Transcranial Calcium Macro-Imaging From the Auditory Cortex of Thy1-Cre-Driven GCaMP8 Transgenic Rats.Journal: Neuropsychopharmacology reportsIn common: 2 references
- [10] doi:10.1038/s44271-026-00485-w [code]
- Auditory perceptual maps in humans and mice share common structures and predict perceptual decisions in discrimination learning.Journal: Communications psychologyIn common: cognitive, mouse, 1 reference
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, 8 scripts, and 5 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:87b3dfedd4798189…
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.
