Home
last modified time | relevance | path

Searched refs:pitchCents (Results 1 – 3 of 3) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_dlssynth.c140 …_VOICE *pWTVoice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCents) in DLS_UpdatePhaseInc() argument
156 pitchCents += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue); in DLS_UpdatePhaseInc()
170 pitchCents += FMUL_15x15(temp, pWTVoice->vibLFO.lfoValue); in DLS_UpdatePhaseInc()
173 pitchCents += FMUL_15x15(pDLSArt->eg2ToPitch, pWTVoice->eg2Value); in DLS_UpdatePhaseInc()
176 return EAS_Calculate2toX(pitchCents); in DLS_UpdatePhaseInc()
Deas_mdls.c434 static EAS_I16 ConvertLFOPhaseIncrement (EAS_I32 pitchCents);
2561 static EAS_I16 ConvertLFOPhaseIncrement (EAS_I32 pitchCents) in ConvertLFOPhaseIncrement() argument
2565 if (pitchCents > MAX_LFO_FREQUENCY_IN_PITCHCENTS) in ConvertLFOPhaseIncrement()
2566 pitchCents = MAX_LFO_FREQUENCY_IN_PITCHCENTS; in ConvertLFOPhaseIncrement()
2567 if (pitchCents < MIN_LFO_FREQUENCY_IN_PITCHCENTS) in ConvertLFOPhaseIncrement()
2568 pitchCents = MIN_LFO_FREQUENCY_IN_PITCHCENTS; in ConvertLFOPhaseIncrement()
2571 pitchCents = pitchCents - dlsLFOFrequencyConvert; in ConvertLFOPhaseIncrement()
2574 return (EAS_I16) EAS_Calculate2toX(pitchCents); in ConvertLFOPhaseIncrement()
Deas_wtsynth.c58 … (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCents);
626 …c (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCents) in WT_UpdatePhaseInc() argument
647 temp += pitchCents + in WT_UpdatePhaseInc()