Chapter 3

Basics of Audio in MATLAB®Creating, Importing, and Indexing Arrays

3.1 Introduction: Digital Audio Signals

An audio signal can be represented as a function of amplitude over time: A(t). When the signal is in the form of acoustic sound in physical space, it is a function of sound pressure over time. A microphone converts sound pressure to another form: electricity. In this case, the audio signal is a function of voltage over time or current over time. Sound pressure and electricity are functions of continuous time, meaning an amplitude value exists for all time during a signal.

A computer processes another form of the audio signal, a digital respresentation. The values in a digital signal are based on sampled (i.e., measured) amplitude ...

Get Hack Audio now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.