Description
WadJS, published as wad, is a JavaScript library for manipulating audio in the browser with the Web Audio API. The project describes it as jQuery for your ears. Everything starts with a wad, which can be an audio file, an oscillator with a sine, square, sawtooth, triangle or noise source, or live microphone input. The constructor and the play method accept many optional arguments for volume, panning and effects. Panning comes in two forms: stereo panning, set with a number from 1 for hard right to -1 for hard left, and 3D panning, where you give a three-element array for the sound's position and the library uses the distance from the listener. Two 3D panning models are offered, with HRTF as the higher-quality option and equal-power as the faster one. Filters can be passed as one object or as an array applied in order. The README's table of contents also lists microphone input, reverb configuration, audio sprites, a sound iterator, Tuna effects, play labels, presets, polyphonic wads, compression, recording, an audio meter, pitch detection and MIDI input. WadJS can be included with a script tag or installed from npm, and the README links the API documentation and a showcase.…
Highlights
- Play audio files and oscillators in the browser
- Stereo and 3D panning models
- Filters, reverb and Tuna effects
- Microphone input, recording and pitch detection
Ratings & Reviews
No ratings yet
Be the first to rate Wad.
People also visit
Webaudiofont
Use full GM set of musical instruments to play MIDI and single sounds or effects
Wad FAQ
What is WadJS?
A JavaScript library for making and manipulating sound with the Web Audio API in the browser.
How do I install it?
Include the script in your HTML file, or install it as an npm module, as the README describes.
Can it make sounds without an audio file?
Yes. Set the source to sine, square, sawtooth, triangle or noise to create an oscillator.
What kinds of panning does it have?
Stereo panning from -1 to 1, and 3D panning with an X, Y and Z position, using either the HRTF or the equal-power model.
Does it support microphone input?
Yes. The README table of contents lists microphone input, recording, an audio meter and pitch detection.
Is it free?
The listing shows it as free, and the source is public on GitHub.
What are the best Wad alternatives?
Popular alternatives to Wad include Webaudiofont, Web Synth and Wave-PD1. See all Wad alternatives




