Commit f1a40e6e authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

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

parent 8bd5d3f3
...@@ -119,7 +119,6 @@ public: ...@@ -119,7 +119,6 @@ public:
double dSampleRate; //!< Sampling rate double dSampleRate; //!< Sampling rate
float fSpeedOfSound; //!< Speed of sound, m/s float fSpeedOfSound; //!< Speed of sound, m/s
int iOptimization; //!< Optimization algorithm (future work, see features/room_compensation) 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 class ITA_CTC_API Loudspeaker
{ {
...@@ -175,18 +174,6 @@ public: ...@@ -175,18 +174,6 @@ public:
*/ */
void SetBeta( float fBeta ); 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 //! Get additional delay parameter
/** /**
* \return Delay in seconds * \return Delay in seconds
...@@ -282,7 +269,6 @@ private: ...@@ -282,7 +269,6 @@ private:
std::atomic< float > m_fBeta; //!< Beta parameter (regularization) 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::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 <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 const DAFFContentIR* m_pHRIR; //!< HRIR dataset pointer
Pose m_oHeadPose; //!< Current head Pose data Pose m_oHeadPose; //!< Current head Pose data
......
...@@ -23,7 +23,6 @@ ITANCTC::ITANCTC( const Config& oNCTCConfig ) ...@@ -23,7 +23,6 @@ ITANCTC::ITANCTC( const Config& oNCTCConfig )
m_fBeta = float( 1e-4 ); m_fBeta = float( 1e-4 );
m_iOptimization = m_oConfig.iOptimization; m_iOptimization = m_oConfig.iOptimization;
m_fSweetSpotWideningFactor = m_oConfig.fSweetSpotWideningFactor;
m_oHeadPose.vPos.SetToZeroVector(); m_oHeadPose.vPos.SetToZeroVector();
m_oHeadPose.vView.SetValues( 0, 0, -1.0f ); m_oHeadPose.vView.SetValues( 0, 0, -1.0f );
...@@ -361,16 +360,6 @@ float ITANCTC::GetBeta() ...@@ -361,16 +360,6 @@ float ITANCTC::GetBeta()
return m_fBeta; return m_fBeta;
} }
void ITANCTC::SetSweetSpotWideningFactor( float fFactor )
{
m_fSweetSpotWideningFactor = fFactor;
}
float ITANCTC::GetSweetSpotWideningFactor()
{
return m_fSweetSpotWideningFactor;
}
void ITANCTC::SetDelayTime( float fDelayTime ) void ITANCTC::SetDelayTime( float fDelayTime )
{ {
for( int n = 0; n < GetN(); n++ ) 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