From 0e3ed82bedabcfcd78dd8c16bbd59ada66bd2e56 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 2 Oct 2011 16:24:57 +0200 Subject: Convert velocity levels from 0-127 (midi) to 0.0-1.0 (more generic). --- dgedit/samplesorter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dgedit/samplesorter.h') diff --git a/dgedit/samplesorter.h b/dgedit/samplesorter.h index ff45f3e..f277ff1 100644 --- a/dgedit/samplesorter.h +++ b/dgedit/samplesorter.h @@ -33,7 +33,7 @@ class Level { public: - int velocity; + float velocity; QMap selections; }; @@ -74,7 +74,7 @@ private: Selection sel; - QVector threshold; + QVector threshold; bool threshold_is_moving; bool selection_is_moving_left; bool selection_is_moving_right; -- cgit v1.2.3