Now that we've wrapped our heads around playing audio, it's time to look at controlling the sound volume. In this recipe, we'll build an audio player with real-time volume controls. We'll use a piano sound loop instead of the choir loop this time around to keep things fresh.
The complete source code for this recipe is available in the code bundle at
tools/RecipeFrameworkin the code bundle.
index.htmlwith a text editor.
<div id="appwindow"> <h2>Setting The Volume</h2> <form> <input type="checkbox" ...