]> git.cworth.org Git - scherzo/blobdiff - score.h
Open MIDI device and display notes being played in real time.
[scherzo] / score.h
diff --git a/score.h b/score.h
index 98dd26f89cb9f20f216e84afcd43de872a7e8d5b..a07b9266d4aa5725f0221200c791165e407d81dd 100644 (file)
--- a/score.h
+++ b/score.h
@@ -178,6 +178,18 @@ score_staff_add_note (score_staff_t *staff,
                      int octave,
                      score_duration_t);
 
+/* Remove the given note from the given staff. */
+void
+score_staff_remove_note (score_staff_t *staff, score_note_t *note);
+
+/* Return the first note on the given staff with the given pitch,
+ * octave, and durations. Returns NULL if no match is found. */
+score_note_t *
+score_staff_find_note (score_staff_t *staff,
+                      score_pitch_t pitch,
+                      int octave,
+                      score_duration_t duration);
+
 /* Draw the given score_t onto the given cairo_t.
  *
  * The caller can call cairo_translate before calling score_draw to