Lines Matching refs:note
35 /* from 0 to 6 are normal commands (note off, on, etc.) for 0x9?-0xe? */
282 /* encode note event */
285 ev->data.note.channel = dev->buf[0] & 0x0f;
286 ev->data.note.note = dev->buf[1];
287 ev->data.note.velocity = dev->buf[2];
350 /* data.note.channel and data.control.channel is identical */
351 cmd = 0x80 | (type << 4) | (ev->data.note.channel & 0x0f);
384 /* decode note event */
387 buf[0] = ev->data.note.note & 0x7f;
388 buf[1] = ev->data.note.velocity & 0x7f;