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,
52 volume = (vel * chan->gm_volume * chan->gm_expression) / (127*127);
275 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan)
306 snd_printk(KERN_DEBUG "Note on, ch %i, inst %i, note %i, vel %i\n",
307 chan->number, chan->midi_program, note, vel);
334 snd_opl3_drum_switch(opl3, note, vel, 1, chan);
441 snd_opl3_calc_volume(&vol_op[3], vel, chan);
444 snd_opl3_calc_volume(&vol_op[2], vel, chan);
447 snd_opl3_calc_volume(&vol_op[0], vel, chan);
450 snd_opl3_calc_volume(&vol_op[1], vel, chan);
453 snd_opl3_calc_volume(&vol_op[1], vel, chan);
455 snd_opl3_calc_volume(&vol_op[0], vel, chan);
653 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
670 snd_opl3_drum_switch(opl3, note, vel, 0, chan);
690 void snd_opl3_note_off(void *p, int note, int vel,
697 snd_opl3_note_off_unsafe(p, note, vel, chan);
704 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan)