Edit: Looks like OP just borrowed my note array.. which I in turn borrowed from Aphex twin, so no harm done... :)
Also, it isn't working 100% in Chrome, the sampling rate is probably wrong.
You can check out my example Here: http://valdemarorn.github.com/Files/JSAudio/index.html
Anyway, Riffwave was posted here yesterday, and I posted a similar example I did with WebAudioAPI. Basically, it's that code that OP has adapted to fit into RiffWave.
My code can be found here: https://github.com/ValdemarOrn/valdemarorn.github.com/tree/m...