MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / processSystem

Method processSystem

plugins/Cardinal/src/HostMIDI.cpp:396–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 2

getChannelMethod · 0.80
triggerMethod · 0.80

Tested by

no test coverage detected