The playRandomNote Instance Method
Put this sonification line of code into navigation bar of your .html file:
<a
href="yourdocument.html or link" ONMOUSEOVER="music.playRandomNote
(5,1,27,61,62,100,70,12000,5000,100,100,82,0)">
Notice that there are 13 numbers in the array within the parentheses in the above example code. You can replace each value to command the Beatnik Player to play thenotes and values you want.
The 13 values correspond to the preferences that
you must assign within the playRandomNote Instance Method to create your
own interactive experience as we have. The 13 values we used were
(5,1,27,61,62,100,70,12000,5000,100,100,82,0). Use the list below
to play with your own playRandomNote Method.
The 13 playRandomNote values
(1,2,3,4,5,6,7,8,9,10,11,12,13)
- - MIDI channel
- - Beatnik Player instrument bank number
- - Instrument patch number
- - Lowest note value
- - Highest note value
- - Mininum velocity
- - Maximum velocity
- - Shortest possible note duration
- - Maximum possible note duration
- - Lowest possible volume
- - Highest possible volume
- - Pan left
- - Pan right
Now, let's go through each of these values.