{"_id":"@audio/spectral-edit","_rev":"3-cdc961a2d8e16e8be96e8cbe9044e05f","name":"@audio/spectral-edit","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@audio/spectral-edit","version":"1.0.0","keywords":["audio","dsp","spectral","spectral-edit","stft"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/spectral-edit@1.0.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"dist":{"shasum":"c3132a6941c6dc67f4272bb58be588df00e98257","tarball":"https://registry.npmjs.org/@audio/spectral-edit/-/spectral-edit-1.0.0.tgz","fileCount":3,"integrity":"sha512-KVSksnU6pg69MzESYoJQXcfSTdlbUM7LJzgvWBj53OrI+ZRgDF+5zObxNMNEz9QiywdjLyVUm6OYeptNBcSrZw==","signatures":[{"sig":"MEUCIQDn9G3kNQO1BuvZu5vLs6tLx2nvNLEqGErAdW/14ayIBQIgV7T+tzsy2yQrwaUPM83qQQeVmsIojmB3NKwHPtTZ1bo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2690},"main":"edit.js","type":"module","engines":{"node":">=18"},"exports":{".":"./edit.js","./package.json":"./package.json"},"gitHead":"a1aba4f2662a0f284ef88a04047c6cfa3c3ce6e5","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_npmVersion":"11.12.1","description":"Spectral editing — gain on time×frequency regions via COLA-normalized STFT (Audacity/afftfilt class)","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"fourier-transform":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spectral-edit_1.0.0_1783540011572_0.5282201427671753","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@audio/spectral-edit","version":"1.0.1","keywords":["audio","dsp","spectral","spectral-edit","stft"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/spectral-edit@1.0.1","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/spectral#readme","bugs":{"url":"https://github.com/audiojs/spectral/issues"},"dist":{"shasum":"480e3ab6640d0b90ea7122a10f7ca1ae106f9ba5","tarball":"https://registry.npmjs.org/@audio/spectral-edit/-/spectral-edit-1.0.1.tgz","fileCount":3,"integrity":"sha512-MWDKSbuimb1zlvyPkJtBHor8LB2kcwMk0lkvfLt5/bxmG0J26bgWMlP0uBXYXCZfnEK/5wnYxRcSK0k4CnhXcA==","signatures":[{"sig":"MEYCIQCSAcpw0aBb/6bqsHpFwvo3PZyGGrVkn6MJ6vFr8C74nwIhAOwMgAf+6mmeMtNNtOAdjnjNT0mZBihwcGPNyL99QLOe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3323},"main":"edit.js","type":"module","engines":{"node":">=18"},"exports":{".":"./edit.js","./package.json":"./package.json"},"gitHead":"27a82efde8c69de05035cc9f97fc017936efb69e","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/spectral.git","type":"git","directory":"packages/spectral-edit"},"_npmVersion":"11.12.1","description":"Spectral editing — gain on time×frequency regions via COLA-normalized STFT (Audacity/afftfilt class)","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"fourier-transform":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spectral-edit_1.0.1_1783726340944_0.3279418857953569","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@audio/spectral-edit","version":"1.0.2","description":"Spectral editing — gain on time×frequency regions via COLA-normalized STFT (Audacity/afftfilt class)","type":"module","sideEffects":false,"main":"edit.js","exports":{".":"./edit.js","./package.json":"./package.json"},"dependencies":{"fourier-transform":"^2.2.0"},"keywords":["audio","dsp","spectral","spectral-edit","stft"],"license":"MIT","author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/audiojs/spectral.git","directory":"packages/spectral-edit"},"funding":"https://github.com/sponsors/audiojs","gitHead":"0bf461273c2acb2401ff9842afec35a43fd05a9a","_id":"@audio/spectral-edit@1.0.2","bugs":{"url":"https://github.com/audiojs/spectral/issues"},"homepage":"https://github.com/audiojs/spectral#readme","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-9iaWwzgZiOtW9N0LyBv2ksPfV4+ITJgWjkfaZaWP0GcPr2ljcqKL2IKd1PQHlMpLWNAJeouoUQ3QXz11FTyjow==","shasum":"b8f21db99e46c12eda51dbbcc52bcc54a4b5f0d3","tarball":"https://registry.npmjs.org/@audio/spectral-edit/-/spectral-edit-1.0.2.tgz","fileCount":4,"unpackedSize":4382,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGaqKfiLNHIkdzAmwNRPsT4Bb9ARyNUzlCSoAzppokOlAiBwSA/b4x8ot+i8uW5AOpP7e3nHkre6Zx3KlAvTKvUOCg=="}]},"_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/spectral-edit_1.0.2_1783731874072_0.3109059731673425"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-08T19:46:51.363Z","modified":"2026-07-11T01:04:34.367Z","1.0.0":"2026-07-08T19:46:51.695Z","1.0.1":"2026-07-10T23:32:21.078Z","1.0.2":"2026-07-11T01:04:34.191Z"},"bugs":{"url":"https://github.com/audiojs/spectral/issues"},"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","homepage":"https://github.com/audiojs/spectral#readme","keywords":["audio","dsp","spectral","spectral-edit","stft"],"repository":{"type":"git","url":"git+https://github.com/audiojs/spectral.git","directory":"packages/spectral-edit"},"description":"Spectral editing — gain on time×frequency regions via COLA-normalized STFT (Audacity/afftfilt class)","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/spectral-edit\n\n> Spectral editing — gain on time×frequency regions via COLA-normalized STFT resynthesis (Audacity spectral edit; FFmpeg `afftfilt` class).\n\n`npm install @audio/spectral-edit`\n\n```js\nimport edit from '@audio/spectral-edit'\n\nlet out = edit(data, {\n\tfs: 44100,\n\tregions: [{ t0: 0.5, t1: 1.2, f0: 2000, f1: 8000, gain: 0 }],   // delete 2-8 kHz between 0.5-1.2 s\n})\n```\n\nOptions: - `fs` — sample rate (default 44100, Hz) · `frameSize` — STFT frame, samples (default 2048) · `hop` — STFT hop, samples (default `frameSize / 4`) · `regions` — array of `{ t0=0, t1=∞ (seconds), f0=0, f1=fs/2 (Hz), gain=0 (linear) }`\n\nPart of [@audio/spectral](https://github.com/audiojs/spectral).\n","readmeFilename":"README.md"}