Web Audio API – 1st Approach
First published on Ka of Isis 140405
Important: This test will only work with WebKit-based browsers like Safari.
Highpass filter
Pan
Volume
Based on the Apple Developer article Playing Sounds with the Web Audio API, sound is read from a file on disk, passed through an audio filter, and looped while the audio spectrum is drawn on an HTML canvas
. In WebKit-browsers like Safari, the audio context uses a webkit
prefix for backward-compatibility reasons. Since the Web Audio API is a work in progress, specification details may change. Please note that the volume slider adjusts the output volume relative to the current system setting.