Google


   


You are here: CodeIdol.com > Flash > Macromedia Flash® ActionScript: Training from the Source > Lesson16.Sound And Video > Controlling Sound With ActionScript

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

Controlling Sound with ActionScript

Although most of us can enjoy listening to music without thinking too much about what we're hearing, the vibrations that make up even the most elementary sounds are actually far from simplea fact made evident by the processing-power requirements of most audio-editing programs. Despite the complexity of even the simplest audio clip, however, sounds can be broken down into three basic characteristics:

  • Length. A sound's length can provide sensory cues about size (the short chirp of a small-car horn compared with the roar of a semi-truck's horn) and urgency (the tinkle of a viciously shaken dinner bell compared with the long bong of a lazy Sunday church bell).

  • Volume. A sound's volume provides clues about distance. Louder sounds give the feeling of closeness, whereas quiet sounds imply distance. A sound that gradually goes from quiet to loud, or vice versa, creates a sense of movement.

  • Panning. Panning represents the position of the sound from left to right or right to left. Like volume, panning allows you to determine the relative position of the element making the sound. If you were to close your eyes at a tennis match, you could accurately determine the position of the ball (left or right of the net) simply by the "pop" of the ball being smacked by the racket.

With Flash, you can control sound characteristics simply by editing sound instances on the Timelinea solution that works well for presentations that don't require audience or user participation. However, if you want to give your user controlallowing the user to move and slide things aroundyou need a more dynamic solution. Fortunately, you can easily emulate and control all these sound characteristics via ActionScript.


SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

You are here: CodeIdol.com > Flash > Macromedia Flash® ActionScript: Training from the Source > Lesson16.Sound And Video > Controlling Sound With ActionScript


ADBRITE ads links
   
Related tags







Popular Categories
Unix books and guides

AJAX popular information
C# language guides
Windows books and cookbooks

.......








Business Key Top Sites

be number one
rate your site




    С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.

    Русский Polski Francais Deutsch
    support sitemap terms

© CodeIdol Labs, 2007 - 2009