summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-08 16:13:15 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-27 14:59:30 -0500
commit0318d3cd64557156bfd9851a4dec53bf03395b17 (patch)
tree8051b0417171699eb4cbe3710cd8e1dca249cf98
parent5d4e1b323126f04a47c826382330a79e7caa2410 (diff)
add explanatory comment
-rw-r--r--libs/surfaces/push2/push2.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc
index bd058c6707..60570e5d89 100644
--- 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()) {