angry coffeean audio revolution is brewing
 home > audio tutorials > Beatnik > setting up the html for your webpage

music blog
  the deep
sounds music blog pod

soundcards
  demos

music news
  entertainment
technology

tutorials
  mp3
ogg
beatnik
flash
quicktime

fresh ears
  audiofile
bulker

about us
  press
people
email us


Setting up the HTML for Your Webpage

Now that your sounds are in the proprietary .rmf file format you're ready to manipulate these sounds with some clever HTML and JavaScript.

The Beatnik website provides a lot of free copy-and-paste HTML that you can download from its Web Authoring Docs section.

Our example uses this code:

<SCRIPT LANGUAGE=JavaScript>

new Music ('coffee');

coffee.preloadEmbed ('coffee.rmf');

</SCRIPT>

To recap on sourcing the JavaScript from earlier in the tutorial, the following code would embed our custom sample "coffee" and make it available to be triggered when users move their cursors over the Angry Coffee logo above.

<SCRIPT SRC="music-object.js"></SCRIPT>

<SCRIPT LANGUAGE=JavaScript>

new Music ('stub');

stub.preloadEmbed ('stub.rmf');

new Music ('coffee');

coffee.preloadEmbed ('coffee.rmf');

</SCRIPT>

Replace the word "coffee" above with the name of your own custom sound file to set up your own sonified logo.

<< Importing/Exporting Sounds W/ The Beatnik Editor/Converter | Beatnik Sonification II Home | Attaching Your Sounds To The Images -- Example 1 >>
  toolbox

- Download Beatnik Player for | Macintosh | Windows 95/NT
- Download Beatnik Editor for | Macintosh
- Download Beatnik Converter for | Windows 95/98/NT

sound editor links for Macs
Barbrabatch
Soundhack
Amadeus II
Cubasis Demo

sound editor links for PCs
Media Wizard
Audio Magic Ring 1.1
Cool Edit
Sonic Foundry
Gold Wave
Quack
Cool Edit Pro

resource links
Flashnik - audio for Flash using Beatnik
Music Object javaScript tutorials by Ovalwindow

Angry Coffee Beatnik examples
Example - MIDI File/Song Examples
Example - sonified nav bar
Example - Angry Coffee Interactive Drum 'n Bass Machine
Example - Angry Coffee sonified logo
Example - Angry Coffee Interactive Remix



© 1999-2000 Greenrocket Interactive