
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
Drop-in replacement for AudioContext. Overrides decodeAudioData and provides Ogg Vorbis decoding, calling super.decodeAudioData for non-vorbis.
oggmented extends AudioContext and overrides decodeAudioData to use an Emscripten transpiling of libogg-1.3.4 and libvorbis-1.3.6 when it encounters ogg vorbis data.
This allows you to decodeAudioData ogg vorbis buffers correctly in any browser. This is especially useful in Safari and iOS browsers, which don't decodeAudioData(oggVorbisBuffer) at all.
In addition, Blink (Brave, Opera, Chrome) uses ffmpeg, which has a bug that slightly bloats the end of decoded vorbis audio, resulting in clicks when audioContext.createBufferSource().loop === true. Using this package fixes that (assuming of course that the waveform begins and ends at the same place etc).
npm install oggmented
Use it like you would regular AudioContext:
import oggmentedAudioContext from 'oggmented'
const audioCtx = new oggmentedAudioContext()
// instead of
// const audioCtx = new (window.AudioContext || window.webkitAudioContext)()
FAQs
Drop-in replacement for AudioContext. Overrides decodeAudioData and provides Ogg Vorbis decoding, calling super.decodeAudioData for non-vorbis.
We found that oggmented demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.