Month: April 2016

Making Music with The WebAudio API Part 4

At the end of part 3 of this series, we had an HTML document for a page with buttons to start and stop playing a tone, we could select a musical note pitch for the tone, and we could change the volume. There were also some things about it that were a little rough that… Read more »

Making Music with The WebAudio API Part 3

At the end of Part 2 of this series, we had a page that lets a user play and stop a tone and to specify a musical note pitch for tones relative to Middle A.

This always produces a tone at a particular volume — the loudest possible. To understand what that means, it it is… Read more »

Making Music with The WebAudio API Part 2

In Part 1 of this series, we created a page that lets a user click a button to play a tone and then click another button to stop playing the tone as follows…

Now, let’s make it possible to play and stop the note over and over again. First, we’ll try doing it the… Read more »

Making Music with The WebAudio API Part 1

The WebAudio API gives us a way to use JavaScript to make and manipulate audio within a Web page in some very powerful ways. This series of articles demonstrates how we can use WebAudio to synthesize music. The following example lets a user click a button to play a tone and click another button to… Read more »