Searched refs:pitchbend (Results 1 – 2 of 2) sorted by relevance
87 int pitchbend = chan->midi_pitchbend; in snd_opl3_calc_pitch() local90 if (pitchbend < -0x2000) in snd_opl3_calc_pitch()91 pitchbend = -0x2000; in snd_opl3_calc_pitch()92 if (pitchbend > 0x1FFF) in snd_opl3_calc_pitch()93 pitchbend = 0x1FFF; in snd_opl3_calc_pitch()95 segment = pitchbend / 0x1000; in snd_opl3_calc_pitch()98 (pitchbend % 0x1000)) / 0x1000; in snd_opl3_calc_pitch()
147 unsigned short snd_gf1_compute_pitchbend(unsigned short pitchbend, unsigned short sens)158 wheel = (int) pitchbend - 8192;