{"_id":"@audio/decode-opus","_rev":"10-14c4d9304f665ef81dce929181ed6eb7","name":"@audio/decode-opus","dist-tags":{"latest":"1.3.1"},"versions":{"1.0.0":{"name":"@audio/decode-opus","version":"1.0.0","keywords":["opus","ogg","audio","decode","decoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-opus@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/audio-decode/tree/main/packages/decode-opus#readme","bugs":{"url":"https://github.com/audiojs/audio-decode/issues"},"dist":{"shasum":"117e21f86d8def8688150de3891b805c0ec5a349","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.0.0.tgz","fileCount":5,"integrity":"sha512-IwoBu72t09g/T5QKiOSJ1bPBE0fGQkhGh0LwVFH7Uj1xgZ18hVywoA9dCIWxlpnPqz/ZFnAdY7qaKbeEPfGJ+g==","signatures":[{"sig":"MEYCIQDY2g2A+AZVFfxaXnRydR8ZZKDbDnTtOXxiOKt3SKo3ewIhAO00L5y5SeYbY/dldU0/oquSQaJijo0IxvJAvlFr6W67","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":184862},"main":"decode-opus.js","type":"module","types":"decode-opus.d.ts","engines":{"node":">=16"},"exports":{".":"./decode-opus.js","./package.json":"./package.json"},"gitHead":"6d26cd69057587574522bbd42c1af7411a9f6e74","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/audio-decode.git","type":"git","directory":"packages/decode-opus"},"_npmVersion":"11.11.0","description":"Decode Ogg Opus audio via libopus WASM — self-contained bundle","directories":{},"_nodeVersion":"25.8.1","dependencies":{"ogg-opus-decoder":"^1.7.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-opus_1.0.0_1775834811777_0.8429544575001591","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@audio/decode-opus","version":"1.1.0","keywords":["opus","ogg","audio","decode","decoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-opus@1.1.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/audio-decode/tree/main/packages/decode-opus#readme","bugs":{"url":"https://github.com/audiojs/audio-decode/issues"},"dist":{"shasum":"67463998d486d6c908d9fbc0ebbc0bd23bf314e3","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.1.0.tgz","fileCount":5,"integrity":"sha512-RfvDkHZAbyvRdQ5idtxb8qhSenmHg5kYnItYqFmL8e8iAKsNFPSAEY6uCGlQeX2HhwfIkUPVTiQHa6HQLf8LKQ==","signatures":[{"sig":"MEUCIQCCaEkA7V21RhRwqiV3flhx26CO8FILK3QZb/fPTZwKCQIgA0qZtqB2v8mWGshuEncnoNcXOlR9LsEKaB0MTrqUQoY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185155},"main":"decode-opus.js","type":"module","types":"decode-opus.d.ts","engines":{"node":">=16"},"exports":{".":"./decode-opus.js","./meta":"./meta.js","./package.json":"./package.json"},"gitHead":"6122818866204f4a1e440b16365fea5c7ee54e24","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"deprecated":"missing /meta export — use 1.1.1+","repository":{"url":"git+https://github.com/audiojs/audio-decode.git","type":"git","directory":"packages/decode-opus"},"_npmVersion":"11.12.1","description":"Decode Ogg Opus audio via libopus WASM — self-contained bundle","directories":{},"_nodeVersion":"25.9.0","dependencies":{"ogg-opus-decoder":"^1.7.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-opus_1.1.0_1782148114891_0.8177605521620885","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@audio/decode-opus","version":"1.1.1","keywords":["opus","ogg","audio","decode","decoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-opus@1.1.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/audio-decode/tree/main/packages/decode-opus#readme","bugs":{"url":"https://github.com/audiojs/audio-decode/issues"},"dist":{"shasum":"969706fde41f76e9b9c8b61a803c1169c1dc4c58","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.1.1.tgz","fileCount":6,"integrity":"sha512-0rzqqdsGtImQvv5+TiX9h4oXf4OcemMmIOlOETUCSnopw4tltwkXyoD6dWEZ6tby3i9aDdGjfGWtJwi05T9Zdw==","signatures":[{"sig":"MEYCIQCk18HyL+ugMJMBLncElpN7h/r6nLhqT1sTMdw0P6xZBgIhAJwfoJQibeIPu7zmSXrTOoh0M9xw9FZ/6p2S1sxXoU6G","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":189670},"main":"decode-opus.js","type":"module","types":"decode-opus.d.ts","engines":{"node":">=16"},"exports":{".":"./decode-opus.js","./meta":"./meta.js","./package.json":"./package.json"},"gitHead":"e84a54608f0f863b70db430695c0deebe467eef1","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/audio-decode.git","type":"git","directory":"packages/decode-opus"},"_npmVersion":"11.12.1","description":"Decode Ogg Opus audio via libopus WASM — self-contained bundle","directories":{},"_nodeVersion":"25.9.0","dependencies":{"ogg-opus-decoder":"^1.7.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-opus_1.1.1_1782148701260_0.1540799313764616","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@audio/decode-opus","version":"1.2.0","keywords":["opus","ogg","audio","decode","decoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-opus@1.2.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/decode/tree/main/packages/decode-opus#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"9869dace8d11c213bb250434c28d7d5beaf2f7bc","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.2.0.tgz","fileCount":7,"integrity":"sha512-17rurKBKtfGTUGIWGOf6hxoHCD6dr0KLPk3PgSZMAtUM0z7whHtwIAR1ggEX2oJBJg7r922V5bLgCpJ6f7zD5A==","signatures":[{"sig":"MEUCIDLKOzw75aUCF/lPAvcpC/jr4bXKov9VZa1am28jOGFKAiEAttA8frnor7yIPlDktXnvNOA9o+3wTX2XEIy9YMTZx00=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":190096},"main":"decode-opus.js","type":"module","audio":"./audio.js","types":"decode-opus.d.ts","engines":{"node":">=16"},"exports":{".":"./decode-opus.js","./meta":"./meta.js","./audio":"./audio.js","./package.json":"./package.json"},"gitHead":"4422388b9da502b2314360902ff748379e4304d4","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-opus"},"_npmVersion":"11.12.1","description":"Decode Ogg Opus audio via libopus WASM — self-contained bundle","directories":{},"_nodeVersion":"25.9.0","dependencies":{"ogg-opus-decoder":"^1.7.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-opus_1.2.0_1783648247984_0.25293073985621795","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@audio/decode-opus","version":"1.2.1","keywords":["opus","ogg","audio","decode","decoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-opus@1.2.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/decode/tree/main/packages/decode-opus#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"bca875e0b6e2bf8af0b7e2d8f722677e175ea06a","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.2.1.tgz","fileCount":8,"integrity":"sha512-Vkr0QJPJY97bC8HLY+yKenQFi5L0ljXK5ToSpo+ivCu23pT7nkxCtiJzIeyBaoUp8KsceMiK5BbPc8GdFhCbGQ==","signatures":[{"sig":"MEUCIQDQLh/MpC0i5JUUQoDsYpiq1BORc7MzFeImlfAzr0haNQIgL9viACZRt+tCTPPLgIz8ZvohUtSdmdSbK81O4PKPA7I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":191215},"main":"decode-opus.js","type":"module","audio":"./audio.js","types":"decode-opus.d.ts","engines":{"node":">=16"},"exports":{".":"./decode-opus.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"gitHead":"d0b14e75242815c92b72b1028bbd123e4b86733e","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-opus"},"_npmVersion":"11.12.1","description":"Decode Ogg Opus audio via libopus WASM — self-contained bundle","directories":{},"_nodeVersion":"25.9.0","dependencies":{"ogg-opus-decoder":"^1.7.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-opus_1.2.1_1783701567947_0.8669380542295864","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@audio/decode-opus","version":"1.2.2","keywords":["opus","ogg","audio","decode","decoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-opus@1.2.2","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/decode/tree/main/packages/decode-opus#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"d5ef3573fc6003ddb9100ab94b7af6811acad8fc","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.2.2.tgz","fileCount":8,"integrity":"sha512-Midc2G+XWA0OqlCBfQc7VdnMOxChhDzYPHy4a4amgsvbhqLLzvOQ6me38Sjd+3UtSExiOQKDZH94/hm8UDzxTA==","signatures":[{"sig":"MEUCIQDG57qnaRiXlPef6Q4+I0LexDRoT9Iq4J2GyCZ3ituATAIgMUOPqAshqPh5FuEgATdLdonJ/RVpb25dnN3zMKhBpSA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":191291},"main":"decode-opus.js","type":"module","audio":"./audio.js","types":"decode-opus.d.ts","engines":{"node":">=18"},"exports":{".":"./decode-opus.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"fb59268366fc4991a80f01da2599fdda208ab59c","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-opus"},"_npmVersion":"11.12.1","description":"Decode Ogg Opus audio via libopus WASM — self-contained bundle","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"ogg-opus-decoder":"^1.7.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-opus_1.2.2_1783731356895_0.6379570738057716","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@audio/decode-opus","version":"1.2.3","keywords":["opus","ogg","audio","decode","decoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-opus@1.2.3","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/decode/tree/master/packages/decode-opus#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"9137178f625244849f71d3ae7571ac2e9817f5ec","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.2.3.tgz","fileCount":8,"integrity":"sha512-ErvvNvQRjEDjVHjghkvTv81ZpjliOzprzb2vkaGfs0GsCKCktBmiZ5zy6tr5J9JFf0b3kHpae2Ezawi0lm77uQ==","signatures":[{"sig":"MEUCIERiwWu5XWMc2Vlarfmvv7CGzUNTSbCZK6GkCR2JtkDEAiEAsY1ZMYmGB/3ZvPsREPAoLJgraA5Zu/JwklhowKt4+Fw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":191347},"main":"decode-opus.js","type":"module","audio":"./audio.js","types":"decode-opus.d.ts","engines":{"node":">=18"},"exports":{".":"./decode-opus.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"00d9a337f3eeb74b245d585a872b75ab6747fc23","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-opus"},"_npmVersion":"11.12.1","description":"Decode Ogg Opus audio via libopus WASM — self-contained bundle","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"ogg-opus-decoder":"^1.7.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-opus_1.2.3_1784035148176_0.337442533644996","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@audio/decode-opus","version":"1.3.0","keywords":["opus","ogg","audio","decode","decoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-opus@1.3.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/decode/tree/master/packages/decode-opus#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"3c7413a59a146c1bd4e1651b7d19901288829ee8","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.3.0.tgz","fileCount":13,"integrity":"sha512-X4Xin06iLJjCUCk6Et8ylXqxgwVRJE0co0fbS5+QgmHKhwhcfPC5OO7kjpwi8xW749j+6Sc03N1zqrlXhIsJoQ==","signatures":[{"sig":"MEQCIEQOn9o8I019cRqBVeK7aaW2u9yCPynuS5izOkllbDVwAiA914kFojwfwUjRUFITKaVee75OYzoIv4rO77Sz8O4Bgw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":182448},"main":"decode-opus.js","type":"module","_from":"file:/private/tmp/audio-decode-release-ed350c9/_audio_decode-opus/audio-decode-opus-1.3.0.tgz","audio":"./audio.js","types":"decode-opus.d.ts","engines":{"node":">=18"},"exports":{".":"./decode-opus.js","./core":{"types":"./core.d.ts","default":"./core.js"},"./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_resolved":"/private/tmp/audio-decode-release-ed350c9/_audio_decode-opus/audio-decode-opus-1.3.0.tgz","_integrity":"sha512-X4Xin06iLJjCUCk6Et8ylXqxgwVRJE0co0fbS5+QgmHKhwhcfPC5OO7kjpwi8xW749j+6Sc03N1zqrlXhIsJoQ==","repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-opus"},"_npmVersion":"11.12.1","description":"Decode Ogg Opus audio with local libopus WASM","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"codec-parser":"~2.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-opus_1.3.0_1786475554150_0.38435320562100217","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@audio/decode-opus","version":"1.3.1","description":"Decode Ogg Opus audio with local libopus WASM","type":"module","main":"decode-opus.js","types":"decode-opus.d.ts","exports":{".":"./decode-opus.js","./core":{"types":"./core.d.ts","default":"./core.js"},"./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"scripts":{"build":"bash build.sh","prepack":"npm run build","test":"node test.js"},"keywords":["opus","ogg","audio","decode","decoder","wasm"],"publishConfig":{"access":"public"},"license":"MIT","author":{"name":"audiojs"},"homepage":"https://github.com/audiojs/decode/tree/master/packages/decode-opus#readme","repository":{"type":"git","url":"git+https://github.com/audiojs/decode.git","directory":"packages/decode-opus"},"bugs":{"url":"https://github.com/audiojs/decode/issues"},"dependencies":{"codec-parser":"~2.5.0"},"engines":{"node":">=18"},"audio":"./audio.js","sideEffects":false,"funding":"https://github.com/sponsors/audiojs","gitHead":"6dbdbc0c63037395ce6574a318121a0f4682279a","_id":"@audio/decode-opus@1.3.1","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-DUjHfzqVCPSM4Pt7h/Ua6rjve69weU0pgLS5Oso/o+HA+GdTOXVhAnN6BAOUv09dZKN7nqVt7L3owdYcjXyyYQ==","shasum":"62c67150035895deddb783610acb71acc1ac7a88","tarball":"https://registry.npmjs.org/@audio/decode-opus/-/decode-opus-1.3.1.tgz","fileCount":13,"unpackedSize":183036,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDCP5JrINFrNq85sNHpeqqqfvRDGmzGaG6hGgMDUI09VAiEA3PpshMVh/ZDauKIIt9NyyAoIskxHRYhTNTP/ReDjiaw="}]},"_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/decode-opus_1.3.1_1787857247044_0.8951610193121433"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-10T15:26:51.708Z","modified":"2026-08-27T19:00:47.484Z","1.0.0":"2026-04-10T15:26:51.929Z","1.1.0":"2026-06-22T17:08:35.030Z","1.1.1":"2026-06-22T17:18:21.435Z","1.2.0":"2026-07-10T01:50:48.179Z","1.2.1":"2026-07-10T16:39:28.104Z","1.2.2":"2026-07-11T00:55:57.034Z","1.2.3":"2026-07-14T13:19:08.321Z","1.3.0":"2026-08-11T19:12:34.299Z","1.3.1":"2026-08-27T19:00:47.256Z"},"bugs":{"url":"https://github.com/audiojs/decode/issues"},"author":{"name":"audiojs"},"license":"MIT","homepage":"https://github.com/audiojs/decode/tree/master/packages/decode-opus#readme","keywords":["opus","ogg","audio","decode","decoder","wasm"],"repository":{"type":"git","url":"git+https://github.com/audiojs/decode.git","directory":"packages/decode-opus"},"description":"Decode Ogg Opus audio with local libopus WASM","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/decode-opus\n\nDecode Ogg Opus audio to PCM samples with libopus WASM.\n\n```js\nimport decode, { decoder } from '@audio/decode-opus'\n\nlet { channelData, sampleRate } = await decode(opusBytes)\n\nlet dec = await decoder() // initialize WASM\nlet a = dec.decode(chunk1)\nlet b = dec.decode(chunk2)\nlet tail = dec.flush()\ndec.free()\n```\n\n`decoder()` is asynchronous. Its `decode()` and `flush()` methods are synchronous. `flush()` ends the stream.\n\n## Metadata\n\nRead OpusTags metadata and cover art without decoding audio:\n\n```js\nimport { parseMeta } from '@audio/decode-opus/meta'\n\nlet { meta, sampleRate } = parseMeta(opusBytes)\n// meta: { title, artist, album, year, genre, ..., pictures }\n```\n\n## License\n\n[ॐ](https://github.com/krishnized/license/) · [MIT](./LICENSE). Bundled [libopus](https://opus-codec.org/) is [BSD 3-Clause](./LICENSE.libopus).\n","readmeFilename":"README.md"}