Page 413 -
P. 413
add the tracks
The DJ has an entire directory of tracks
The DJ is so impressed by how usable your program is that he wants to
try it out tonight for his complete set, prior to its official unveiling at
the World Music Mixing Expo. The DJ needs to work with a lot more than Directory
two tracks. In fact, he has an entire directory full of loops. full of loops.
I want to use all
of these loops. Can
your program add all
of these WAV files
to my interface?
Now you could just change the code to add the extra files to the interface,
but the DJ wants to be able to manage which tracks the program uses.
So you will have to find all of the WAV files in the current directory and
then add them to the interface when the program starts.
Let’s get this thing to work.
378 Chapter 10

