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

WIP trying to locate the problem with IR generator and Burg algorithm

parent fc88a026
......@@ -101,10 +101,12 @@ void CITAThirdOctaveFIRFilterGenerator::GenerateFilter( const ITABase::CThirdOct
// 1st step: Interpolate the magnitudes
m_pfInputData[ 0 ] = 1.0f;
for( int i = 0; i < CThirdOctaveGainMagnitudeSpectrum::GetNumBands(); i++ )
m_pfInputData[ 1 + i ] = float( oTOGainMagnitudes[ i ] );
m_pfInputData[ m_iInputFreqs - 1 ] = 0.0f; // @todo jst: check if this is good
// Bounndaries must be defined in a meaningful way.
m_pfInputData[ 0 ] = m_pfInputData[ 1 ];
m_pfInputData[ m_iInputFreqs - 1 ] = 0.0f;
// Initialize cubic spline interpolation
m_ypp = spline_cubic_set( m_iInputFreqs,
......
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