Lines Matching full:pitch
49 unsigned int pitch; member
253 * calculate pitch target
255 static int calc_pitch_target(int pitch) in calc_pitch_target() argument
257 int ptarget = 1 << (pitch >> 12); in calc_pitch_target()
258 if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; in calc_pitch_target()
259 if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; in calc_pitch_target()
260 if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; in calc_pitch_target()
281 /* pitch offset */ in setup_voice()
282 EMU8000_IP_WRITE(hw, ch, rec->pitch); in setup_voice()
296 /* lfo1 pitch & cutoff shift */ in setup_voice()
300 /* lfo2 pitch & freq */ in setup_voice()
327 int pt = calc_pitch_target(rec->pitch); in start_voice()
335 /* set reverb and pitch target */ in start_voice()
568 rec->pitch = 0xe000 + calc_rate_offset(subs->runtime->rate); in emu8k_pcm_prepare()