VM Labs SDK Sample Code |
\vmlabs\sample\audio\Mixer |
Copyright © 1998-2001 VM Labs, Inc. All Rights Reserved |
March 2, 2001 |
This sample demonstrates how to the audio mixer functions to change the volume of a sound that is already playing. The program plays a MIDI sequence using the NUON Synth, and at the same time also plays a simple audio tone that loops endlessly. The user may use the joystick buttons to lower or raise the volume and adjust the panning for the PCM sample.
The mixer functions work in a similar fashion when using the LIBNISE library, except that you control the output of streaming audio rather than the NUON Synth.
Filename | Description |
makefile | MAKEFILE for building and running sample program. |
mixer.c | Main program code for sample. |
pcmdata.s | Assembler source that includes the PCM audio data file and MIDI sequence data file as binary images. |
sin500.pcm | Data file containing raw PCM-encoded data of a 500hz sine wave. |
DontSpeak.mid | MIDI sequence file |
Before attempting to load or run any of the SDK samples, make sure you have first read the Hitchhiker's Guide To NUON document.
After that, if you're still having trouble getting this sample program to work, click here to request assistance from developer support.