]> git.cworth.org Git - scherzo/commitdiff
Don't bother displaying names for intervals and octaves.
authorCarl Worth <cworth@cworth.org>
Tue, 1 Oct 2013 18:01:46 +0000 (11:01 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 3 Oct 2013 17:50:55 +0000 (10:50 -0700)
This is an attempt to reduce some flashing of the name while playing
chords.

scherzo.c

index dd7fdbf076109c5f3728280c6ab4b0c1f246e0aa..95bab27c51504ebe9783501758a44ff3645d4664 100644 (file)
--- a/scherzo.c
+++ b/scherzo.c
@@ -926,7 +926,17 @@ scherzo_update_notes_and_chord (scherzo_t *scherzo)
        /* Don't print root pitch for octaves and inversions,
         * (since a pitch name alone looks like a major triad) */
        if (signature->num_degrees < 3) {
+           /* In fact, don't print anything for octaves and
+            * inversions for now. It leads to a bit of flashing when
+            * playing chords.
+            *
+            * FIXME: What I'd like to have here is a small timeout,
+            * such that names only appear once an interval has been
+            * held for at least 100 ms or so. With that, it would be
+            * nice to display the interval names once again.
+            *
            chord_name = talloc_strdup (local, signature->name);
+           */
        } else {
            _spell_chord_by_signature (&scherzo->notes_pressed,
                                       signature, *root);