Computers are at the center of almost everything related to audio. Whether for recording in the studio, synthesis in music production, or mixing in live sound, the computer plays an essential part. Audio effects plug-ins and virtual instruments are implemented as software computer code. Music apps are computer programs run on a mobile device. All these tools are created by programming a computer.
Hack Audio: An Introduction to Computer Programming and Digital Signal Processing in MATLAB provides an introduction for musicians and audio engineers interested in computer programming. It is intended for a range of readers including those with years of programming experience and those ready to write their first ever line of code. In the PDF ebook, computer programming is used to create audio effects using digital signal processing. By the end of the ebook, readers implement the following effects: digital summing, signal gain change, tremolo, mid/side processing, vocoder, stereo widening, auto-pan, distortion, filtering, equalization, multi-band processing, echo, vibrato, chorus, phaser, pitch shifter, flanger, auto-wah, convolution and algorithmic reverb, transient designer, compressor, expander, and de-esser.
Throughout the ebook, several types of test signals are synthesized, including: sine wave, impulse train, sawtooth wave, square wave, triangle wave, white noise, and pink noise. Common visualizations for signals and audio effects are created including: waveform, goniometer, impulse response, frequency spectrum, characteristic curve, step response, and spectrogram. In total, more than 200 examples are provided with completed code demonstrations.