Menu

#31 Selection for copying and editing multiple notes

Unstable (example)
open
nobody
None
5
2020-02-19
2017-01-26
No

Hi

I'd like to show you a proof-of-concept of a feature I'm working on as an assignement for a university course.

With my patch it is possible to select range of beats and apply an action to all notes in this range. Selection has also an effect on the MeasureCopyDialog - initial values of from/to fields are filled according to a beginning and an end of a selection.

To achieve the result I've introduced a new action attribute: ATTRIBUTE_NOTE_RANGE. I've also implemented update and undoable controllers which work with a note range's value.

Currently three actions are modified to work with selected notes:
Semitone up
Semitone down
* Tapping

There's also known issue with current implementation: when a range is selected and an action is applied on it, then if ctrl+z is pressed without changing selection, the application hangs.

I'd be happy to receive some feedback regarding this feature as I plan to continue working on it. One of the things I'd like to discuss is naming. I see that term "selection" is already taken by another feature, and it's hard to come up with an another reasonable name.

1 Attachments

Discussion

  • Bartek Poleszak

    Bartek Poleszak - 2017-01-26

    Patch is based on current (r1599) revision.
    Also, I'm attaching a screenshot.

     

    Last edit: Bartek Poleszak 2017-01-26
  • Ilia Sivkov

    Ilia Sivkov - 2020-01-20

    I have it installed on Mac using brew. How can I apply this patch?

     
  • Kenneth

    Kenneth - 2020-02-19

    Hey, can someone explain how to implement or install this .diff file?

     

Log in to post a comment.