{"_id":"@audio/pitch-cepstrum","_rev":"2-4e30f5046569d0634273e119612b50c9","name":"@audio/pitch-cepstrum","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@audio/pitch-cepstrum","version":"1.0.0","keywords":["audio","dsp","pitch","pitch-detection","f0","cepstrum"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/pitch-cepstrum@1.0.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/pitch/tree/main/packages/pitch-cepstrum","bugs":{"url":"https://github.com/audiojs/pitch/issues"},"dist":{"shasum":"624f7ec6664c5463b089b47e26c04056321db09f","tarball":"https://registry.npmjs.org/@audio/pitch-cepstrum/-/pitch-cepstrum-1.0.0.tgz","fileCount":2,"integrity":"sha512-NnLCwgaT4CtPQbhFLAceliZdr2QcRpmOj8Wv1Oj1OGhYd5+qSepyzrk4LfTcT70T1UQRiIDwrOqfZ+zSN9R/rQ==","signatures":[{"sig":"MEYCIQDQgzeXQpCcHyUB2iHv59UgFzBwTslFxz5YQIQHRSFnfQIhAMlevCU9zFhUVLpyhhciB1k8VT0gD8yS36ATa2UuS4w+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3389},"main":"cepstrum.js","type":"module","engines":{"node":">=18"},"exports":{".":"./cepstrum.js","./package.json":"./package.json"},"gitHead":"984da555a04fddf53e71299736a2dc76311b2a49","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/pitch.git","type":"git","directory":"packages/pitch-cepstrum"},"_npmVersion":"11.12.1","description":"Cepstrum pitch detection (Noll, 1967)","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"fourier-transform":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pitch-cepstrum_1.0.0_1783539930920_0.30922834243056374","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@audio/pitch-cepstrum","version":"1.0.1","description":"Cepstrum pitch detection (Noll, 1967)","type":"module","sideEffects":false,"main":"cepstrum.js","exports":{".":"./cepstrum.js","./package.json":"./package.json"},"dependencies":{"fourier-transform":"^2.2.0"},"keywords":["audio","dsp","pitch","pitch-detection","f0","cepstrum"],"license":"MIT","author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pitch.git","directory":"packages/pitch-cepstrum"},"homepage":"https://github.com/audiojs/pitch/tree/main/packages/pitch-cepstrum","bugs":{"url":"https://github.com/audiojs/pitch/issues"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"types":"index.d.ts","funding":"https://github.com/sponsors/audiojs","gitHead":"c388499cb8107c4fdcc0e314410327655222b5b1","_id":"@audio/pitch-cepstrum@1.0.1","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-zYWuFoi94JJm/fN78cxx+cFfC+OvkvKk02sS3oOmnTh7mlmz9ddmcMiM2rh4MEyIMsjK0gZ73XDyIeHG7SnK5w==","shasum":"141c6fc2cc1308cddd0dd5c6271bd14861e4443e","tarball":"https://registry.npmjs.org/@audio/pitch-cepstrum/-/pitch-cepstrum-1.0.1.tgz","fileCount":4,"unpackedSize":5554,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCdkfdll3MLSnJJikbH8jFm/ls6gkJNNOySN1MCvAA2xQIgbspetn3SzXXV7cCOykzXyB8s89bRUq7YkI7NUFaMwrw="}]},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"directories":{},"maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pitch-cepstrum_1.0.1_1783731710193_0.6143923640187643"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-08T19:45:30.733Z","modified":"2026-07-11T01:01:50.477Z","1.0.0":"2026-07-08T19:45:31.045Z","1.0.1":"2026-07-11T01:01:50.341Z"},"bugs":{"url":"https://github.com/audiojs/pitch/issues"},"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","homepage":"https://github.com/audiojs/pitch/tree/main/packages/pitch-cepstrum","keywords":["audio","dsp","pitch","pitch-detection","f0","cepstrum"],"repository":{"type":"git","url":"git+https://github.com/audiojs/pitch.git","directory":"packages/pitch-cepstrum"},"description":"Cepstrum pitch detection (Noll, 1967)","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/pitch-cepstrum [![npm](https://img.shields.io/npm/v/@audio/pitch-cepstrum)](https://www.npmjs.com/package/@audio/pitch-cepstrum) [![MIT](https://img.shields.io/badge/MIT-%E0%A5%90-white)](https://github.com/krishnized/license)\n\nCepstrum pitch detection (Noll, 1967)\n\n```\nnpm install @audio/pitch-cepstrum\n```\n\n```js\nimport cepstrum from '@audio/pitch-cepstrum'\n```\n\n**Noll, 1967.** Real cepstrum — $c(\\tau) = \\text{IFFT}(\\log |\\text{FFT}(x)|)$. A peak at quefrency $\\tau$ corresponds to period $\\tau$ in the time domain.\n\n```js\nlet result = cepstrum(samples, { fs: 44100 })\n```\n\n| Param | Default | |\n|---|---|---|\n| `fs` | `44100` | Sample rate (Hz) |\n| `minFreq` | `50` | Minimum detectable frequency (Hz) |\n| `maxFreq` | `2000` | Maximum detectable frequency (Hz) |\n| `threshold` | `0.3` | Minimum clarity to accept |\n\n**Use when:** Harmonic signals where you want a clean spectral-domain method. Good pedagogical complement to time-domain algorithms.<br>\n**Not for:** Low-pitched signals (quefrency resolution is limited by window length).<br>\n**Ref:** Noll, [\"Cepstrum pitch determination\"](https://doi.org/10.1121/1.1911537), JASA 1967.<br>\n**Requires:** Power-of-2 window length — throws otherwise.\n\n---\n\nPart of [@audio/pitch](https://github.com/audiojs/pitch) — the pitch family umbrella. This README is generated from the umbrella docs.\n\nMIT © [audiojs](https://github.com/audiojs)\n","readmeFilename":"README.md"}