X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=score.h;fp=score.h;h=a07b9266d4aa5725f0221200c791165e407d81dd;hb=03f4abc3182dfe2602d44d38ce7b3db2892e018e;hp=98dd26f89cb9f20f216e84afcd43de872a7e8d5b;hpb=e808e5df23cb5d8deb23296c38d1eb6b4581563d;p=scherzo diff --git a/score.h b/score.h index 98dd26f..a07b926 100644 --- 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