var audioContext = new AudioContext();
var oscillator1 = audioContext.createOscillator();
var stereoPanner1 = audioContext.createStereoPanner();
stereoPanner1.pan.value = -0.5;
oscillator1.connect(stereoPanner);
stereoPanner1.connect(audioContext.destination);
oscillator1.start(audioContext.currentTime);
var oscillator2 = audioContext.createOscillator();

Learn JavaScript the sound way

If you're a musician, DJ, sound performance artist or audio engineer and want to learn the art of programming then you have come to the right place. Here you will learn to code using the worlds most popular programming language while building interactive audio apps.


Are you an educator?

You can request a free digital copy here. The book is an excellent complimentary text for any digital or sound arts program.


ow -->