Lines Matching refs:cutoff
249 EAS_I32 cutoff; in DLS_UpdateFilter() local
260 cutoff = pDLSArt->filterCutoff; in DLS_UpdateFilter()
274 cutoff += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue); in DLS_UpdateFilter()
277 cutoff += FMUL_15x15(pWTVoice->eg2Value, pDLSArt->eg2ToFc); in DLS_UpdateFilter()
281 cutoff += (pVoice->velocity * pDLSArt->velToFc) >> 7; in DLS_UpdateFilter()
285 cutoff += (pVoice->note * pDLSArt->keyNumToFc) >> 7; in DLS_UpdateFilter()
288 cutoff -= FILTER_CUTOFF_FREQ_ADJUST + A5_PITCH_OFFSET_IN_CENTS; in DLS_UpdateFilter()
291 if (cutoff > FILTER_CUTOFF_MAX_PITCH_CENTS) in DLS_UpdateFilter()
292 cutoff = FILTER_CUTOFF_MAX_PITCH_CENTS; in DLS_UpdateFilter()
293 else if (cutoff < FILTER_CUTOFF_MIN_PITCH_CENTS) in DLS_UpdateFilter()
294 cutoff = FILTER_CUTOFF_MIN_PITCH_CENTS; in DLS_UpdateFilter()
296 WT_SetFilterCoeffs(pIntFrame, cutoff, pDLSArt->filterQandFlags & FILTER_Q_MASK); in DLS_UpdateFilter()