Home | History | Annotate | Download | only in lib_src

Lines Matching defs:temp

142     EAS_I32 temp;
145 temp = pDLSArt->modLFOToPitch;
149 temp += ((pDLSArt->modLFOCC1ToPitch * pChannel->modWheel) >> 7);
153 temp += ((pDLSArt->modLFOChanPressToPitch * pChannel->channelPressure) >> 7);
156 pitchCents += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue);
159 temp = pDLSArt->vibLFOToPitch;
163 temp += ((pDLSArt->vibLFOCC1ToPitch * pChannel->modWheel) >> 7);
167 temp += ((pDLSArt->vibLFOChanPressToPitch * pChannel->channelPressure) >> 7);
170 pitchCents += FMUL_15x15(temp, pWTVoice->vibLFO.lfoValue);
187 EAS_I32 temp;
190 temp = pDLSArt->modLFOToGain;
194 temp += ((pDLSArt->modLFOCC1ToGain * pChannel->modWheel) >> 7);
198 temp += ((pDLSArt->modLFOChanPressToGain * pChannel->channelPressure) >> 7);
201 gain += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue);
215 temp = EAS_LogToLinear16((pWTVoice->eg1Value - 32767) >> 1);
216 gain = FMUL_15x15(gain, temp);
232 temp = velocity << 8;
233 temp = FMUL_15x15(temp, temp);
234 gain = FMUL_15x15(gain, temp);
250 EAS_I32 temp;
263 temp = pDLSArt->modLFOToFc;
267 temp += ((pDLSArt->modLFOCC1ToFc * pChannel->modWheel) >> 7);
271 temp += ((pDLSArt->modLFOChanPressToFc* pChannel->channelPressure) >> 7);
274 cutoff += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue);
385 EAS_I32 temp;
403 temp = pDLSArt->tuning + pChannel->staticPitch + pDLSRegion->wtRegion.tuning +
408 temp += pSynth->globalTranspose * 100;
411 intFrame.frame.phaseIncrement = DLS_UpdatePhaseInc(pWTVoice, pDLSArt, pChannel, temp);
469 EAS_I32 temp;
494 temp = pEnvParams->attackTime + ((pEnvParams->velToAttack * pVoice->velocity) >> 7);
495 *pIncrement = ConvertRate(temp);
505 temp = *pValue + *pIncrement;
506 *pValue = (EAS_I16) (temp < SYNTH_FULL_SCALE_EG1_GAIN ? temp : SYNTH_FULL_SCALE_EG1_GAIN);
515 temp = pEnvParams->holdTime + ((pEnvParams->keyNumToHold * pVoice->note) >> 7);
516 *pIncrement = ConvertDelay(temp);
535 temp = pEnvParams->decayTime + ((pEnvParams->keyNumToDecay * pVoice->note) >> 7);
536 *pIncrement = ConvertRate(temp);
546 temp = *pValue - *pIncrement;
547 *pValue = (EAS_I16) (temp > pEnvParams->sustainLevel ? temp : pEnvParams->sustainLevel);
559 temp = *pValue - *pIncrement;
560 if (temp <= 0)
566 *pValue = (EAS_I16) temp;