cociavatarfaq.gif (28642 bytes)

How do I add sounds to my Spazz3D Avatar?

 

    Spazz3D is a VRML97 authoring and animation application. Here is an attempt at explaining how to use Spazz3D to create an avatar with a click-on sound.

    NOTE: When dealing with sounds please remember that it should be a very small file so you should use tricks like halving the sample rate, converting from 16-bit to 8-bit, trimming all the silence at the beginning and end, etc... what ever you can do to make the file smaller. In other words, if someone clicks on your avatar and does not hear a sound for 3 minutes, they will probably not know what was responsible for the sound when they do hear it. Also, try to avoid continuously looping sounds. Although you may think they are neat, others might not like noise that they have no control over. I think sounds should be activated by "the other guy". This is the kind of sound that this tutorial shows how to make.

  1. Download and install Spazz3D ( http://www.spazz3d.com ). It is currently a free beta test package and it should be commercially available for "less than $100.00 (US)" in early 1999.
  2. Create an avatar or import one from some other source.
  3. OK, let's add a sound. Someone at Colony City called Ginoha asked for a GingerBread Avatar, in this example I add sound to the avatar I created for her.

    gingerbread.jpg (68342 bytes)

  4. In Spazz3D click on the Sound Icon (looks like a yellow cone shaped speaker, sixth symbol from the right on the third row of icons above), then click on the model of your avatar (this puts the sound node on the avatar).
  5. You will see this sound node added to the "scene tree" hierarchy, double click on it to see the sound properties.

    tree1.jpg (21114 bytes)

  6. In the sound properties window, type in the name of your wav file (Blaxxun does not support au or aiff or...) I used the Voyetra Sound Software on my PC and my loving wife to record a short phrase, "Hahaha, catch me if you can". As mentioned above, the resulting file was way to big, so I cut the sample rate in half twice and converted from 16bit to 8bit. The original 123KB file was whittled down to 15KB. I made it as small as I could with out degrading the quality so bad you could not understand it. Here is the smaller file, can you tell the difference in quality? In the multi-user world speed is often more important than quality.

        Mr. Phillip, I do not have cool sound software on my computer   8^(   Do not worry, go to your favorite web search engine and search for WAV. You will find a bunch of sounds. Remember to choose wisely Grasshopper, smaller is better in the 28.8 modem world.

    soundprop.jpg (24387 bytes)

        You may also notice two ways of specifying the name of the sound file. The first way is great for testing. It is a relative path that looks for the file in the same directory as the VRML file. The other method specifies a secondary path to the file located somewhere on the web. This allows you to test at home on your desktop, as well as having an absolute path to a URL on the web for the rest of the world.

  7. Next you need to add something to trigger the sound. Hit the Create Sensor Icon (looks like a light switch, fourth icon from right on 3rd row of icons), and click on your avatar. You will see that this Sensor Node is added to the scene tree. Double click on the Sensor Node to see its properties.

    tree2.jpg (22248 bytes)

  8. Under the sensor tab click on the Add Trigger button. Then, click on the Sound Node in the scene tree. You will notice that the trigger list is updated with "Trigger Node Sound: Sound1" and "Trigger Type: Start at Beginning". You may also notice that the sensor we've just added is called a "Touch Sensor". This means that when someone mouse clicks, or touches the avatar, this sensor will trigger the sound node to play.

    touchsensor.jpg (21480 bytes)

  9. Save your work and hit the Launch Browser Icon (looks like a blue globe with an X behind it, second button from right on the top row of icons). Click on your avatar and listen closely. Did it work? Do you have the volume turned up enough? Stand up and take a bow!

    Sorry, you need a VRML plugin.


Legal Mumbo Jumbo:
Spazz3D does not endorse Blaxxun and vice versa. I do not work for either of them, so I really do not speak for them. I do play at Colony City, I do use Spazz3D, and I like them both. No animals were harmed during the creation of this web page.

mr_phillip@msn.com