Activating third-octave filterbank with Burg coefficient design as default in...

Activating third-octave filterbank with Burg coefficient design as default in binaural free-field renderer
parent 23ae43f0
......@@ -157,7 +157,7 @@ MotionModelLogEstimatedOutputSources = false
MotionModelLogInputListener = false
MotionModelLogEstimatedOutputListener = false
SwitchingAlgorithm = linear
FilterBankType = IIR
FilterBankType = iir_burg_order4
[Renderer:MyAmbientMixer]
class = AmbientMixer
......
......@@ -330,11 +330,15 @@ void CVABinauralFreeFieldAudioRenderer::Init( const CVAStruct& oArgs )
ITA_EXCEPT1( INVALID_PARAMETER, "Unrecognized interpolation algorithm '" + sVLDInterpolationAlgorithm + "' in BinauralFreefieldAudioRendererConfig" );
std::string sFilterBankType;
conf.OptString( "FilterBankType", sFilterBankType, "iir" );
conf.OptString( "FilterBankType", sFilterBankType, "iir_burg_order4" );
if( toLowercase( sFilterBankType ) == "fir" )
m_iFilterBankType = CITAThirdOctaveFilterbank::FIR_SPLINE_LINEAR_PHASE;
else
if( toLowercase( sFilterBankType ) == "iir_biquads_order10" )
m_iFilterBankType = CITAThirdOctaveFilterbank::IIR_BIQUADS_ORDER10;
if( toLowercase( sFilterBankType ) == "iir_burg_order10" )
m_iFilterBankType = CITAThirdOctaveFilterbank::IIR_BIQUADS_ORDER10;
else
m_iFilterBankType = CITAThirdOctaveFilterbank::IIR_BURG_ORDER4;
conf.OptInteger( "HRIRFilterLength", m_iHRIRFilterLength, 256 );
......
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