This package provides an easy way to create music from within R. Currently only simple sine waves are used but chords can be created quite easily as well.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.