Vuo  1.1.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Instance Methods | Protected Attributes | List of all members
VuoDspObject Class Reference

Description

Holds instance data required by vDsp.

Instance Methods

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

Protected Attributes

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

Method Documentation

- (NSArray *) frequenciesForSampleData: (float*)  sampleData
numFrames: (int)  frames
mode: (VuoAudioBinAverageType frequencyMode 

...

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

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

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

Member Data Documentation

- (FFTSetup) _fftSetup
protected

vDsp FFTSetup for this instance.

- (unsigned int) _frameSize
protected

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

- (float*) _frequency
protected

Hold the real values from the split complex array.

- (DSPSplitComplex) _split
protected

Holds the DSPSplitComplex values per-bucket.

- (float*) _window
protected

Holds windowed real values from samples.

- (unsigned int) _windowMode
protected

What type of windowing to apply to sample data.


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