Digital Sound & Music: Concepts, Applications, & Science, Chapter 5, last updated 6/25/2013
Figure 5.30 - Synchronizing to the clocking signal embedded in the digital audio stream
Regardless of the synchronization strategy you use, the goal is to have one word clock
master with every other digital device in your system set to slave to the master word clock. If
you set this up correctly, you should have no problems maintaining a completely digital signal
path through your audio system and benefit from the decreased latency from input to output.
5.3 Science, Mathematics, and Algorithms
5.3.1 Reading and Writing Audio Files in MATLAB
A number of exercises in this book ask that you experiment with audio processing by reading
inaaudio file into MATLAB or a C++ program, manipulate it in some way, and either listen
directly to the result or write the result back to a file. Thus, we begin Section 3 of this chapter
with an overview of how to read and write audio files in MATLAB and C++.
In some cases you may be working with raw audio data coming from an external source.
For example, you can take any little clip of music or sound and, in Audacity or some other higher
level tool, save or export the clip as an uncompressed or raw file. Audacity allows you to save in
uncompressed WAV or AIFF formats (Figure 5.31).
Previous Page Next Page