+ if (scherzo->pedal_pressed)
+ note_group = &scherzo->notes_pedaled;
+ else
+ note_group = &scherzo->notes_pressed;
+
+ num_notes = note_group->num_notes;
+
+ struct { int pitches[1]; const char *name; } octaves[] = {
+ { {0}, "Octave"}
+ };
+
+ struct { int pitches[2]; const char *name; } intervals[] = {
+ { {0, 1}, "Minor 2nd"},
+ { {0, 2}, "Major 2nd"},
+ { {0, 3}, "Minor 3rd"},
+ { {0, 4}, "Major 3rd"},
+ { {0, 5}, "Perfect 4th"},
+ { {0, 6}, "Diminished 5th/Augmented 4th"},
+ { {0, 7}, "Perfect 5th"},
+ { {0, 8}, "Minor 6th"},
+ { {0, 9}, "Major 6th"},
+ { {0, 10}, "Minor 7th"},
+ { {0, 11}, "Major 7th"}
+ };
+