|
|
SDK Documentation |
Copyright © 1997-2001 |
February 23, 2001 |
This document provides an overview of the audio-related sample code included with the NUON SDK. The table below shows the folder name of each sample and a brief description of what is demonstrated. All folder names are relative to the \VMLABS\SAMPLE directory.
Folder Name |
Description |
audio\MIDI-Custom-Bank | Shows how to use a custom wavetable data bank with the NUON synth. |
audio\MIDI-Direct-API | This demonstrates how to use the low-level MIDI API. |
audio\MIDI-Parser | This shows the bare minimum code (and it doesn't take much) to play a MIDI tune using the NUON synth. |
audio\Mixer | This demonstrates how to use the mixer and panning functions. |
audio\NISE-Streaming | This demonstrates how to use the streaming audio functions. |
audio\NISE-Streaming-Jukebox | This demonstrates how to use the streaming audio functions to select and play a particular streaming audio track. |
audio\PCMPlaySample | This demonstrates the usage of the PCMPlaySample function. It simply plays a short PCM-encoded audio tone. This is similar to the PCMVoiceOn function, but requires different initialization and offers a different set of options. |
audio\PCMPlaySample-SDRAM | Basically the same as the PCMPlaySample program, except also demonstrates how to use the tools to specify that a program segment (the PCM data in this case) should be loaded into a particular area of memory. |
audio\PCMSetPitch | This shows you how to use the PCMSetPitch function to dynamically change the pitch of a PCM voice. |
audio\PCMVoiceOn | This sample demonstrates the usage of the PCMVoiceOn function. It simply plays a short PCM-encoded audio tone. |
audio\PlayWav | This program demonstrates how to play audio samples in the WAV and AIFF formats. |
All of the sample code in the NUON may be found in the \VMLABS\SAMPLE directory. Inside that directory are a number of additional directories which contain various sample programs. Each sample demonstrates a particular concept, such as how to use a certain NUON library, or how to use the SDK tools in a particular way.
The majority of the samples are something you can compile with the tools and execute on your NUON development system. A few samples are incomplete in some way and are provided merely so you can examine the source code.