Sourcing the JavaScript into Your .html Document
Sourcing the required music-object.js JavaScript file and extensions is the same as having that code in your .html document. The many lines of code that would be involved if you did not source the JavaScript would be overwhelming to some code miners and possibly a signal to bail out for coding beginners. Those many lines of JavaScript are conveniently premade by Beatnik and available for free. Which makes the job a lot easier.
Your .html File
You must "source" the required music-object.js JavaScript extensions with the following code in the highlighted area within your .html document. You must also embed the stub.rmf into your document to complete the syntax requirements. Don't worry: there's a single link to download both the Music Object and the stub.rmf below.
Make sure you have the correct file path set for your document to source the two JavaScripts needed and the stub.rmf file. If you put these documents in the same directory you can take out the ../ before the file names, if not add more ../../ to go up a directory level.
Their Code
Now that these documents have been sourced you must go to the Beatnik website and download the necessary JavaScripts and Music Object Extensions. In this case they are the music-object.js (the core API) and the stub.rmf file, which can be downloaded from the bottom right of the same page. You'll need both, so get them both while your there.
The third piece of the download puzzle is the music-object-dynamic.js. You can download this from the same page as well. It's hard to find: when you're on that page, click the "Documentation" link under the Download Music Object header. When the window pops up grab the left scroll bar and drag it more than half-way down, until you see Music Object Extensions. Here you will find the music-object-dynamic.js. The music-object.js must always be sourced at the top when you're using multiple Music Object Extensions. You can download the documentation on all this, too.