PDA

View Full Version : Making sounds like a BEEP?



musicman1088
September 1st, 2009, 04:08 PM
Is there a way for flash/actionscript to create frequency and duration (BASIC style?) BEEPS?

I'm still using CS3, I read somewhere that flash 10 has some functions for manipulating the pitch of a wave file, but it surprises me that there isn't simpler way to make a speaker sound...

pensamente
September 1st, 2009, 04:44 PM
hi musicman1088, if you are in the mood to explorer there is always the sooo big andré michelle lab. check for the sources, i'm sure you can get plenty from there.
http://lab.andre-michelle.com/tag/source/

for pitch, also from andre michelle:
http://blog.andre-michelle.com/2009/pitch-mp3/

this is done with ByteArray, but if you read the code it will be fully explained there.

good luck

IQAndreas
September 1st, 2009, 05:15 PM
Adobe had a nice little article on it.
http://www.adobe.com/devnet/flash/articles/dynamic_sound_generation/

Try downloading the sample projects.

Also there was a gotoAndLearn video...
http://www.gotoandlearn.com/play?id=75

WARNING!!! If you are wearing headphones, when he tests the SWF, TAKE THEM OFF!! I can still hear ringing in my ears.