Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


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

31.10. Summary

  • The sound system is made up of several classes that work together. The Flash Player event framework is used to communicate the status of sounds loading and playing.

  • A Sound object contains the sound data and loads and streams sound files. SoundChannel is a handle on the audio output from a Sound object. The SoundMixer controls the overall output of all the sounds, and SoundTransform controls how sounds are mixed.

  • Sounds can be embedded, loaded from local files, or streamed from external files over the internet.

  • ID3 data contains detailed metadata about an MP3 song, such as artist, genre, and song name. Access this information through a sound's id3 property.

  • You can sample audio as a waveform or a frequency spectrum to enable audio visualizations.

  • In Flash Player 10 and up, you can extract, modify, and generate audio as it is playing.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial