Vuo  2.3.2
VuoDsp.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif
16 
17 #include "VuoAudioSamples.h"
18 #include "VuoAudioBinAverageType.h"
19 #include "VuoList_VuoReal.h"
20 
24 typedef void * VuoDsp;
25 
29 typedef enum { // actual samples per-bin
30  VuoWindowing_None,
31  VuoWindowing_Hamming,
32  VuoWindowing_Hann,
33  VuoWindowing_Blackman,
34 } VuoWindowing;
35 
39 VuoDsp VuoDsp_make(unsigned int frameSize, VuoWindowing windowing);
40 
44 VuoReal *VuoDsp_frequenciesForSamples(VuoDsp dspObject, VuoReal *audio, unsigned int sampleCount, VuoAudioBinAverageType binAveraging, unsigned int *spectrumSize, bool newSumming);
45 
46 #ifdef __cplusplus
47 }
48 #endif