Home
last modified time | relevance | path

Searched refs:vel (Results 1 – 13 of 13) sorted by relevance

/sound/core/seq/oss/
Dseq_oss_event.c28 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd…
29 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct sn…
30 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel,…
99 return note_off_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event()
102 return note_on_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event()
274 note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event … in note_on_event() argument
286 return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev); in note_on_event()
297 if (info->ch[ch].vel) in note_on_event()
303 info->ch[ch].vel = vel; in note_on_event()
304 return set_note_event(dp, dev, type, ch, info->ch[ch].note, vel, ev); in note_on_event()
[all …]
Dseq_oss_event.h31 unsigned char vel; member
Dseq_oss_device.h49 int note, vel; member
Dseq_oss_synth.c379 info->ch[i].vel = 0; in reset_channels()
/sound/drivers/opl3/
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_cha…
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, in snd_opl3_calc_volume() argument
52 volume = (vel * chan->gm_volume * chan->gm_expression) / (127*127); in snd_opl3_calc_volume()
276 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() argument
308 chan->number, chan->midi_program, note, vel); in snd_opl3_note_on()
335 snd_opl3_drum_switch(opl3, note, vel, 1, chan); in snd_opl3_note_on()
442 snd_opl3_calc_volume(&vol_op[3], vel, chan); in snd_opl3_note_on()
445 snd_opl3_calc_volume(&vol_op[2], vel, chan); in snd_opl3_note_on()
448 snd_opl3_calc_volume(&vol_op[0], vel, chan); in snd_opl3_note_on()
451 snd_opl3_calc_volume(&vol_op[1], vel, chan); in snd_opl3_note_on()
[all …]
Dopl3_drums.c122 int vel, struct snd_midi_channel *chan) in snd_opl3_drum_vol_set() argument
131 snd_opl3_calc_volume(&reg_val, vel, chan); in snd_opl3_drum_vol_set()
169 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, in snd_opl3_drum_switch() argument
203 snd_opl3_drum_vol_set(opl3, drum_voice, vel, chan); in snd_opl3_drum_switch()
/sound/synth/emux/
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);
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) in snd_emux_note_on() argument
64 nvoices = get_zone(emu, port, &note, vel, chan, table); in snd_emux_note_on()
100 vp->velocity = vel; in snd_emux_note_on()
145 snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_off() argument
222 snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_key_press() argument
243 vp->velocity = vel; in snd_emux_key_press()
890 int *notep, int vel, struct snd_midi_channel *chan, in get_zone() argument
906 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
Dsoundfont.c55 static int search_zones(struct snd_sf_list *sflist, int *notep, int vel,
1221 snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, in snd_soundfont_search_zone() argument
1238 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1242 nvoices = search_zones(sflist, notep, vel, in snd_soundfont_search_zone()
1274 search_zones(struct snd_sf_list *sflist, int *notep, int vel, in search_zones() argument
1285 vel >= zp->v.vellow && vel <= zp->v.velhigh) { in search_zones()
1296 nvoices = search_zones(sflist, &key, vel, in search_zones()
/sound/drivers/opl4/
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);
Dopl4_synth.c482 void snd_opl4_note_on(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_on() argument
510 voice[i]->velocity = vel & 0x7f; in snd_opl4_note_on()
563 void snd_opl4_note_off(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_off() argument
/sound/core/seq/
Dseq_midi_emul.c35 int note, int vel);
237 int note, int vel) in note_off() argument
249 ops->note_off(drv, note, vel, chan); in note_off()