Lines Matching refs: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, in snd_opl3_calc_volume() argument
52 volume = (vel * chan->gm_volume * chan->gm_expression) / (127*127); in snd_opl3_calc_volume()
275 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() argument
307 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on()
334 snd_opl3_drum_switch(opl3, note, vel, 1, chan); in snd_opl3_note_on()
441 snd_opl3_calc_volume(&vol_op[3], vel, chan); in snd_opl3_note_on()
444 snd_opl3_calc_volume(&vol_op[2], vel, chan); in snd_opl3_note_on()
447 snd_opl3_calc_volume(&vol_op[0], vel, chan); in snd_opl3_note_on()
450 snd_opl3_calc_volume(&vol_op[1], vel, chan); in snd_opl3_note_on()
453 snd_opl3_calc_volume(&vol_op[1], vel, chan); in snd_opl3_note_on()
455 snd_opl3_calc_volume(&vol_op[0], vel, chan); in snd_opl3_note_on()
653 static void snd_opl3_note_off_unsafe(void *p, int note, int vel, in snd_opl3_note_off_unsafe() argument
670 snd_opl3_drum_switch(opl3, note, vel, 0, chan); in snd_opl3_note_off_unsafe()
690 void snd_opl3_note_off(void *p, int note, int vel, in snd_opl3_note_off() argument
697 snd_opl3_note_off_unsafe(p, note, vel, chan); in snd_opl3_note_off()
704 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_key_press() argument