projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d4e1b3
)
add explanatory comment
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 8 Jul 2016 20:13:15 +0000
(16:13 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 19:59:30 +0000
(14:59 -0500)
libs/surfaces/push2/push2.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/push2/push2.cc
b/libs/surfaces/push2/push2.cc
index bd058c67070a80a1c26ad4791d6831a4ce5328e2..60570e5d893d2c24a08712516ca659ff3236ef56 100644
(file)
--- a/
libs/surfaces/push2/push2.cc
+++ b/
libs/surfaces/push2/push2.cc
@@
-1772,6
+1772,8
@@
Push2::set_pad_scale (int root, int octave, MusicalMode::Type mode, bool inkey)
mode_map.insert (note);
mode_vector.push_back (note);
+ /* build a map of all notes in the mode, from the root to 127 */
+
while (note < 128) {
if (interval == m.steps.end()) {