Flash Templates Tutorials - Sound - Sound compression and Sound replacement
Sound compression and Sound replacement
Sound replacement and compression:
Imagine such situation. While working on the project you have imported the sound which you were using to voice different situations (for example, when you press various buttons and objects). And later on you have decided to replace the sound with more suitable one. Of course, you can import a new sound and replace it logically in all cases used, however as you understand, it is not the best solution. Flash allows you to work on the already imported sound directly from the library of the project. In doing so, any change in the properties of imported sound file will be reflected automatically in all the objects that are using it.
Open the library Windows / Library or press Ctrl + L
Double-click the selected sound file, there is a window Sound Properties opened. In this window, you can not only replace the sound to another (Import Button), in case that you have edited the original sound and it is located in the same folder with the same name as used previously for the import - click Update. There is an excellent opportunity to select the type of sound compression allowing to optimize the size of the ready project.
What are the compression types available for us?
Default - by default: uses the default settings. We are quite familiar with default settings and will try to establish the required properties by ourselves.
Mp3 - allows to export sounds using MP3 compression. Use MP3 when you export the long streaming sounds, such as music tracks.
Additional options: Preprocessing, Bit Rate, and Quality, is a very popular type of compression: sometimes allows to reduce the size of the sound file in 10-15 times without major losses in sound quality. By changing the properties of capacity of the quality level, try to choose the most suitable result both in sounding and volume occupied (all the information is reflected in the bottom line of the window). But this format is to use only for background music or voice escort of the sufficient duration. The fact is that in order to decompress MP3 some time is required (although very little), and if mp3 plays for couple of seconds, then asynchronous delays in the moment of unpacking are possible.
ADCPM - sets the compression for 16-bit sound data. Use ADPCM when you export short event sounds, such as the sound of clicking on the button. ADPCM bits determines the number of bits used in ADPCM encoding. The high degree of compression gives small file size however the worst in quality sound. 2 bits is of the smallest and lowest quality option, 5 bit is a big, best option of quality. This format suits perfectly for the sounds small in length (beeps, peaks, booms and whisps). It is this format I recommend for short sound effects (when pressing a button, opening menus, etc.).
Bit Rate - determines the maximum bit rate of the sound encoded by MP3. MP3 Bit Rate displays when you select MP3 encoding as compression option. When exporting music set bit rate on 16 Kbps or higher for a better result.
Option Convert Stereo to Mono is unavailable for bit rate of 16Kbps and lower. Convert Stereo to Mono mixes stereo sound into mono, and doesn’t affect mono sounds.
Quality - allows you to choose between Fast, Medium or Best. Use Fast if you are going to publish your work on the Internet. Use Medium or Best in case you are not going to do this, but want to run a clip from a disk or CD.
RAW - another format allowing to change the frequency of digitization, exports sound without compression.
Sample Rate - sets the sampling rate for the exported file. High sampling rate provides the best sound quality and bigger file size. Low sampling rate reduces the use of disk space. Sampling rate options: 5 kHz just for speech; 11 kHz lowest quality recommended for short fragments of music, this is a quarter of a standard CD-quality; 22 kHz is usually used for publishing on the Internet, this is a half of a standard CD-quality; 44 kHz is a standard CD-quality. Flash can not improve the sound quality. If the sound is recorded with quality of 11 kHz mono, Flash will export it as a 11 kHz mono, even if you change the sampling rate to 44 kHz stereo