summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-30 18:45:19 +0000
committerTim E. Real <termtech@rogers.com>2010-12-30 18:45:19 +0000
commit93be6bea35c4cbddf9f6846d6a4da1b363e10cd2 (patch)
treee403b06825ac25077f4c727a1fcfd611aaca28c1
parent7db552d8e41a4ac876802b3d4ac7d8a6e0dd2ed5 (diff)
Suggestion by OOM team: Add default velocity controllers to pianoroll and drum edit.
-rw-r--r--muse2/ChangeLog1
-rw-r--r--muse2/muse/midiedit/drumedit.cpp3
-rw-r--r--muse2/muse/midiedit/pianoroll.cpp3
3 files changed, 7 insertions, 0 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index c10e4ed8..991b5390 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -1,4 +1,5 @@
30.12.2010:
+ - Suggestion by OOM team: Add default velocity controllers to pianoroll and drum edit. (Tim)
*Feature: Appearance part color names now can now be edited. (Tim)
TODO: Add per-song settings and add toolbar with some colour goodies.
*Feature: Mixer label colours can now be edited in the appearance settings. (Tim)
diff --git a/muse2/muse/midiedit/drumedit.cpp b/muse2/muse/midiedit/drumedit.cpp
index b108ec7c..d4940c86 100644
--- a/muse2/muse/midiedit/drumedit.cpp
+++ b/muse2/muse/midiedit/drumedit.cpp
@@ -451,6 +451,9 @@ DrumEdit::DrumEdit(PartList* pl, QWidget* parent, const char* name, unsigned ini
if(pos > MAXINT)
pos = MAXINT;
hscroll->setOffset((int)pos);
+
+ // As a final act, open a default velocity controller.
+ addCtrl();
}
//---------------------------------------------------------
diff --git a/muse2/muse/midiedit/pianoroll.cpp b/muse2/muse/midiedit/pianoroll.cpp
index 7561cc37..53b92f91 100644
--- a/muse2/muse/midiedit/pianoroll.cpp
+++ b/muse2/muse/midiedit/pianoroll.cpp
@@ -542,6 +542,9 @@ PianoRoll::PianoRoll(PartList* pl, QWidget* parent, const char* name, unsigned i
if(pos > MAXINT)
pos = MAXINT;
hscroll->setOffset((int)pos);
+
+ // As a final act, open a default velocity controller.
+ addCtrl();
}
//---------------------------------------------------------