Cleaning up default NCTC (removing features that are developed in branches now)

parent 8bd5d3f3
......@@ -119,7 +119,6 @@ public:
double dSampleRate; //!< Sampling rate
float fSpeedOfSound; //!< Speed of sound, m/s
int iOptimization; //!< Optimization algorithm (future work, see features/room_compensation)
float fSweetSpotWideningFactor; //!< Factor for sweet spot widening (none = 0.0, max_wide = 1.0)
class ITA_CTC_API Loudspeaker
{
......@@ -175,18 +174,6 @@ public:
*/
void SetBeta( float fBeta );
//! Get sweet spot widening factor
/**
* \return Factor [0..1]
*/
float GetSweetSpotWideningFactor();
//! Set sweet spot widening parameter
/**
* \param fFactor number between [0..1] (none: 0, max range = 1.0)
*/
void SetSweetSpotWideningFactor( float fFactor );
//! Get additional delay parameter
/**
* \return Delay in seconds
......@@ -282,7 +269,6 @@ private:
std::atomic< float > m_fBeta; //!< Beta parameter (regularization)
std::vector< float > m_vfDelayTime; //!< Add a delay [seconds] to the resulting CTC filter (individual channels)
std::atomic <int > m_iOptimization; //!< Optimization (see Config enum)
std::atomic< float > m_fSweetSpotWideningFactor; //!< Factor for sweet spot widening (none = 0.0, max_wide = 1.0)
const DAFFContentIR* m_pHRIR; //!< HRIR dataset pointer
Pose m_oHeadPose; //!< Current head Pose data
......
......@@ -23,7 +23,6 @@ ITANCTC::ITANCTC( const Config& oNCTCConfig )
m_fBeta = float( 1e-4 );
m_iOptimization = m_oConfig.iOptimization;
m_fSweetSpotWideningFactor = m_oConfig.fSweetSpotWideningFactor;
m_oHeadPose.vPos.SetToZeroVector();
m_oHeadPose.vView.SetValues( 0, 0, -1.0f );
......@@ -361,16 +360,6 @@ float ITANCTC::GetBeta()
return m_fBeta;
}
void ITANCTC::SetSweetSpotWideningFactor( float fFactor )
{
m_fSweetSpotWideningFactor = fFactor;
}
float ITANCTC::GetSweetSpotWideningFactor()
{
return m_fSweetSpotWideningFactor;
}
void ITANCTC::SetDelayTime( float fDelayTime )
{
for( int n = 0; n < GetN(); n++ )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment