Lines Matching refs:vel
32 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
64 void snd_opl3_calc_volume(unsigned char *volbyte, int vel, in snd_opl3_calc_volume() argument
70 volume = (vel * chan->gm_volume * chan->gm_expression) / (127*127); in snd_opl3_calc_volume()
295 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() argument
327 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on()
354 snd_opl3_drum_switch(opl3, note, vel, 1, chan); in snd_opl3_note_on()
455 snd_opl3_calc_volume(&vol_op[3], vel, chan); in snd_opl3_note_on()
458 snd_opl3_calc_volume(&vol_op[2], vel, chan); in snd_opl3_note_on()
461 snd_opl3_calc_volume(&vol_op[0], vel, chan); in snd_opl3_note_on()
464 snd_opl3_calc_volume(&vol_op[1], vel, chan); in snd_opl3_note_on()
467 snd_opl3_calc_volume(&vol_op[1], vel, chan); in snd_opl3_note_on()
469 snd_opl3_calc_volume(&vol_op[0], vel, chan); in snd_opl3_note_on()
667 static void snd_opl3_note_off_unsafe(void *p, int note, int vel, in snd_opl3_note_off_unsafe() argument
684 snd_opl3_drum_switch(opl3, note, vel, 0, chan); in snd_opl3_note_off_unsafe()
704 void snd_opl3_note_off(void *p, int note, int vel, in snd_opl3_note_off() argument
711 snd_opl3_note_off_unsafe(p, note, vel, chan); in snd_opl3_note_off()
718 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_key_press() argument