Home | History | Annotate | Download | only in audio

Lines Matching refs:pitch

94  * pitch is the pitch of the bell in Hz,
100 audiobell(void *dev, u_int pitch, u_int period, u_int volume, int poll)
141 /* Limit pitch */
142 if (pitch < 20)
143 pitch = 20;
146 if (pitch <= mixer_sample_rate / 16) {
149 } else if (pitch <= mixer_sample_rate / 8) {
152 } else if (pitch <= mixer_sample_rate / 4) {
157 if (pitch > mixer_sample_rate / 2)
158 pitch = mixer_sample_rate / 2;
164 play_sample_rate = pitch * wave1count;