Hi, Lily users: I forgot to include namer.ly.
Here is the lily code: numbr = #(make-engraver (acknowledgers ((note-head-interface engraver grob source) (let* ( (context (ly:translator-context engraver)) (tonic-pitch (ly:context-property context 'tonic)) (tonic-index (ly:pitch-notename tonic-pitch)) (event (ly:grob-property grob 'cause)) (grob-pitch (ly:event-property event 'pitch)) (grob-index (ly:pitch-notename grob-pitch)) (delta (modulo (- grob-index tonic-index) 7)) (name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta)) (newgrob (ly:engraver-make-grob engraver 'TextScript event))) (if (string= name "Hb") (set! name "B")) (set! (ly:grob-property newgrob 'text) name) (set! (ly:grob-property newgrob 'direction) UP) )))) Blessing in+, Ming. ----- Forwarded Message ----- >From: MING TSANG <tsan...@rogers.com> >To: lilypond-usermailinglist <lilypond-user@gnu.org> >Sent: Saturday, November 17, 2012 4:48:37 PM >Subject: jianpu (numeric notes) lilypond transcribe? > > >Hi, lilypond users: > > >Is is possible for lilypond code to produce the jianpu (numeric notes) shown >on the .png file. There is a namer.ly which will produce the jianpu, but the >numeric notes are not associated with quarter-note, half-note, eight-note and >differential octave. > > >Appreciate, if anyone had done this to share. > >Blessing in+, >ming. > > >
<<attachment: 2012-11-17_163945.png>>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user