Searched refs:vel (Results 1 - 15 of 15) sorted by relevance

/linux-master/sound/drivers/opl3/
H A Dopl3_voice.h18 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan);
19 void snd_opl3_note_off(void *p, int note, int vel, struct snd_midi_channel *chan);
20 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan);
26 void snd_opl3_calc_volume(unsigned char *reg, int vel, struct snd_midi_channel *chan);
31 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_channel *chan);
H A Dopl3_midi.c14 static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
46 void snd_opl3_calc_volume(unsigned char *volbyte, int vel, argument
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) argument
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, cha
653 snd_opl3_note_off_unsafe(void *p, int note, int vel, struct snd_midi_channel *chan) argument
690 snd_opl3_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) argument
704 snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) argument
[all...]
H A Dopl3_drums.c122 int vel, struct snd_midi_channel *chan)
131 snd_opl3_calc_volume(&reg_val, vel, chan);
169 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, argument
203 snd_opl3_drum_vol_set(opl3, drum_voice, vel, chan);
120 snd_opl3_drum_vol_set(struct snd_opl3 *opl3, const struct snd_opl3_drum_voice *data, int vel, struct snd_midi_channel *chan) argument
/linux-master/sound/core/seq/oss/
H A Dseq_oss_event.c28 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev);
29 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev);
30 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd_seq_event *ev);
99 return note_off_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev);
102 return note_on_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev);
274 note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev) argument
286 return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev);
293 //if (! vel)
297 if (info->ch[ch].vel)
303 info->ch[ch].vel
335 note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev) argument
372 set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd_seq_event *ev) argument
[all...]
H A Dseq_oss_event.h31 unsigned char vel; member in struct:evrec_note
H A Dseq_oss_device.h49 int note, vel; member in struct:seq_oss_chinfo
H A Dseq_oss_synth.c379 info->ch[i].vel = 0;
/linux-master/sound/synth/emux/
H A Demux_voice.h34 void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan);
35 void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan);
36 void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan);
H A Demux_synth.c27 int *notep, int vel, struct snd_midi_channel *chan,
46 snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) argument
64 nvoices = get_zone(emu, port, &note, vel, chan, table);
100 vp->velocity = vel;
145 snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) argument
222 snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) argument
243 vp->velocity = vel;
891 int *notep, int vel, struct snd_midi_channel *chan,
907 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank,
890 get_zone(struct snd_emux *emu, struct snd_emux_port *port, int *notep, int vel, struct snd_midi_channel *chan, struct snd_sf_zone **table) argument
H A Dsoundfont.c55 static int search_zones(struct snd_sf_list *sflist, int *notep, int vel,
1231 snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, argument
1248 nvoices = search_zones(sflist, notep, vel, preset, bank,
1252 nvoices = search_zones(sflist, notep, vel,
1285 search_zones(struct snd_sf_list *sflist, int *notep, int vel, argument
1296 vel >= zp->v.vellow && vel <= zp->v.velhigh) {
1307 nvoices = search_zones(sflist, &key, vel,
/linux-master/include/sound/
H A Dseq_midi_emul.h69 void (*note_on)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
70 void (*note_off)(void *private_data,int note, int vel, struct snd_midi_channel *chan); /* release note */
71 void (*key_press)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
H A Dsoundfont.h102 int snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel,
/linux-master/sound/drivers/opl4/
H A Dopl4_local.h225 void snd_opl4_note_on(void *p, int note, int vel, struct snd_midi_channel *chan);
226 void snd_opl4_note_off(void *p, int note, int vel, struct snd_midi_channel *chan);
H A Dopl4_synth.c482 void snd_opl4_note_on(void *private_data, int note, int vel, struct snd_midi_channel *chan) argument
510 voice[i]->velocity = vel & 0x7f;
563 void snd_opl4_note_off(void *private_data, int note, int vel, struct snd_midi_channel *chan) argument
/linux-master/sound/core/seq/
H A Dseq_midi_emul.c35 int note, int vel);
237 int note, int vel)
249 ops->note_off(drv, note, vel, chan);
235 note_off(const struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, int note, int vel) argument

Completed in 237 milliseconds