Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1

Chapter 21 ■ Questions and answers: Finishing the setup Methods and digital audio


Select the portion of the audio sample in both Stereo audio tracks that extends beyond the 7.6 seconds,
as shown in Figure 21-27; use the Edit ➤ Delete menu sequence to remove this audio data from your sample.


This removes about three-fifths (7.6 of 18.3 is about two-fifths) of the digital audio data right off of the
bat. The next “move” we will make is to combine both Stereo audio tracks into one Mono audio track, again
reducing the amount of data by 100 percent. Select both Stereo audio tracks, as shown in Figure 21-28, and
use the Tracks ➤ Stereo Track to Mono menu sequence to combine these two (Stereo) digital audio tracks
into only one Mono digital audio track.


Figure 21-27. Select the portion between 7.6 and 18.3 seconds and use your Edit ➤ Delete menu sequence to
remove it


Figure 21-26. Open Audacity 2 and find a point at 7.6 seconds, which will loop seamlessly for the gameboard
spin audio

Free download pdf