Guest User

Untitled

a guest
Jun 25th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. for (uint8_t i = 0; i < 16; i++)
  2. {
  3. for (uint8_t j = 0; j < 128; j++)
  4. {
  5. msg.deltaTime = 0;
  6. msg.statusByte = 0x80 | i;
  7. msg.data1 = j;
  8. msg.data2 = 0;
  9. [self sendMidiMsgWithEndpoint:msg output:output]; //this is my function that uses the core midi api.
  10. }
  11. }
Add Comment
Please, Sign In to add comment