Vuo  2.0.1
Instance Methods | Protected Attributes | List of all members
VuoDspObject Class Reference

Description

Holds instance data required by vDsp.

Definition at line 34 of file VuoDsp.mm.

Instance Methods

(VuoReal *) - frequenciesForSampleData:numFrames:mode:outputCount:newSumming:
 ... More...
 
(id) - initWithSize:windowing:
 Initialize a new VuoDspObject that will analyze samples of frameSize buckets. More...
 

Protected Attributes

FFTSetup _fftSetup
 vDsp FFTSetup for this instance. More...
 
DSPSplitComplex _split
 Holds the DSPSplitComplex values per-bucket. More...
 
float * _frequency
 Hold the real values from the split complex array. More...
 
unsigned int _frameSize
 The number of frames per-bucket to analyze. Must be a power of 2. More...
 
VuoWindowing _windowMode
 What type of windowing to apply to sample data. More...
 
float * _window
 Holds windowed real values from samples. More...
 
VuoAudioBinAverageType priorFrequencyMode
 To detect when the frequencyMode changes. More...
 

Method Documentation

◆ frequenciesForSampleData:numFrames:mode:outputCount:newSumming:

- (VuoReal *) frequenciesForSampleData: (float *)  sampleData
numFrames: (int)  frames
mode: (VuoAudioBinAverageType frequencyMode
outputCount: (unsigned int *)  count
newSumming: (bool)  newSumming 

...

Definition at line 115 of file VuoDsp.mm.

◆ initWithSize:windowing:

- (id) initWithSize: (unsigned int)  frameSize
windowing: (VuoWindowing windowMode 

Initialize a new VuoDspObject that will analyze samples of frameSize buckets.

To change the frameSize, you must release and re-initialize this object.

Definition at line 55 of file VuoDsp.mm.

Member Data Documentation

◆ _fftSetup

- (FFTSetup) _fftSetup
protected

vDsp FFTSetup for this instance.

Definition at line 36 of file VuoDsp.mm.

◆ _frameSize

- (unsigned int) _frameSize
protected

The number of frames per-bucket to analyze. Must be a power of 2.

Definition at line 39 of file VuoDsp.mm.

◆ _frequency

- (float*) _frequency
protected

Hold the real values from the split complex array.

Definition at line 38 of file VuoDsp.mm.

◆ _split

- (DSPSplitComplex) _split
protected

Holds the DSPSplitComplex values per-bucket.

Definition at line 37 of file VuoDsp.mm.

◆ _window

- (float*) _window
protected

Holds windowed real values from samples.

Definition at line 41 of file VuoDsp.mm.

◆ _windowMode

- (VuoWindowing) _windowMode
protected

What type of windowing to apply to sample data.

Definition at line 40 of file VuoDsp.mm.

◆ priorFrequencyMode

- (VuoAudioBinAverageType) priorFrequencyMode
protected

To detect when the frequencyMode changes.

Definition at line 42 of file VuoDsp.mm.


The documentation for this class was generated from the following file: