Lines Matching refs:note
23 /* from 0 to 6 are normal commands (note off, on, etc.) for 0x9?-0xe? */
236 /* encode note event */
239 ev->data.note.channel = dev->buf[0] & 0x0f;
240 ev->data.note.note = dev->buf[1];
241 ev->data.note.velocity = dev->buf[2];
304 /* data.note.channel and data.control.channel is identical */
305 cmd = 0x80 | (type << 4) | (ev->data.note.channel & 0x0f);
339 /* decode note event */
342 buf[0] = ev->data.note.note & 0x7f;
343 buf[1] = ev->data.note.velocity & 0x7f;