Working with Audio in Matlab

Paul Watta, University of Michigan-Dearborn, Electrical and Computer Engineering
Author Profile
Initial Publication Date: September 18, 2020


ECE 329 Intro to Computer Music

Experiment #3: Working with Audio in Matlab

February 25, 2020 / Instructor: Paul Watta

  1. Create a gallery of at least 3 interesting and short sounds. Plot the signal in the time and frequency domains. Choose interesting clips and provide some commentary about how the actual sound relates to what is seen in the time and/or frequency domain, as well as commentary of differences among your chosen sounds. Post on your web page.
  2. Peruse some of the Matlab examples from the Audio Toolbox or DSP Toolbox. Modify them to do something cool and teach the class what you learned.
  3. Create an app in Matlab that allows the user to do something useful / cool with audio.

Used this activity? Share your experiences and modifications

Learning Goals

Work with audio in both the time domain and frequency domain.

Explore functionality of Audio and DSP toolboxes

Create a GUI for experimentation and audio creation

Context for Use

Undergraduate elective class aimed at Engineering and Computer Science students.

It was assumed that students had completed a basic computer programming class (though not necessarily Matlab).

An overview of Matlab programming was given in class, with emphasis on working with audio.

Description and Teaching Materials

Students needed to download and install Matlab and the Audio and DSP toolboxes.

Teaching Notes and Tips


Students presented their app to the class and explained how it worked.

References and Resources