Home | History | Annotate | Download | only in lib_src

Lines Matching refs:cutoff

996     EAS_I32 cutoff;
1005 /* determine the dynamic cutoff frequency */
1006 cutoff = MULT_EG1_EG1(pWTVoice->eg2Value, pArt->eg2ToFc);
1007 cutoff += pArt->filterCutoff;
1010 cutoff -= FILTER_CUTOFF_FREQ_ADJUST + A5_PITCH_OFFSET_IN_CENTS;
1012 /* limit the cutoff frequency */
1013 if (cutoff > FILTER_CUTOFF_MAX_PITCH_CENTS)
1014 cutoff = FILTER_CUTOFF_MAX_PITCH_CENTS;
1015 else if (cutoff < FILTER_CUTOFF_MIN_PITCH_CENTS)
1016 cutoff = FILTER_CUTOFF_MIN_PITCH_CENTS;
1018 WT_SetFilterCoeffs(pIntFrame, cutoff, pArt->filterQ);
1221 void WT_SetFilterCoeffs (S_WT_INT_FRAME *pIntFrame, EAS_I32 cutoff, EAS_I32 resonance)
1226 Convert the cutoff, which has had A5 subtracted, using the 2^x approx
1227 Note, this cutoff is related to theta cutoff by
1231 cutoff = EAS_Calculate2toX(cutoff);
1234 temp = k2g1[resonance] + MULT_AUDIO_COEF(cutoff, k2g2[resonance]);
1235 temp = k2g0 + MULT_AUDIO_COEF(cutoff, temp);
1239 temp = MULT_AUDIO_COEF(cutoff, nk1g2);
1240 temp = nk1g0 + MULT_AUDIO_COEF(cutoff, temp);
1245 temp = n1g2[resonance] + MULT_AUDIO_COEF(cutoff, n1g3[resonance]);
1246 temp = MULT_AUDIO_COEF(cutoff, temp);
1247 temp = MULT_AUDIO_COEF(cutoff, temp);