(updated: added webkit audio context "monkey patch" for Safari 24-Oct-2017)
Binaural ambisonics method for Music 220a homeworks using web audio API's PannerNode unit generator and OmniTone decoder
I created 4 sources and located all 4 so that they resemble a quad loudspeaker arrangement. Then, I specified 4 mono audio files which are the 4 channels of the composition. The result is this web page with an embedded player which can serve as a model for similar projects. Clones of this should keep everything except for this descriptive text and should alter the source audio files that are listed in the array named "audioSources".
Chowning's Turenas (1972)
the files used in this example are "hw2/turenas0.wav", "hw2/turenas1.wav", "hw2/turenas2.wav", "hw2/turenas3.wav"
(paths are relative to the directory that this file is in, hence the hw2/ prefix)