| 524 | } |
| 525 | |
| 526 | void NoteStepSequencer::GetPush2Layout(int& sequenceRows, int& pitchCols, int& pitchRows) |
| 527 | { |
| 528 | sequenceRows = (mLength - 1) / 8 + 1; |
| 529 | if (mNoteMode == kNoteMode_Scale && TheScale->NumTonesInScale() == 7) |
| 530 | pitchCols = 7; |
| 531 | else |
| 532 | pitchCols = 8; |
| 533 | pitchRows = (mNoteRange - 1) / pitchCols + 1; |
| 534 | } |
| 535 | |
| 536 | bool NoteStepSequencer::OnPush2Control(Push2Control* push2, MidiMessageType type, int controlIndex, float midiValue) |
| 537 | { |
nothing calls this directly
no test coverage detected