Thank you David Kastrup for helping.Paul: does the info provide help to solve the lyrics placement in jianpu? Thank you Ming.
From: David Kastrup <d...@gnu.org> To: MING TSANG <tsan...@rogers.com> Cc: Paul Morris <p...@paulwmorris.com>; Super-User <david...@qq.com>; Werner LEMBERG <w...@gnu.org>; Carl Sorensen <c_soren...@byu.edu>; David Nalesnik <david.nales...@gmail.com>; Lilypond-usermailinglist <lilypond-user@gnu.org> Sent: Thursday, August 24, 2017 2:47 AM Subject: Re: Jianpu Notation MING TSANG <tsan...@rogers.com> writes: > | From: | Paul Morris | > | Subject: | Re: Jianpu Notation | > | Date: | Thu, 30 Apr 2015 11:36:28 -0400 | > > There has no activities since April 30/2015 - two year past.I hope > Paul Morris and David Zhang can re-start the development of > Jianpu.Thank you.Ming. >> On Apr 30, 2015, at 9:10 AM, MING TSANG <address@hidden> wrote: >> >> David & Paul: >> I created jianpu-test_1.ly for testing jianpu9.ly >> The result is self explaining. > > Thanks Ming, this is helpful. > >> There is a difference in coding c''8 8 vs c''8 c’' > > Ah, it seems that in c’’8 8 the 8 does not have a pitch property when it is > received by the jianpuMusic function: > > \displayMusic shows that c’’8 becomes: > > (make-music > 'NoteEvent > 'duration > (ly:make-duration 3) > 'pitch > (ly:make-pitch 1 0)) > > …and then 8 becomes > > (make-music > 'NoteEvent > 'duration > (ly:make-duration 3)) > > with no pitch property. So I’ll need to handle these pitch-less note events. The definition of \retrograde in ly/music-functions-init.ly shows how this can be done: retrograde = #(define-music-function (music) (ly:music?) (_i "Return @var{music} in reverse order.") (retrograde-music (expand-repeat-notes! (expand-repeat-chords! (cons 'rhythmic-event (ly:parser-lookup '$chord-repeat-events)) music)))) -- David Kastrup
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user