Lines Matching refs:velocity
283 midi_synth_kill_note(int dev, int channel, int note, int velocity)
292 if (velocity < 0)
293 velocity = 0;
294 if (velocity > 127)
295 velocity = 127;
302 if (chn == channel && ((msg == 0x90 && velocity == 64) || msg == 0x80))
315 * Note on with velocity 0 == note
319 midi_outc(orig_dev, velocity);
322 if (velocity == 64)
341 midi_outc(orig_dev, velocity);
373 midi_synth_start_note(int dev, int channel, int note, int velocity)
382 if (velocity < 0)
383 velocity = 0;
384 if (velocity > 127)
385 velocity = 127;
399 midi_outc(orig_dev, velocity);
408 midi_outc(orig_dev, velocity);