Home
last modified time | relevance | path

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

/sound/core/seq/
A Dseq_ump_convert.c87 ev->data.note.velocity = val->note.velocity; in ump_midi1_to_note_ev()
208 ev->data.note.velocity = downscale_16_to_7bit(val->note.velocity); in ump_midi2_to_note_ev()
213 !ev->data.note.velocity) in ump_midi2_to_note_ev()
214 ev->data.note.velocity = 1; in ump_midi2_to_note_ev()
384 midi2->note.velocity = upscale_7_to_16bit(midi1->note.velocity); in cvt_ump_midi1_to_midi2()
455 midi1->note.velocity = downscale_16_to_7bit(midi2->note.velocity); in cvt_ump_midi2_to_midi1()
633 if (!event->data.note.velocity) in note_ev_to_ump_midi1()
637 data->note.velocity = event->data.note.velocity & 0x7f; in note_ev_to_ump_midi1()
771 if (!event->data.note.velocity) in note_ev_to_ump_midi2()
776 data->note.velocity = upscale_7_to_16bit(event->data.note.velocity & 0x7f); in note_ev_to_ump_midi2()
[all …]
A Dseq_midi_emul.c105 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event()
124 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
130 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); in snd_midi_process_event()
134 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
A Dseq_midi_event.c241 ev->data.note.velocity = dev->buf[2]; in note_event()
343 buf[1] = ev->data.note.velocity & 0x7f; in note_decode()
A Dseq_clientmgr.c914 ev->data.note.velocity = ev->data.note.off_velocity; in snd_seq_dispatch_event()
/sound/synth/emux/
A Demux_synth.c100 vp->velocity = vel; in snd_emux_note_on()
243 vp->velocity = vel; in snd_emux_key_press()
748 LIMITMAX(vp->velocity, 127); in calc_volume()
753 vol = (vp->velocity * main_vol * expression_vol) / (127*127); in calc_volume()
765 vol = voltab1[main_vol] + voltab2[vp->velocity]; in calc_volume()
791 if (vp->velocity < 70) in calc_volume()
794 atten = vp->velocity; in calc_volume()
/sound/drivers/opl4/
A Dopl4_local.h164 int velocity; member
A Dopl4_synth.c377 att += snd_opl4_volume_table[voice->velocity]; in snd_opl4_update_volume()
510 voice[i]->velocity = vel & 0x7f; in snd_opl4_note_on()
/sound/core/
A Dump_convert.c114 buf[2] = downscale_16_to_7bit(midi2->note.velocity); in cvt_ump_midi2_to_legacy()
370 midi2->note.velocity = upscale_7_to_16bit(buf[2]); in cvt_legacy_cmd_to_ump()
/sound/core/seq/oss/
A Dseq_oss_event.c379 ev->data.note.velocity = vel; in set_note_event()
A Dseq_oss_midi.c582 ossev.v.parm = ev->data.note.velocity; in send_synth_event()
/sound/pci/asihpi/
A Dhpi.h1234 u16 hpi_outstream_set_velocity(u32 h_outstream, short velocity);
A Dhpifunc.c621 u16 hpi_outstream_set_velocity(u32 h_outstream, short velocity) in hpi_outstream_set_velocity() argument
630 hm.u.d.u.velocity = velocity; in hpi_outstream_set_velocity()
A Dhpi_internal.h720 u16 velocity; member

Completed in 69 milliseconds