Sorry to bother you with this, but I'm really new to Lilypond and Scheme. I need a String representation of the name. If I use display on the return value, I get something like: "accidentals.natural"#<unspecified>". How can I extract the "natural" part?
Thank you very much for your help! Am Do., 1. Aug. 2019 um 14:02 Uhr schrieb Thomas Morley < [email protected]>: > Am Do., 1. Aug. 2019 um 13:13 Uhr schrieb Nils Nommensen > <[email protected]>: > > > > While I'm at it: How would I get the correct glyph name from the > accidental-grob object as a string? > > #(define get-accidental > (lambda (note) > (let* ((acc (ly:grob-object note 'accidental-grob))) > (write (ly:grob-property acc 'glyph-name))))) > > should do. > > Cheers, > Harm >
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
