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

Method SetUpStepControls

Source/NoteStepSequencer.cpp:1478–1489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1476}
1477
1478void NoteStepSequencer::SetUpStepControls()
1479{
1480 if (TheSynth->IsLoadingModule())
1481 return;
1482
1483 for (int i = 0; i < NSS_MAX_STEPS; ++i)
1484 {
1485 mToneDropdowns[i]->Clear();
1486 for (int j = mNoteRange - 1; j >= 0; --j)
1487 mToneDropdowns[i]->AddLabel(NoteName(RowToPitch(j), false, true), j);
1488 }
1489}
1490
1491void NoteStepSequencer::SaveLayout(ofxJSONElement& moduleInfo)
1492{

Callers

nothing calls this directly

Calls 4

NoteNameFunction · 0.85
IsLoadingModuleMethod · 0.80
ClearMethod · 0.45
AddLabelMethod · 0.45

Tested by

no test coverage detected