| 1506 | } |
| 1507 | |
| 1508 | void 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 | |
| 1521 | void NoteStepSequencer::SaveState(FileStreamOut& out) |
| 1522 | { |
nothing calls this directly
no test coverage detected