paolo prete <paoloprete...@gmail.com> writes:

> Thanks David,
> one last question: is it possible to _check_  if x is a rest or a note?
>
> (if...      )

Sure.  (if (music-is-of-type? x 'rest-event) ...) and 'note-event,
respectively.  There is also 'event-chord for multiple note events in a
chord.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to