MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / SetMidiController

Method SetMidiController

Source/VelocityStepSequencer.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void VelocityStepSequencer::SetMidiController(std::string name)
79{
80 if (mController)
81 mController->RemoveListener(this);
82 mController = TheSynth->FindMidiController(name);
83 if (mController)
84 mController->AddListener(this, 0);
85}
86
87void VelocityStepSequencer::DrawModule()
88{

Callers

nothing calls this directly

Calls 3

FindMidiControllerMethod · 0.80
RemoveListenerMethod · 0.45
AddListenerMethod · 0.45

Tested by

no test coverage detected