summaryrefslogtreecommitdiff
path: root/muse2/muse/functions.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-05-11 12:38:56 +0000
committerFlorian Jung <flo@windfisch.org>2011-05-11 12:38:56 +0000
commite9c43888de8601c940b428c3bc6012f2ffe9f68c (patch)
tree20f4bd2fb4475acdb18cb2d522d8971bca6cef6d /muse2/muse/functions.h
parent8f13533997cb21f6cd1c523f888fd6f3e03cc22d (diff)
implemented erasing notes with [delete]
functions only indicate undo when something has really changed
Diffstat (limited to 'muse2/muse/functions.h')
-rw-r--r--muse2/muse/functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/muse2/muse/functions.h b/muse2/muse/functions.h
index a71230a4..03d0ba88 100644
--- a/muse2/muse/functions.h
+++ b/muse2/muse/functions.h
@@ -29,6 +29,7 @@ std::set<Part*> partlist_to_set(PartList* pl);
void modify_velocity(const std::set<Part*>& parts, int range, int rate, int offset=0);
void modify_notelen(const std::set<Part*>& parts, int range, int rate, int offset=0);
void quantize_notes(const std::set<Part*>& parts, int range, int raster, int strength=100, int swing=0, int threshold=0);
+void erase_notes(const std::set<Part*>& parts, int range);
//the below functions automatically open the dialog
//they return true if you click "ok" and false if "abort"