28.04.2019 Views

[JAVA][Beginning Java 8 Games Development]

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 15 ■ Implementing Game Audio Assets: Using the <strong>Java</strong>FX AudioClip Class Audio Sequencing Engine<br />

If we combine our two stereo audio tracks into one mono track, using the Audacity Tracks ➤ Stereo Track to<br />

Mono algorithm which is shown in the menu sequence in Figure 15-8, it will reduce the digital audio data footprint by<br />

another 100%, giving us a 14KB audio file. We could fit 72 digital audio assets of this size into one megabyte of system<br />

memory. As it is, using the (uncompressed, no less) digital audio data footprint optimization that I have shown during<br />

this section of the chapter, I have managed to get all six digital audio assets into less than 62 KB of memory footprint.<br />

Figure 15-8. Use the Tracks ➤ Stereo Track to Mono algorithm to combine the stereo samples into one Mono sample<br />

What I want you to do before you use this stereo-to-mono algorithm is to click on the Play transport button at the<br />

top of Audacity, and listen to the stereo audio asset carefully, a couple of times. Next, go ahead and invoke this stereoto-mono<br />

track merging algorithm, using the menu sequence shown in Figure 15-8. After you see a single mono audio<br />

asset, which you can look ahead and see in Figure 15-9, click on the Play transport button again, and then listen to the<br />

audio sample, now that it is monaural, and see if you can detect any difference whatsoever.<br />

This difference is even more difficult to detect (if you even can) with specialized sound effects. The Audacity<br />

2.0.6 software package is a fully professional digital audio editing, sweetening, and sound effects program, and as<br />

you can see here, you can achieve professional game audio development results using the correct work process<br />

with this software, which is why I had you download and install it during Chapter 1. To make sure you have the<br />

most powerful version of Audacity 2.0.6 possible, make sure that you have all of the LADSPA, VST, Nyquist, LV2,<br />

LAME, and FFMPEG plug-ins downloaded, and then install them in the C:\Program Files\Audacity\Plug-Ins<br />

folder, and restart Audacity.<br />

www.it-ebooks.info<br />

331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!