diff sv/filter/MultiRealTimeFilter.h @ 229:7d5d51145b81

support stereo in MultiRealTimeFilter and integrate Equalizer filter
author lbajardsilogic
date Wed, 05 Mar 2008 14:08:57 +0000
parents c413e82a4812
children 70b88fbbfb5c
line wrap: on
line diff
--- a/sv/filter/MultiRealTimeFilter.h	Fri Feb 29 11:08:09 2008 +0000
+++ b/sv/filter/MultiRealTimeFilter.h	Wed Mar 05 14:08:57 2008 +0000
@@ -53,22 +53,79 @@
 
 	int		m_transhold;
 
-	float *m_inputBuffer;
+	float *m_inputBufferL;
+	float *m_inputBufferR;
 
+	/* DAN Removed
 	float *audioframe;
 	float *prev_audioframe;
+	float *processedframe;
+	*/ 
+	
 	float *window;
-	float *processedframe;
+	
+	// DAN Added
+	float *L_audioframe;		//
+	float *R_audioframe;		//
+	float *pL_audioframe;		//
+	float *pR_audioframe;		//
+	float *L_processedframe;	//
+	float *R_processedframe;
+	
+	
+	/* DAN Removed
 	float *outbuffer;
 	float *holdbuffer3;
 	float *holdbuffer2;
 	float *holdbuffer1;
+	*/
 
+	// DAN Added
+	float *L_outbuffer;
+	float *L_holdbuffer3;
+	float *L_holdbuffer2;
+	float *L_holdbuffer1;
+	float *R_outbuffer;
+	float *R_holdbuffer3;
+	float *R_holdbuffer2;
+	float *R_holdbuffer1;
+
+	
+	float *L_phase;		///CURRENT FRAME phases
+	float *R_phase;		///CURRENT FRAME phases
+	float *pL_phase;		///PREVIOUS FRAME phases
+	float *pR_phase;		///PREVIOUS FRAME phases
+	float *cL_synthphase;
+	float *cR_synthphase;
+	float *pL_synthphase;
+	float *pR_synthphase;
+	
+	/* DAN Removed
 	float *c_phase;		///CURRENT FRAME phases
 	float *p_phase;		///PREVIOUS FRAME phases
 	float *c_synthphase;
 	float *p_synthphase;
 	float *synthframe;
+	*/
+
+	// DAN Added - Following variables for EQ tool
+	int gainband1;
+	int gainband2;
+	int gainband3;
+	int gainband4;
+	int gainband5;
+
+	/*float *band1;
+	float *band2;
+	float *band3;
+	float *band4;
+	float *band5;*/
+
+	// DAN Added - Following variables for graphical plots in EQ tool
+	float *bandcurve;
+	float *plotbandcurve;
+	//float *eqcurve;
+	float *plotFFTarray; 
 
 	TimeStretchFilter * m_timeStretchFilter;
 	EqualizerFilter *	m_equalizerFilter;