5 #ifndef __AVVTETRAINTERNAL_H_INCLUDED
6 #define __AVVTETRAINTERNAL_H_INCLUDED
20 #define NUMPROGRAMS (8)
23 #define MAXFREQ (20000.0)
24 #define LOWFREQ (250.0)
25 #define MINFREQ (20.0)
26 #define FREQRATIO (1.0 / log10(MAXFREQ / MINFREQ))
27 #define LOWRATIO (1.0 / log10(LOWFREQ / MINFREQ))
29 #define MAXNAMESIZE (32)
103 float fCurCapCompEQFilter;
104 float fCurCoincidenceFilter;
106 float fCardioidBoost;
115 float fCapEQWidth[
MAXCAP];
121 float fABMatrixEnabled;
144 void processReplacing(
float **inputs,
float **outputs,
int sampleFrames);
146 void generateImpulses(
int blockSize,
float** output);
148 virtual void setParameter(
int index,
float value);
149 virtual float getParameter (
int index);
152 float getVuPre(
int index);
153 float getVuPost(
int index);
157 void setOutputFormat(
int fmt);
158 int getOutputFormat();
162 void SetCapCompFilter(
short newCapCompFilter);
163 short GetCapCompFilter();
164 void SetCoincidenceFilter(
short newCoincidenceFilter);
165 short GetCoincidenceFilter();
166 bool CalibrationsDirectoryExists();
167 void ReadCalibrations();
168 void ReadTetraProcCalibrations();
169 void ReadBrahmaCalibrations();
175 void initDynamicFilters();
189 short m_nCurCapCompEQFilter;
190 short m_nCurCoincidenceFilter;
192 float m_fCardioidBoost;
200 float m_fCapEQFreq[
MAXCAP];
201 float m_fCapEQWidth[
MAXCAP];
202 float m_fCapEQGain[
MAXCAP];
207 bool m_bABMatrixEnabled;
208 short m_nAddressMode;
213 float fCurCapCompEQFilter;
214 float fCurCoincidenceFilter;
216 float fCardioidBoost;
225 float fCapEQWidth[
MAXCAP];
231 float fABMatrixEnabled;
241 long vuCount, vuMicCountPre[
MAXCAP], vuMicCountPost[
MAXOUT];
247 bool skipDynamicFilters;
257 short m_nNumCapCompEQFilter;
263 short m_nNumCoincidenceFilter;
#define MAXOUT
Definition: AVVTetraInternal.h:19
EXPORTED_FUNCTION void getProgramName(int program, char *programName)
Definition: VVTetraC.cpp:76
EXPORTED_FUNCTION short getAddressMode()
Definition: VVTetraC.cpp:88
EXPORTED_FUNCTION int getCurProgram()
Definition: VVTetraC.cpp:69
#define MAXFILTER
Definition: AVVTetraInternal.h:21
Definition: AVVTetraInternal.h:70
Definition: AVVTetraInternal.h:62
Definition: AVVTetraInternal.h:34
EXPORTED_FUNCTION void reloadCalibrations(const char *calibrationPath)
Definition: VVTetraC.cpp:30
Definition: AVVTetraInternal.h:67
short parm2AddressMode(float x)
Definition: AVVTetraInternal.h:40
Definition: AVVTetraInternal.h:63
Definition: LFFilter.h:16
Definition: AVVTetraInternal.h:69
Definition: AVVTetraInternal.h:65
Definition: AVVTetraInternal.h:66
Definition: MitRegFilter.h:13
Definition: AVVTetraInternal.h:61
~AVVTetraProgram()
Definition: AVVTetraInternal.h:99
#define MAXNAMESIZE
Definition: AVVTetraInternal.h:29
AddressModes
Definition: AVVTetraInternal.h:31
Definition: AVVTetraInternal.h:68
Definition: AVVTetraInternal.h:94
Definition: AVVTetraInternal.h:82
Definition: AVVTetraInternal.h:77
Definition: AVVTetraInternal.h:87
Definition: AVVTetraInternal.h:58
Definition: AVVTetraInternal.h:128
Definition: AVVTetraInternal.h:37
EXPORTED_FUNCTION void setSampleRate(long sampleRate)
Definition: VVTetraC.cpp:102
EXPORTED_FUNCTION void getCurProgramName(char *programName)
Definition: VVTetraC.cpp:56
Definition: AVVTetraInternal.h:59
Definition: AVVTetraInternal.h:79
Definition: AVVTetraInternal.h:36
float addressMode2parm(short n)
Definition: AVVTetraInternal.h:45
Definition: AVVTetraInternal.h:35
Definition: AVVTetraInternal.h:89
Definition: AVVTetraInternal.h:64
Definition: AVVTetraInternal.h:57
Definition: AVVTetraInternal.h:33
Definition: AVVTetraInternal.h:78
Definition: AVVTetraInternal.h:56
EXPORTED_FUNCTION int getNumPrograms()
Definition: VVTetraC.cpp:62
Definition: AVVTetraInternal.h:80
EXPORTED_FUNCTION int setProgram(int program)
Definition: VVTetraC.cpp:42
EXPORTED_FUNCTION bool canProcess()
Definition: VVTetraC.cpp:95
EXPORTED_FUNCTION void getCalibrationPath(char *calibrationPath)
Definition: VVTetraC.cpp:36
Definition: AVVTetraInternal.h:72
Definition: AVVTetraInternal.h:75
EXPORTED_FUNCTION void setAddressMode(short mode)
Definition: VVTetraC.cpp:82
#define MAXCAP
Definition: AVVTetraInternal.h:18
Definition: FilterMatrix.h:20
Definition: AVVTetraInternal.h:71
Definition: AVVTetraInternal.h:84
Definition: AVVTetraInternal.h:60
Definition: ABMatrix.h:13