Chapter 3. Introduction to Digital Audio and MIDI Programming

Silicon Graphics offers a collection of libraries designed for developers of digital audio and MIDI software, as well as those seeking to integrate audio into their existing applications.

Part II, “Digital Audio and MIDI Programming,” describes in detail the application programming interfaces (APIs) for these libraries, which are included in the IRIS Digital Media Development Environment:

Each chapter presents the digital audio and MIDI libraries from a task-oriented perspective. Chapters are organized to cover topics in roughly the order you are concerned about them as you write audio or MIDI programs. To illustrate the use of the various component libraries, sample code fragments and demonstration programs are used throughout.

Digital audio programs typically access analog or digitally recorded sound data that is either input directly to the workstation audio hardware or stored on disk, digital audio tape, or CD. The application then manipulates the data and outputs the result to analog or digital line-out jacks, to disk, or to tape. MIDI programs read, process, and produce MIDI data streams, which are in turn interpreted by MIDI devices such as synthesizers and drum machines that are distributed across a MIDI network. The libraries described in this part of this guide provide all the necessary features to create audio and MIDI applications for Silicon Graphics workstations that support audio.

Reference documentation on the digital audio and MIDI routines is contained in online reference pages. These provide a concise, thorough description of each library function and are available through the use of the man or Xman command.

This guide assumes that you're somewhat familiar with principles of digital audio and MIDI. This section lists additional references that cover background material and topics beyond the scope of this part.

Although some background material is provided in the chapters on digital audio and MIDI, you may want to do some more in-depth reading. The following texts may provide useful supplementary information:

If you plan on using the MIDI C++ classes, you may want to use the following books as references: