Lines Matching full:velocity
87 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()
209 /* correct note-on velocity 0 to 1; 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()
789 data->paf.data = upscale_7_to_32bit(event->data.note.velocity & 0x7f); in paf_ev_to_ump_midi2()