
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@audio/aiff-decode
Advanced tools
Decode AIFF and AIFF-C audio to PCM float samples.
Part of audio-decode.
npm i @audio/aiff-decode
import decode from '@audio/aiff-decode'
let { channelData, sampleRate } = await decode(aiffBuffer)
// channelData: Float32Array[] (one per channel)
// sampleRate: number
import { decoder } from '@audio/aiff-decode'
let dec = await decoder()
let result = dec.decode(chunk)
dec.free()
decode(src): Promise<AudioData>Whole-file decode. Accepts Uint8Array or ArrayBuffer.
decoder(): Promise<AIFFDecoder>Creates a decoder instance.
dec.decode(data) — decode chunk, returns { channelData, sampleRate }dec.flush() — flush (returns empty — AIFF is stateless)dec.free() — release resourcesNONE/twos (BE PCM), sowt (LE PCM), fl32/fl64 (float), alaw, ulawMIT — krishnized
FAQs
Decode AIFF/AIFF-C audio to PCM samples
We found that @audio/aiff-decode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.