{"_id":"@bradtech/sensor-acoustic","_rev":"2-7f130b3aec9c1f71357182dfc74b5dbb","name":"@bradtech/sensor-acoustic","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.0":{"name":"@bradtech/sensor-acoustic","version":"1.1.0","keywords":["iot","acoustic","spl","dba","i2s-microphone","acoustic-rain","wind-buffeting","noise-monitoring","brad","agpl-v3"],"author":{"name":"Olivier Lépine","email":"olivier@lepine.fr"},"license":"AGPL-3.0-or-later","_id":"@bradtech/sensor-acoustic@1.1.0","maintainers":[{"name":"crapougnax","email":"olivier@lepine.fr"},{"name":"elliottlepine","email":"elliott@brad.ag"}],"homepage":"https://github.com/bradtech-oss/stack#readme","bugs":{"url":"https://github.com/bradtech-oss/stack/issues"},"dist":{"shasum":"a1c4a2554e02fc9acea234b15c27f96f35557186","tarball":"https://registry.npmjs.org/@bradtech/sensor-acoustic/-/sensor-acoustic-1.1.0.tgz","fileCount":19,"integrity":"sha512-p8mLvXO9GgAjIUZeIs8g0pl5v8GPW6ZmUS3g3o219msUGC51At6GEPpZzXY4B9RxoySCVAnLxgjzTO/g3LiKTQ==","signatures":[{"sig":"MEQCIBS7jQzqPfyrlLGZrbWEeQq4lLHm0OE/ufPlfgy2TcEPAiBd4IJvcvs0onDYiA/kiZNYz3hWLS6FopyRPhyUGJHjhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55038},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"0ba31709f3bacbee5024496e1af775da3a07fe97","scripts":{"test":"bun test","build":"tsc","clean":"rm -rf dist","wbuild":"tsc --watch"},"_npmUser":{"name":"crapougnax","email":"olivier@lepine.fr"},"copyright":"Copyright (C) 2026 Olivier Lépine","repository":{"url":"git+https://github.com/bradtech-oss/stack.git","type":"git","directory":"packages/sensor-acoustic"},"_npmVersion":"11.7.0","description":"Digital I2S acoustic sensing, dBA sound pressure level (SPL), and acoustic rain/wind spectrum converters","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@bradtech/sensor":"workspace:*"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.1.5","@types/node":"^22.10.1","@tsconfig/recommended":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/sensor-acoustic_1.1.0_1788295531874_0.8862688726789818","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@bradtech/sensor-acoustic","version":"1.1.1","description":"Digital I2S acoustic sensing, dBA sound pressure level (SPL), and acoustic rain/wind spectrum converters","author":{"name":"Olivier Lépine","email":"olivier@lepine.fr"},"license":"AGPL-3.0-or-later","copyright":"Copyright (C) 2026 Olivier Lépine","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/bradtech-oss/stack.git","directory":"packages/sensor-acoustic"},"keywords":["iot","acoustic","spl","dba","i2s-microphone","acoustic-rain","wind-buffeting","noise-monitoring","brad","agpl-v3"],"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"bun":"./src/index.ts","import":"./dist/index.js","require":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"clean":"rm -rf dist","build":"tsc","wbuild":"tsc --watch","test":"bun test"},"dependencies":{"@bradtech/sensor":"^1.1.1"},"devDependencies":{"@tsconfig/recommended":"^1.0.1","@types/node":"^22.10.1","typescript":"^5.1.5"},"gitHead":"0ba31709f3bacbee5024496e1af775da3a07fe97","_id":"@bradtech/sensor-acoustic@1.1.1","bugs":{"url":"https://github.com/bradtech-oss/stack/issues"},"homepage":"https://github.com/bradtech-oss/stack#readme","_nodeVersion":"22.21.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-3qO2pw41+ZCdKluF3UxkYAmY+ttm7mUwXz0Lv7+09uPmfTelQbk8so+FnhJx2WTWuF3T8a5m+Fzi9MOMaNaYCw==","shasum":"ae85773433b668ae0245027ca1d5abed519d5dd2","tarball":"https://registry.npmjs.org/@bradtech/sensor-acoustic/-/sensor-acoustic-1.1.1.tgz","fileCount":19,"unpackedSize":55033,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDcr62EL9sPHV6dLLC37FvtMwevfLz+0EDjEXlxjgzhbAiEA+e8o+DIXfYjAAm4ZA+HPps+9L6g3QUsqX6g9xPlSsE0="}]},"_npmUser":{"name":"crapougnax","email":"olivier@lepine.fr"},"directories":{},"maintainers":[{"name":"crapougnax","email":"olivier@lepine.fr"},{"name":"elliottlepine","email":"elliott@brad.ag"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sensor-acoustic_1.1.1_1788295626808_0.9558168780450675"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-01T20:45:31.527Z","modified":"2026-09-01T20:47:07.140Z","1.1.0":"2026-09-01T20:45:32.010Z","1.1.1":"2026-09-01T20:47:06.954Z"},"bugs":{"url":"https://github.com/bradtech-oss/stack/issues"},"author":{"name":"Olivier Lépine","email":"olivier@lepine.fr"},"license":"AGPL-3.0-or-later","homepage":"https://github.com/bradtech-oss/stack#readme","keywords":["iot","acoustic","spl","dba","i2s-microphone","acoustic-rain","wind-buffeting","noise-monitoring","brad","agpl-v3"],"repository":{"type":"git","url":"git+https://github.com/bradtech-oss/stack.git","directory":"packages/sensor-acoustic"},"description":"Digital I2S acoustic sensing, dBA sound pressure level (SPL), and acoustic rain/wind spectrum converters","maintainers":[{"name":"crapougnax","email":"olivier@lepine.fr"},{"name":"elliottlepine","email":"elliott@brad.ag"}],"readme":"# `@bradtech/sensor-acoustic`\n\nDigital I2S acoustic sensing, dBA sound pressure level (SPL), and acoustic rain/wind spectrum converters for the Brad IoT sensor micro-framework.\n\n---\n\n## 🎯 Overview\n\nThe `@bradtech/sensor-acoustic` package processes digital microphone telemetry:\n\n- **`AcousticSplConverter`**: Converts raw digital full-scale dBFS measurements into A-weighted Sound Pressure Level ($\\text{dBA SPL}$), evaluates ambient noise classifications (`quiet`, `moderate`, `noisy`, `industrial`), and monitors probe environmental disturbance.\n- **`AcousticWeatherConverter`**: Performs spectral analysis over acoustic frequency bands to detect acoustic precipitation impact and wind buffeting noise.\n\n---\n\n## 📦 Installation\n\n```bash\nbun add @bradtech/sensor-acoustic\n```\n\n---\n\n## 📄 License & Copyright\n\nGNU AGPL-v3 — Copyright (C) 2026 Olivier Lépine <olivier@lepine.fr>\n","readmeFilename":"README.md"}