add explanatory comment
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 8 Jul 2016 20:13:15 +0000 (16:13 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 19:59:30 +0000 (14:59 -0500)
libs/surfaces/push2/push2.cc

index bd058c67070a80a1c26ad4791d6831a4ce5328e2..60570e5d893d2c24a08712516ca659ff3236ef56 100644 (file)
@@ -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()) {