Solved

Sound "scratch" when adding wav files to flash

Posted on 2004-04-26
2
784 Views
Last Modified: 2010-08-05
I´m having trouble adding sound i.e wav files to a presentation made in flash 5. When recording I make sure that every sound clip is ending in complete silence. When im playing the sound clip i MS mediaplayer, real audio, Quicktime and other players the sound clip is normal.

After importing it in flash, the program adds a small scratch, similar to vinyl records pickup-scratching.... the scratching is also visible when viewing the sound clip in the library.

I´m using the technique
MySound = new Sound();
MySound.attachSound("TheClip");
MySound.start(0, 1);

The only way I can eliminate the scratch is through adding tha command: stopAllSounds (); after the clip has run for the correct number of frames... but this method sux... since I then have to publish and check my work correct the frame where I call stopAllSounds (); over and over again.... and I have about 200 soundclips.... *sigh*

Can anybody help me?
0
Comment
Question by:Yoda_
2 Comments
 
LVL 1

Accepted Solution

by:
MoonCalf earned 500 total points
Comment Utility
Sounds strange.  Where are these "scratches"?  Are they at the beginning or end of the files?  If so, put some silence at the beginning and end of each file and make flash fade them in and out.  Most sound files make a pop sound at the beginning and end - this is a standard way to remove them.

If that's not your problem, then I'm afraid I don't get you.  The only thing it could be is that you're using a compression ratio that's too low and making the flash versions of the sounds poo.

Good luck,

MoonCalf.
0
 

Author Comment

by:Yoda_
Comment Utility
The scratches are just before the sound stops at the end.

Ok, so I can get flash to fade in and out again.... hmmm... gotta check the manual for this...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now