Lines Matching refs:pArt
59 static EAS_I32 WT_UpdatePhaseInc (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL…
60 …eGain (S_SYNTH_VOICE *pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *p…
70 …void WT_UpdateFilter (S_WT_VOICE *pWTVoice, S_WT_INT_FRAME *pIntFrame, const S_ARTICULATION *pArt);
315 const S_ARTICULATION *pArt; in WT_StartVoice() local
350 pArt = &pSynth->pEAS->pArticulations[pWTVoice->artIndex]; in WT_StartVoice()
355 pWTVoice->eg1Increment = pArt->eg1.attackTime; in WT_StartVoice()
358 pWTVoice->eg2Increment = pArt->eg2.attackTime; in WT_StartVoice()
362 pWTVoice->modLFO.lfoPhase = -pArt->lfoDelay; in WT_StartVoice()
375 pan += pArt->pan; in WT_StartVoice()
535 const S_ARTICULATION *pArt; in WT_UpdateVoice() local
547 pArt = &pSynth->pEAS->pArticulations[pWTVoice->artIndex]; in WT_UpdateVoice()
552 WT_UpdateEG1(pWTVoice, &pArt->eg1); in WT_UpdateVoice()
553 WT_UpdateEG2(pWTVoice, &pArt->eg2); in WT_UpdateVoice()
556 WT_UpdateLFO(&pWTVoice->modLFO, pArt->lfoFreq); in WT_UpdateVoice()
561 WT_UpdateFilter(pWTVoice, &intFrame, pArt); in WT_UpdateVoice()
567 intFrame.frame.gainTarget = WT_UpdateGain(pVoice, pWTVoice, pArt, pChannel, pWTRegion->gain); in WT_UpdateVoice()
577 intFrame.frame.phaseIncrement = WT_UpdatePhaseInc(pWTVoice, pArt, pChannel, temp); in WT_UpdateVoice()
655 static EAS_I32 WT_UpdatePhaseInc (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL… in WT_UpdatePhaseInc() argument
677 (MULT_EG1_EG1(pWTVoice->eg2Value, pArt->eg2ToPitch)) + in WT_UpdatePhaseInc()
678 (MULT_EG1_EG1(pWTVoice->modLFO.lfoValue, pArt->lfoToPitch)); in WT_UpdatePhaseInc()
765 …eGain (S_SYNTH_VOICE *pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *p… in WT_UpdateGain() argument
788 lfoGain = MULT_EG1_EG1(pWTVoice->modLFO.lfoValue, pArt->lfoToGain); in WT_UpdateGain()
1040 … void WT_UpdateFilter (S_WT_VOICE *pWTVoice, S_WT_INT_FRAME *pIntFrame, const S_ARTICULATION *pArt) in WT_UpdateFilter() argument
1045 if (pArt->filterCutoff == DEFAULT_EAS_FILTER_CUTOFF_FREQUENCY) in WT_UpdateFilter()
1052 cutoff = MULT_EG1_EG1(pWTVoice->eg2Value, pArt->eg2ToFc); in WT_UpdateFilter()
1053 cutoff += pArt->filterCutoff; in WT_UpdateFilter()
1064 WT_SetFilterCoeffs(pIntFrame, cutoff, pArt->filterQ); in WT_UpdateFilter()