Home
last modified time | relevance | path

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

/sound/core/seq/oss/
Dseq_oss_event.c40 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd…
41 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct sn…
42 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel,…
111 return note_off_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event()
114 return note_on_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event()
286 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
298 return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev); in note_on_event()
308 if (info->ch[ch].vel) in note_on_event()
314 info->ch[ch].vel = vel; in note_on_event()
315 return set_note_event(dp, dev, type, ch, info->ch[ch].note, vel, ev); in note_on_event()
[all …]
Dseq_oss_event.h44 unsigned char vel; member
Dseq_oss_device.h61 int note, vel; member
Dseq_oss_synth.c389 info->ch[i].vel = 0; in reset_channels()
/sound/drivers/opl3/
Dopl3_voice.h31 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan);
32 void snd_opl3_note_off(void *p, int note, int vel, struct snd_midi_channel *chan);
33 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan);
39 void snd_opl3_calc_volume(unsigned char *reg, int vel, struct snd_midi_channel *chan);
44 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int on_off, int vel, struct snd_midi_cha…
Dopl3_midi.c32 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()
460 snd_opl3_calc_volume(&vol_op[3], vel, chan); in snd_opl3_note_on()
463 snd_opl3_calc_volume(&vol_op[2], vel, chan); in snd_opl3_note_on()
466 snd_opl3_calc_volume(&vol_op[0], vel, chan); in snd_opl3_note_on()
469 snd_opl3_calc_volume(&vol_op[1], vel, chan); in snd_opl3_note_on()
[all …]
Dopl3_drums.c138 int vel, struct snd_midi_channel *chan) in snd_opl3_drum_vol_set() argument
147 snd_opl3_calc_volume(&reg_val, vel, chan); in snd_opl3_drum_vol_set()
185 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, in snd_opl3_drum_switch() argument
219 snd_opl3_drum_vol_set(opl3, drum_voice, vel, chan); in snd_opl3_drum_switch()
/sound/synth/emux/
Demux_voice.h47 void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan);
48 void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan);
49 void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan);
Demux_synth.c41 int *notep, int vel, struct snd_midi_channel *chan,
60 snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_on() argument
78 nvoices = get_zone(emu, port, &note, vel, chan, table); in snd_emux_note_on()
114 vp->velocity = vel; in snd_emux_note_on()
159 snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_off() argument
238 snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_key_press() argument
259 vp->velocity = vel; in snd_emux_key_press()
906 int *notep, int vel, struct snd_midi_channel *chan, in get_zone() argument
922 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
Dsoundfont.c68 static int search_zones(struct snd_sf_list *sflist, int *notep, int vel,
1232 snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, in snd_soundfont_search_zone() argument
1249 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1253 nvoices = search_zones(sflist, notep, vel, in snd_soundfont_search_zone()
1285 search_zones(struct snd_sf_list *sflist, int *notep, int vel, in search_zones() argument
1296 vel >= zp->v.vellow && vel <= zp->v.velhigh) { in search_zones()
1307 nvoices = search_zones(sflist, &key, vel, in search_zones()
/sound/drivers/opl4/
Dopl4_local.h222 void snd_opl4_note_on(void *p, int note, int vel, struct snd_midi_channel *chan);
223 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.c49 int note, int vel);
246 int note, int vel) in note_off() argument
258 ops->note_off(drv, note, vel, chan); in note_off()