##### [API function]

## FSOUND_DSP_GetSpectrum

Function to return a pointer to the current spectrum buffer. The buffer contains 512 floating
point values that represent each frequency band's amplitude for the current FMOD SoundSystem
mixing buffer. The range of frequencies covered by the spectrum is 1 to the nyquist frequency
or half of the output rate. So if the output rate is 44100, then frequencies provided are up
to 22050. (entry 511)

F_FLOAT_API * F_API FSOUND_DSP_GetSpectrum(
);

### Return Value

A pointer to a buffer containing 512 floats.

### Remarks

Note that hardware sounds, MIDI, files do not register on the spectrum graph as they are not run through FMODs DSP system.
Note that to use this you have to turn on the FSOUND FFT DSP unit. This is achieved by calling FSOUND_DSP_GetFFTUnit, then using FSOUND_DSP_SetActive to turn it on.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, GameCube

### See Also

FSOUND_DSP_GetFFTUnit , FSOUND_DSP_SetActive

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:29 2005 by SourceDoc v0.10, the automated source code documenter.