| 162 | } |
| 163 | |
| 164 | void NoteStepSequencer::SetMidiController(std::string name) |
| 165 | { |
| 166 | if (mController) |
| 167 | mController->RemoveListener(this); |
| 168 | |
| 169 | mController = TheSynth->FindMidiController(name); |
| 170 | if (mController) |
| 171 | mController->AddListener(this, 0); |
| 172 | |
| 173 | UpdateLights(); |
| 174 | } |
| 175 | |
| 176 | void NoteStepSequencer::Init() |
| 177 | { |
nothing calls this directly
no test coverage detected