Episode #182


Web Widgets

Is it possible to embed a metronome object on a web page? The purpose of the object is to let the viewer have a sliding scale device that will flash or click a set pulse from 40 bpm to 240 bpm. What is the best way to accomplish this task, will it require special libraries or can common javascript trigger pulses and sounds?

Eric, Victoria, BC



warren’s notes:

There’s a free metronome online at http://metronome.pianowithraymond.com/ which runs in Javascript and is embedded in his page. If you’d like to embed it, Raymond has written a tutorial on how to do just that at http://metronome.pianowithraymond.com/2008/02/to-embed-this-javascript-m.... He’s released the metronome into the public domain so you don’t have to worry about using his property without permission.