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
546 pArt = &pSynth->pEAS->pArticulations[pWTVoice->artIndex]; in WT_UpdateVoice()
551 WT_UpdateEG1(pWTVoice, &pArt->eg1); in WT_UpdateVoice()
552 WT_UpdateEG2(pWTVoice, &pArt->eg2); in WT_UpdateVoice()
555 WT_UpdateLFO(&pWTVoice->modLFO, pArt->lfoFreq); in WT_UpdateVoice()
560 WT_UpdateFilter(pWTVoice, &intFrame, pArt); in WT_UpdateVoice()
566 intFrame.frame.gainTarget = WT_UpdateGain(pVoice, pWTVoice, pArt, pChannel, pWTRegion->gain); in WT_UpdateVoice()
576 intFrame.frame.phaseIncrement = WT_UpdatePhaseInc(pWTVoice, pArt, pChannel, temp); in WT_UpdateVoice()
658 static EAS_I32 WT_UpdatePhaseInc (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL… in WT_UpdatePhaseInc() argument
680 (MULT_EG1_EG1(pWTVoice->eg2Value, pArt->eg2ToPitch)) + in WT_UpdatePhaseInc()
681 (MULT_EG1_EG1(pWTVoice->modLFO.lfoValue, pArt->lfoToPitch)); in WT_UpdatePhaseInc()
768 …eGain (S_SYNTH_VOICE *pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *p… in WT_UpdateGain() argument
791 lfoGain = MULT_EG1_EG1(pWTVoice->modLFO.lfoValue, pArt->lfoToGain); in WT_UpdateGain()
1043 … void WT_UpdateFilter (S_WT_VOICE *pWTVoice, S_WT_INT_FRAME *pIntFrame, const S_ARTICULATION *pArt) in WT_UpdateFilter() argument
1048 if (pArt->filterCutoff == DEFAULT_EAS_FILTER_CUTOFF_FREQUENCY) in WT_UpdateFilter()
1055 cutoff = MULT_EG1_EG1(pWTVoice->eg2Value, pArt->eg2ToFc); in WT_UpdateFilter()
1056 cutoff += pArt->filterCutoff; in WT_UpdateFilter()
1067 WT_SetFilterCoeffs(pIntFrame, cutoff, pArt->filterQ); in WT_UpdateFilter()