From: Carl Worth Date: Tue, 1 Oct 2013 18:01:46 +0000 (-0700) Subject: Don't bother displaying names for intervals and octaves. X-Git-Url: https://git.cworth.org/git?p=scherzo;a=commitdiff_plain;h=f4431e3d1f117bf91014743f9cb18c88c5ae4459 Don't bother displaying names for intervals and octaves. This is an attempt to reduce some flashing of the name while playing chords. --- 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);