it.
In this tutorial we are using a JavaScript Instance Method called playRandomNote that uses the music-object.js along with the music-object-dynamic.js Music Object Extension. This combo provides innumerable ways to choose what sounds come out of a website's menu or navigation bars. For each link, you can tell the Beatnik Player to play random values within from within your preset group of parameters. Any instrument sound, note value, triggered velocity, note duration, event volume, or panning preference can be controlled.
In our example in the navigation at the top of this page, we set out parameters to play a mixture of instrumental sounds. The "sonified" menu produces a cello and bass playing D in octaves, four tremelo guitars playing a D harmonic minor scale, a bell sound playing the notes E or F, and a breathy flute sound that is programmed to play any note in between E4 (4th octave) to D5 (5th octave) randomly. You can get a more random and/or atonal effect by extending the range of note possibilities, as we cover in this tutorial.