lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accidentals from note grob


From: Thomas Morley
Subject: Re: Accidentals from note grob
Date: Thu, 1 Aug 2019 14:01:45 +0200

Am Do., 1. Aug. 2019 um 13:13 Uhr schrieb Nils Nommensen
<address@hidden>:
>
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]