Add Midi Reversing (#7606)

Adds the ability to reverse the selected midi notes in the PianoRoll.

The tool is located under the wrench icon in the PianoRoll and can also be triggered with Shift-R.

---------

Co-authored-by: szeli1 <143485814+szeli1@users.noreply.github.com>
This commit is contained in:
regulus79
2025-04-19 15:40:21 -04:00
committed by GitHub
parent cb8badc0bb
commit 32c427eab4
4 changed files with 42 additions and 0 deletions

View File

@@ -79,6 +79,9 @@ public:
Note * addStepNote( int step );
void setStep( int step, bool enabled );
//! Horizontally flip the positions of the given notes.
void reverseNotes(const NoteVector& notes);
// Split the list of notes on the given position
void splitNotes(const NoteVector& notes, TimePos pos);

View File

@@ -248,6 +248,7 @@ protected slots:
void clearGhostClip();
void glueNotes();
void fitNoteLengths(bool fill);
void reverseNotes();
void constrainNoteLengths(bool constrainMax);
void changeSnapMode();