24class AutomationEditorLayoutNoteVelocity :
public AutomationEditorLayoutNote {
26 AutomationEditorLayoutNoteVelocity() =
default;
30 int32_t x, int32_t y, int32_t velocity, int32_t effectiveLength,
SquareInfo& squareInfo);
33 int32_t getVelocityFromY(int32_t y);
34 int32_t getYFromVelocity(int32_t velocity);
35 void addNoteWithNewVelocity(int32_t x, int32_t velocity, int32_t newVelocity);
37 int32_t newVelocity, uint8_t squareType);
40 SquareInfo rowSquareInfo[kDisplayWidth], int32_t velocityIncrement);
45 RGB image[][kDisplayWidth + kSideBarWidth],
46 uint8_t occupancyMask[][kDisplayWidth + kSideBarWidth], int32_t xDisplay, int32_t xScroll,
51 uint8_t occupancyMask[][kDisplayWidth + kSideBarWidth], int32_t xDisplay, int32_t yDisplay,
52 uint8_t squareType, int32_t value);
56 int32_t knobPosRight);
void renderNoteColumn(ModelStackWithNoteRow *modelStackWithNoteRow, InstrumentClip *clip, RGB image[][kDisplayWidth+kSideBarWidth], uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth], int32_t xDisplay, int32_t xScroll, int32_t xZoom, SquareInfo &squareInfo)
render each square in each column of the note editor grid
Definition velocity.cpp:61
void renderNoteSquare(RGB image[][kDisplayWidth+kSideBarWidth], uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth], int32_t xDisplay, int32_t yDisplay, uint8_t squareType, int32_t value)
render column for note parameter
Definition velocity.cpp:74
void displayParameterValueOLED(deluge::hid::display::oled_canvas::Canvas &canvas, int32_t yPos, int32_t knobPosLeft, int32_t knobPosRight)
updates OLED display to display the current velocity
Definition velocity.cpp:106