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

Method SetUpFromSaveData

Source/NoteStepSequencer.cpp:1508–1519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1506}
1507
1508void NoteStepSequencer::SetUpFromSaveData()
1509{
1510 SetUpPatchCables(mModuleSaveData.GetString("target"));
1511 SetMidiController(mModuleSaveData.GetString("controller"));
1512 mNoteRange = mModuleSaveData.GetInt("gridrows");
1513 mShowStepControls = mModuleSaveData.GetBool("stepcontrols");
1514 mStepLengthSubdivisions = mModuleSaveData.GetInt("steplengthsubdivisions");
1515 UpdateVelocityGridPos();
1516 SyncGridToSeq();
1517 SetUpStepControls();
1518 mGrid->SetClickValueSubdivisions(mStepLengthSubdivisions);
1519}
1520
1521void NoteStepSequencer::SaveState(FileStreamOut& out)
1522{

Callers

nothing calls this directly

Calls 4

GetStringMethod · 0.80
GetIntMethod · 0.80
GetBoolMethod · 0.80

Tested by

no test coverage detected