Audio for Flash : useful tutorials

The other area where STREAM is useful is switching the Flash player to ââ¬Åabsolute framerate keepingââ¬Â mode. If you donââ¬â¢t use any STREAM sound (or any sounds at all) and set the movieââ¬â¢s framerate to 25 fps it DOESNââ¬â¢T MEAN that the player will play the movie with 25 fps! The actual framerate will depend on many things but mainly on CPU power.

It seem to have been there for quite sometime, but as I was looking around for some tips and tricks on audio for flash, I tumbled upon this link at killersound.com about tutorials/tips on audio for flash. It will be a good bookmark for anyone doing Flash development. Out of the many articles, I particularly like the “layering audio in flash“, this particular technique was there in some books I read long back during the hay days of Flash 5.0 but then reading it again have refreshed my memory a bit more on understanding the whole scenario. Well, I used to remember that as “Kicker Layer” technique for audio. A similar situation was raised by some developers during a conference in Juhu, Mumbai, India and I am glad that I was able to explain and refer to this technique as a tip for them. [I remember, I got a T-shirt with MM logo for answering to that querry]

Also look at “the nullsound streaming” technique. Let me put a useful quote from the tutorial, for all those Flash designer who keep asking how to keep up the frame rate and more importantly to sync the audio with your animation.

“The other area where STREAM is useful is switching the Flash player to “absolute framerate keeping” mode. If you don’t use any STREAM sound (or any sounds at all) and set the movie’s framerate to 25 fps it DOESN’T MEAN that the player will play the movie with 25 fps! The actual framerate will depend on many things but mainly on CPU power. The stronger CPU you have the more accurate approximation of the desired framerate you got. This means that if you have an average movie it can perform with 8 - 9 fps on a iPentium 166 MHz processor and with 22 fps on iPentium III 500 MHz. If the theoretical framerate is set to 25 fps it means that the CPU has 1/25 seconds to make all of the calculations neccessary to display a frame. If the CPU is not fast enough it will take say 1/5 sec. per frame to perform these calculations so the practical playback framerate drops to 5 fps. If your animation contains 100 frames ALL of the frames will be played both in theory and in practice, but it will happen in 4 seconds in the theoretical case and in 20 seconds in practice (slowdown effect).”


Don't like it? There are lots of published articles, pick a random one.

oCricket

Brajeshwar posted this article on Thu, Jul 24th, 2003 at 4:00 pm
Categorized under Technology

Prev Article: Flash Paper

Next Article: RSS 2.0 feed ready


Possibly Related Articles

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 2 responses so far. You can follow any responses to this entry through the RSS feed. You can skip to the end and leave a response. Pinging is currently not allowed.

  1. the links seem not exactly available now.
    they redirect to the homepage of killersound…

  2. Ok, if the links do not work for some reason or if they have changed their hyperlinks, then from their home page, scroll a bit down, look on the left, search for “Tips & Tutorials” and choose “Macromedia Flash” under “web tools” heading in the next page.

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Cooliris for the iPhone

Cooliris is the browser extension that revolutionizes the way you view media on your computer. It is now available as an application for your iPhone! Cooliris for the iPhone allows you to search the web ...22nd Oct, 2008

Adobe releases Flash Player 10 (Mac, Win & Linux)

Adobe have released the shipping version of Flash Player 10 for Mac, Windows and Linux. More about Flash Player 10 * About Flash Player 10 * Get Flash Player 10 (Official Release version 10.0.12.36) * Download Debug and Standalone ...15th Oct, 2008

What a bad team can do to a Startup?

Flash/Flex developer, Orian Marx, started his Startup with much zeal and enthusiasm but had to give-in to failures because of none other but the team - the founders involved. His article outlined the story so ...13th Oct, 2008

Introduction to Adobe AIR (NetTuts)

Nettuts have a nice Introduction to Adobe AIR which focus on using HTML/JS to build an AIR Application. It covers -- Adobe AIR Architecture, How to install AIR, Get the development SDK, Configurations, gets on to ...2nd Oct, 2008

Decide Team Type from Books

What do you think of the "Team-Type" if they got these books recently? What "Team-Type" do these books suggest? ( surveys) 29th Sep, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • Downloads All downloads, Free and Open Source.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.
  • My Special Job My Special Job is a place where you can look for your weird necessities, strangely superb employees, when your need are more of those hackers, geeks, and ultimate rockstars in the Internet Technology.
  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 890 Articles and 6,067 comments, contained within 21 categories and 1,327 tags.