ABSTRACT

The commands that are introduced and the sections in which they are premiered are as follows:

beep (13.1) chirp (13.2) sound (13.2) soundsc (13.3) async (13.4) gong (13.4) sync (13.4) timer (13.4) wavplay (13.4) wavread (13.7) wavwrite (13.7) audiorecorder (13.8) auread (13.8) auwrite (13.8)

13.1 Playing Beeps

This chapter is concerned with a modality we have paid little attention to so far, although that modality has often captured our attention when we heard beeps alerting us to errors in our MATLAB code. In this final chapter we study MATLAB’s sound generation capabilities so we can control, and not just be annoyed or cajoled by, the sounds associated with our programs.