| 394 | } |
| 395 | |
| 396 | void processSystem(const midi::Message& msg) |
| 397 | { |
| 398 | switch (msg.getChannel()) |
| 399 | { |
| 400 | // Start |
| 401 | case 0xa: |
| 402 | startPulse.trigger(1e-3); |
| 403 | break; |
| 404 | // Continue |
| 405 | case 0xb: |
| 406 | continuePulse.trigger(1e-3); |
| 407 | break; |
| 408 | // Stop |
| 409 | case 0xc: |
| 410 | stopPulse.trigger(1e-3); |
| 411 | break; |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | int assignChannel(uint8_t note) { |
| 416 | if (channels == 1) |
nothing calls this directly
no test coverage detected