diff options
author | Florian Jung <flo@windfisch.org> | 2011-08-29 17:31:55 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-08-29 17:31:55 +0000 |
commit | 9cfbb1578284150b7251e6f58a77c4dc07667deb (patch) | |
tree | deb329199a294436b4b17eb063b67c10959f3a30 /muse2/muse/functions.h | |
parent | 6ea4a4959526136957b7e0d8ae1ebb29e48993ce (diff) |
added functions to the arranger
Diffstat (limited to 'muse2/muse/functions.h')
-rw-r--r-- | muse2/muse/functions.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/muse2/muse/functions.h b/muse2/muse/functions.h index 3b8a23f3..4e2e7151 100644 --- a/muse2/muse/functions.h +++ b/muse2/muse/functions.h @@ -41,6 +41,11 @@ extern Legato* legato_dialog; void init_function_dialogs(QWidget* parent); +#define FUNCTION_RANGE_ONLY_SELECTED 1 +#define FUNCTION_RANGE_ONLY_BETWEEN_MARKERS 2 + + + std::set<Part*> partlist_to_set(PartList* pl); std::set<Part*> part_to_set(Part* p); std::map<Event*, Part*> get_events(const std::set<Part*>& parts, int range); @@ -72,6 +77,18 @@ bool erase_notes(const std::set<Part*>& parts); bool delete_overlaps(const std::set<Part*>& parts); bool legato(const std::set<Part*>& parts); +//the below functions operate on selected parts +bool modify_velocity(); +bool modify_notelen(); +bool quantize_notes(); +bool set_notelen(); +bool move_notes(); +bool transpose_notes(); +bool crescendo(); +bool erase_notes(); +bool delete_overlaps(); +bool legato(); + //functions for copy'n'paste void copy_notes(const std::set<Part*>& parts, int range); |