Pocket Guide and Close Reading Technique

with an Embedded Beatnik MIDI File


Set Tempo then Play



Set Timbre


Measure  

Time    

Commentary

 


The beatnik player icon on the bottom of this page is created by the magic embed method defined in the music-object.js file which is required for all work with the Beatnik plugin. This method creates a scriptable instance of the music object. As a result, buttons like the ones above can be created to control various aspects of playback from simple things like start and stop, to complex manipulations such as track transpositions, track mutings, volume control, go to marker, javascript functions, etc...

To create this exercise, follow these procedures.

  1. Create a folder for this project on your hard drive. Call it "pocketguide."
  2. Download the HTML-only file (Mac users, click and hold on this link, and choose Save this link as.... Save the file as source format with the name "mozartK545.html". Windows users, right click. Save the file in your pocketguide folder. ).
  3. Download all the graphic files for the scrolling notation in a subfolder called "images."
  4. Download the MIDI file of the mozart sonata and save it in a subfolder called "sounds."
  5. Download the beatnik external code libraries and store them in a subfolder called "javascript." Download music-object.js and music-object-prefs.js.
  6. The organization of your files should look like the graphic below.
  7. Finally, add all the missing code by downloading this file and copying all the scripts in the head as well as finding all the event handlers in the body. Copy all these items into your mozartK545.html file. Take time to read all the comments to understand the code.