class SpectrumAnalyzer

Spectrum Analyzer. More...

Full nameCoral::SpectrumAnalyzer
Definition#include <spectrumanalyzer.h>
InheritsCoral::AudioWriterInterface [virtual public], Coral::Synchronizable
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

This class implements a spectrum analyzer device implementing AudioWriterInterface.

SpectrumAnalyzer ()

Constructor.

~SpectrumAnalyzer ()

Destructor.

card16 getSamplingRate ()
[const]

getSamplingRate() Implementation of AudioQualityInterface.

See also: AudioQualityInterface#getSamplingRate

Reimplemented from AudioQualityInterface

card8 getBits ()
[const]

getBits() Implementation of AudioQualityInterface.

See also: AudioQualityInterface#getBits

Reimplemented from AudioQualityInterface

card8 getChannels ()
[const]

getChannels() Implementation of AudioQualityInterface.

See also: AudioQualityInterface#getChannels

Reimplemented from AudioQualityInterface

card16 getByteOrder ()
[const]

getByteOrder() Implementation of AudioQualityInterface.

See also: AudioQualityInterface#getByteOrder

Reimplemented from AudioQualityInterface

cardinal getBytesPerSecond ()
[const]

getBytesPerSecond() Implementation of AudioQualityInterface.

See also: AudioQualityInterface#getBytesPerSecond

Reimplemented from AudioQualityInterface

cardinal getBitsPerSample ()
[const]

getBitsPerSample() Implementation of AudioQualityInterface.

See also: AudioQualityInterface#getBitsPerSample

Reimplemented from AudioQualityInterface

card16 setSamplingRate (const card16 samplingRate)

setSamplingRate() Implementation of AdjustableAudioQualityInterface.

See also: AdjustableAudioQualityInterface#setSamplingRate

Reimplemented from AdjustableAudioQualityInterface

card8 setBits (const card8 bits)

setBits() Implementation of AdjustableAudioQualityInterface.

See also: AdjustableAudioQualityInterface#setBits

Reimplemented from AdjustableAudioQualityInterface

card8 setChannels (const card8 channels)

setChannels() Implementation of AdjustableAudioQualityInterface.

See also: AdjustableAudioQualityInterface#setChannels

Reimplemented from AdjustableAudioQualityInterface

card16 setByteOrder (const card16 byteOrder)

setByteOrder() Implementation of AdjustableAudioQualityInterface.

See also: AdjustableAudioQualityInterface#setByteOrder

Reimplemented from AdjustableAudioQualityInterface

bool ready ()
[const]

ready() implementation of AudioWriterInterface

See also: AudioWriterInterface#ready

Reimplemented from AudioWriterInterface

void sync ()

sync() implementation of AudioWriterInterface

See also: AudioWriterInterface#sync

Reimplemented from AudioWriterInterface

bool write (const void* data, const size_t length)

write() implementation of AudioWriterInterface

See also: AudioWriterInterface#write

Reimplemented from AudioWriterInterface

bool getSpectrum (cardinal* left, cardinal* right, const cardinal bars)

Do Fourier transformation and get spectrum.

Parameters:
leftPointer to spectrum array for left channel.
rightPointer to spectrum array for right channel.
barsNumber of bars.

Returns: true, if spectrum has been computed; false, if there is not enough input data available.