How Do I Make a Simple Sound?


To produce a sound, you need to do the following:

  1. Load one or more digital signal processor (DSP) instruments by calling LoadInstrument().

    DSP instruments are programs that run on the DSP. They provide the functionality of oscillators, filters, envelopes, sample playback, and so on.

  2. Connect the inputs and outputs of the instruments by calling ConnectInstruments().

    This action is similar to patching a modular synthesizer.

  3. Connect to an instrument that can make the sound audible, such as directout.dsp.

  4. Call StartInstrument() to start executing the DSP instrument.

For More Information

See Preparing Instruments, and Playing Instruments for complete programming details.

See Audio Folio Calls, in the 3DO Music and Audio Programmer's Reference for descriptions of the calls.

See beep.c in the Examples folder for a complete example of making a simple sound.