Home
last modified time | relevance | path

Searched refs:velocity (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-prodikeys.c48 unsigned char velocity; member
214 unsigned char status, unsigned char note, unsigned char velocity) in pcmidi_send_note()
221 buffer[2] = velocity; in pcmidi_send_note()
242 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); in pcmidi_sustained_note_release()
340 unsigned char status, note, velocity; in pcmidi_handle_report3() local
345 velocity = data[j*2+2]; in pcmidi_handle_report3()
351 if (0 == velocity) in pcmidi_handle_report3()
352 velocity = 1; /* force note on */ in pcmidi_handle_report3()
364 pms->velocity = velocity; in pcmidi_handle_report3()
213 pcmidi_send_note(struct pcmidi_snd *pm, unsigned char status, unsigned char note, unsigned char velocity) pcmidi_send_note() argument
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-prodikeys.c48 unsigned char velocity; member
214 unsigned char status, unsigned char note, unsigned char velocity) in pcmidi_send_note()
221 buffer[2] = velocity; in pcmidi_send_note()
242 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); in pcmidi_sustained_note_release()
340 unsigned char status, note, velocity; in pcmidi_handle_report3() local
345 velocity = data[j*2+2]; in pcmidi_handle_report3()
351 if (0 == velocity) in pcmidi_handle_report3()
352 velocity = 1; /* force note on */ in pcmidi_handle_report3()
364 pms->velocity = velocity; in pcmidi_handle_report3()
213 pcmidi_send_note(struct pcmidi_snd *pm, unsigned char status, unsigned char note, unsigned char velocity) pcmidi_send_note() argument
[all...]
/kernel/linux/linux-6.6/sound/core/seq/
H 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()
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()
383 midi2->note.velocity = upscale_7_to_16bit(midi1->note.velocity); in cvt_ump_midi1_to_midi2()
435 midi1->note.velocity in cvt_ump_midi2_to_midi1()
[all...]
H 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()
H A Dseq_midi_event.c249 ev->data.note.velocity = dev->buf[2]; in note_event()
351 buf[1] = ev->data.note.velocity & 0x7f; in note_decode()
/kernel/linux/linux-6.6/include/sound/
H A Dump_msg.h136 u32 velocity:8; member
138 u32 velocity:8;
282 u32 velocity:16; member
294 u32 velocity:16;
H A Demux_synth.h166 unsigned char velocity; /* Velocity of current note */ member
/kernel/linux/linux-5.10/sound/core/seq/
H 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()
H A Dseq_midi_event.c249 ev->data.note.velocity = dev->buf[2]; in note_event()
351 buf[1] = ev->data.note.velocity & 0x7f; in note_decode()
/kernel/linux/linux-5.10/sound/synth/emux/
H 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()
885 /* Look for the zones matching with the given note and velocity.
/kernel/linux/linux-6.6/sound/synth/emux/
H 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()
886 /* Look for the zones matching with the given note and velocity.
/kernel/linux/linux-5.10/sound/drivers/opl4/
H A Dopl4_local.h164 int velocity; member
H 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()
/kernel/linux/linux-5.10/include/sound/
H A Demux_synth.h166 unsigned char velocity; /* Velocity of current note */ member
/kernel/linux/linux-6.6/sound/drivers/opl4/
H A Dopl4_local.h164 int velocity; member
H 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()
/kernel/linux/linux-6.6/sound/core/
H A Dump_convert.c114 buf[2] = downscale_16_to_7bit(midi2->note.velocity); in cvt_ump_midi2_to_legacy()
339 /* special handling: treat note-on with 0 velocity as note-off */ in cvt_legacy_cmd_to_ump()
352 midi2->note.velocity = upscale_7_to_16bit(buf[2]); in cvt_legacy_cmd_to_ump()
/kernel/linux/linux-5.10/include/uapi/sound/
H A Dasequencer.h198 unsigned char velocity; member
/kernel/linux/linux-6.6/include/uapi/sound/
H A Dasequencer.h183 unsigned char velocity; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
H A Dasequencer.h103 unsigned char velocity; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/sound/
H A Dasequencer.h112 unsigned char velocity; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
H A Dasequencer.h112 unsigned char velocity; member
/kernel/linux/linux-5.10/sound/core/seq/oss/
H A Dseq_oss_event.c314 if (vel) /* non-zero velocity - start the note now */ in note_on_event()
381 ev->data.note.velocity = vel; in set_note_event()
H A Dseq_oss_midi.c578 ossev.v.parm = ev->data.note.velocity; in send_synth_event()
/kernel/linux/linux-6.6/sound/core/seq/oss/
H A Dseq_oss_event.c314 if (vel) /* non-zero velocity - start the note now */ in note_on_event()
381 ev->data.note.velocity = vel; in set_note_event()

Completed in 25 milliseconds

12