summaryrefslogtreecommitdiff
path: root/muse2/muse/functions.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-05-23 12:27:43 +0000
committerFlorian Jung <flo@windfisch.org>2011-05-23 12:27:43 +0000
commitcebe18a6c4211f23bc7cad82b4d9a9611a46234f (patch)
treece63faea8d1f544a013220b016f5b7f2b30c4a34 /muse2/muse/functions.h
parent53a36a7047584ce0e66e00815c501f59cac2fa14 (diff)
the "remove" function now supports velo- and length-thresholds
Diffstat (limited to 'muse2/muse/functions.h')
-rw-r--r--muse2/muse/functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/functions.h b/muse2/muse/functions.h
index 4d7be6e2..18f6e3ec 100644
--- a/muse2/muse/functions.h
+++ b/muse2/muse/functions.h
@@ -43,7 +43,7 @@ void modify_velocity(const std::set<Part*>& parts, int range, int rate, int offs
void modify_off_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, bool len=false, int strength=100, int swing=0, int threshold=0);
-void erase_notes(const std::set<Part*>& parts, int range);
+void erase_notes(const std::set<Part*>& parts, int range, int velo_threshold=0, bool velo_thres_used=false, int len_threshold=0, bool len_thres_used=false);
void delete_overlaps(const std::set<Part*>& parts, int range);
void set_notelen(const std::set<Part*>& parts, int range, int len);
void move_notes(const std::set<Part*>& parts, int range, signed int ticks);