Vuo  2.0.0
Classes | Macros | Functions
VuoDsp.mm File Reference

Description

VuoDsp implementation.

Definition in file VuoDsp.mm.

Go to the source code of this file.

Classes

class  VuoDspObject
 Holds instance data required by vDsp. More...
 

Functions

void VuoDsp_free (VuoDsp dspObject)
 Free things associated with AvWriter. More...
 
VuoDsp VuoDsp_make (unsigned int frameSize, VuoWindowing windowing)
 Create a new VuoDsp object with frame size (the max number of audio samples to process per-bin). More...
 
VuoRealVuoDsp_frequenciesForSamples (VuoDsp dspObject, VuoReal *audio, unsigned int sampleCount, VuoAudioBinAverageType binAveraging, unsigned int *spectrumSize, bool newSumming)
 Analyze the provided audio samples using the specified bin averaging method. More...
 

Function Documentation

◆ VuoDsp_free()

void VuoDsp_free ( VuoDsp  dspObject)

Free things associated with AvWriter.

Release the FFT object.

Definition at line 294 of file VuoDsp.mm.

◆ VuoDsp_frequenciesForSamples()

VuoReal* VuoDsp_frequenciesForSamples ( VuoDsp  dspObject,
VuoReal audio,
unsigned int  sampleCount,
VuoAudioBinAverageType  binAveraging,
unsigned int *  spectrumSize,
bool  newSumming 
)

Analyze the provided audio samples using the specified bin averaging method.

Return a VuoReal* array with size of spectrumSize of the analyzed audio samples.

Returns the spectrum band as a double * array putting the size into spectrumSize.

Definition at line 275 of file VuoDsp.mm.

◆ VuoDsp_make()

VuoDsp VuoDsp_make ( unsigned int  frameSize,
VuoWindowing  windowing 
)

Create a new VuoDsp object with frame size (the max number of audio samples to process per-bin).

Definition at line 265 of file VuoDsp.mm.