• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Sound

Java 3D provides extensive support for the use of 3D sound. Sounds are represented by audio data files, typically stored in Sun's ".au" file format or in ".wav" format. Most sound editing programs (such as Goldwave or CoolEdit) are able to read and write sounds in a variety of formats, including ".wav" and ".au".

If you're familiar with the way VRML handles sound, then you already know the basics of sound in Java 3D. (To learn about VRML sound refer to Chapter 9, "Customizing Light, Background, Fog, and Sound.") VRML defines an AudioClip node that contains the actual audio data, whereas Java 3D defines a MediaContainer that does the same thing. Despite its generic name, a MediaContainer can currently store only audio data—not general multimedia data such as AVI or MPEG files.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint