Lines Matching refs:cutoff
1002 EAS_I32 cutoff;
1011 /* determine the dynamic cutoff frequency */
1012 cutoff = MULT_EG1_EG1(pWTVoice->eg2Value, pArt->eg2ToFc);
1013 cutoff += pArt->filterCutoff;
1016 cutoff -= FILTER_CUTOFF_FREQ_ADJUST + A5_PITCH_OFFSET_IN_CENTS;
1018 /* limit the cutoff frequency */
1019 if (cutoff > FILTER_CUTOFF_MAX_PITCH_CENTS)
1020 cutoff = FILTER_CUTOFF_MAX_PITCH_CENTS;
1021 else if (cutoff < FILTER_CUTOFF_MIN_PITCH_CENTS)
1022 cutoff = FILTER_CUTOFF_MIN_PITCH_CENTS;
1024 WT_SetFilterCoeffs(pIntFrame, cutoff, pArt->filterQ);
1227 void WT_SetFilterCoeffs (S_WT_INT_FRAME *pIntFrame, EAS_I32 cutoff, EAS_I32 resonance)
1232 Convert the cutoff, which has had A5 subtracted, using the 2^x approx
1233 Note, this cutoff is related to theta cutoff by
1237 cutoff = EAS_Calculate2toX(cutoff);
1240 temp = k2g1[resonance] + MULT_AUDIO_COEF(cutoff, k2g2[resonance]);
1241 temp = k2g0 + MULT_AUDIO_COEF(cutoff, temp);
1245 temp = MULT_AUDIO_COEF(cutoff, nk1g2);
1246 temp = nk1g0 + MULT_AUDIO_COEF(cutoff, temp);
1251 temp = n1g2[resonance] + MULT_AUDIO_COEF(cutoff, n1g3[resonance]);
1252 temp = MULT_AUDIO_COEF(cutoff, temp);
1253 temp = MULT_AUDIO_COEF(cutoff, temp);