
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
reversebuffer
Advanced tools
Returns a reverse buffer of AudioBuffer from an original forward playing AudioBuffer.
A reverse buffer mimics a "backward" playback of an audio source when it is being played forward normally.
This tiny library uses Web Audio API.
var ReverseBuffer = require("reversebuffer");
var audioContext = new AudioContext();
// Make an AudioBuffer
var bufferSource = audioContext.createBuffer();
// In turn returns a reversed AudioBuffer
var revBuffer = new ReverseBuffer({
buffer: bufferSource,
context: audioContext
});
WebAudioLoader deals with loading an audiofile over an url or FileObject and returns an AudioBuffer.
var WebAudioLoader = require("webaudioloader");
var ReverseBuffer = require("reversebuffer");
var audioContext = new AudioContext();
var originalBuffer = null;
var wal = new WebAudioLoader({
context: audioContext,
cache: true,
onprogress: function (evt){
console.log("loading soundfiles", evt);
}
});
// Load a dummy audiofile
wal.load("http://yourdomain.com/youraudiofilename.mp3", {
onload: function(err, buffer){
if(!err){
originalBuffer = buffer;
}
}
});
var reverseBuffer = new ReverseBuffer({
buffer: originalBuffer,
context: audioContext
});
npm
npm install --save-dev reversebuffer
Using browserify
var ReverseBuffer = require("reversebuffer");
Standalone (global object, AMD) builds are here
var revBuffer = new ReverseBuffer(options);
buffer: AudioBuffer - buffer source to be reversedcontext: AudioContext - an AudioContext to use for decoding the audioreverseBuffer : AudioBuffer - Reversed audio bufferMIT
FAQs
Give a reversed Audio Buffer from a forward playing buffer
The npm package reversebuffer receives a total of 8 weekly downloads. As such, reversebuffer popularity was classified as not popular.
We found that reversebuffer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.