Searched defs:pitch (Results 1 - 11 of 11) sorted by relevance
/sound/core/oss/ |
H A D | rate.c | 46 unsigned int pitch; member in struct:rate_priv 114 pos += data->pitch; 174 pos += data->pitch; 194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); 196 res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); 227 res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); 229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); 333 data->pitch [all...] |
/sound/drivers/opl4/ |
H A D | opl4_synth.c | 423 int note, pitch, octave; local 427 * pitch is in 100/128 cents, so 0x80 is one semitone and 430 pitch = ((note - 60) << 7) * voice->sound->key_scaling / 100 + (60 << 7); 431 pitch += voice->sound->pitch_offset; 433 pitch += chan->gm_rpn_coarse_tuning; 434 pitch += chan->gm_rpn_fine_tuning >> 7; 435 pitch += chan->midi_pitchbend * chan->gm_rpn_pitch_bend_range / 0x2000; 436 if (pitch < 0) 437 pitch = 0; 438 else if (pitch > [all...] |
/sound/isa/sb/ |
H A D | emu8000_callback.c | 252 /* set pitch offset */ 274 /* lfo1 pitch & cutoff shift */ 278 /* lfo2 pitch & freq */ 321 /* set reverb and pitch target */ 345 * Set the pitch of a possibly playing note. 385 short pitch; local 389 pitch = (char)(vp->reg.parm.fmmod>>8); 392 pitch += (MOD_SENSE * modulation) / 1200; 393 LIMITVALUE(pitch, -128, 127); 394 fmmod = ((unsigned char)pitch<< 410 short pitch; local [all...] |
H A D | emu8000_pcm.c | 60 unsigned int pitch; member in struct:snd_emu8k_pcm 267 * calculate pitch target 269 static int calc_pitch_target(int pitch) argument 271 int ptarget = 1 << (pitch >> 12); 272 if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; 273 if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; 274 if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; 295 /* pitch offset */ 296 EMU8000_IP_WRITE(hw, ch, rec->pitch); 310 /* lfo1 pitch [all...] |
/sound/pci/emu10k1/ |
H A D | emu10k1_callback.c | 369 /* set pitch offset */ 392 /* lfo1 pitch & cutoff shift */ 396 /* lfo2 pitch & freq */ 494 /* set pitch target and pan (volume) */ 498 /* pitch target */ 512 short pitch; local 516 pitch = (char)(vp->reg.parm.fmmod>>8); 519 pitch += (MOD_SENSE * modulation) / 1200; 520 LIMITVALUE(pitch, -128, 127); 521 fmmod = ((unsigned char)pitch<< 530 short pitch; local [all...] |
H A D | emupcm.c | 401 /* pitch envelope */ 700 unsigned int voice, pitch, pitch_target; local 708 pitch = snd_emu10k1_rate_to_pitch(runtime->rate) >> 8; 716 snd_emu10k1_ptr_write(emu, IP, voice, pitch);
|
/sound/synth/emux/ |
H A D | emux_synth.c | 564 int pitch; local 587 pitch = (HI_BYTE(parm->pefe) << 4) + vp->apitch; 588 if (pitch > 0xffff) 589 pitch = 0xffff; 597 pitch = vp->apitch; 600 /* compute pitch target */ 601 if (pitch != 0xffff) { 602 vp->ptarget = 1 << (pitch >> 12); 603 if (pitch & 0x800) vp->ptarget += (vp->ptarget*0x102e)/0x2710; 604 if (pitch [all...] |
/sound/pci/ctxfi/ |
H A D | ctsrc.c | 158 static int src_set_pitch(struct src *src, unsigned int pitch) argument 163 hw->src_set_pitch(src->rsc.ctrl_blk, pitch);
|
H A D | ctatc.c | 196 unsigned int pitch; local 199 /* get pitch and convert to fixed-point 8.24 format. */ 200 pitch = (input_rate / output_rate) << 24; 216 pitch |= input_rate; 219 return pitch; 222 static int select_rom(unsigned int pitch) argument 224 if (pitch > 0x00428f5c && pitch < 0x01b851ec) { 225 /* 0.26 <= pitch <= 1.72 */ 227 } else if (pitch 252 unsigned int pitch; local 445 unsigned int pitch; member in struct:src_node_conf_t 455 unsigned int pitch; local 505 unsigned int pitch; local 646 unsigned int pitch; local 784 unsigned int pitch, rsr = atc->pll_rate; local [all...] |
H A D | cthw20k1.c | 330 static int src_set_pitch(void *blk, unsigned int pitch) argument 334 set_field(&ctl->mpr, MPRLH_PITCH, pitch);
|
H A D | cthw20k2.c | 328 static int src_set_pitch(void *blk, unsigned int pitch) argument 332 set_field(&ctl->mpr, MPRLH_PITCH, pitch);
|
Completed in 159 milliseconds