Lines Matching defs:vel
14 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
46 void snd_opl3_calc_volume(unsigned char *volbyte, int vel,
52 volume = (vel * chan->gm_volume * chan->gm_expression) / (127*127);
276 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan)
307 snd_printk(KERN_DEBUG "Note on, ch %i, inst %i, note %i, vel %i\n",
308 chan->number, chan->midi_program, note, vel);
335 snd_opl3_drum_switch(opl3, note, vel, 1, chan);
442 snd_opl3_calc_volume(&vol_op[3], vel, chan);
445 snd_opl3_calc_volume(&vol_op[2], vel, chan);
448 snd_opl3_calc_volume(&vol_op[0], vel, chan);
451 snd_opl3_calc_volume(&vol_op[1], vel, chan);
454 snd_opl3_calc_volume(&vol_op[1], vel, chan);
456 snd_opl3_calc_volume(&vol_op[0], vel, chan);
654 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
671 snd_opl3_drum_switch(opl3, note, vel, 0, chan);
691 void snd_opl3_note_off(void *p, int note, int vel,
698 snd_opl3_note_off_unsafe(p, note, vel, chan);
705 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan)