From f4431e3d1f117bf91014743f9cb18c88c5ae4459 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 1 Oct 2013 11:01:46 -0700 Subject: [PATCH] Don't bother displaying names for intervals and octaves. This is an attempt to reduce some flashing of the name while playing chords. --- scherzo.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scherzo.c b/scherzo.c index dd7fdbf..95bab27 100644 --- 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); -- 2.43.0