lilypond-user
[Top][All Lists]
Advanced

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

Re: Jianpu Notation


From: MING TSANG
Subject: Re: Jianpu Notation
Date: Thu, 24 Aug 2017 18:29:58 +0000 (UTC)

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 <address@hidden>
To: MING TSANG <address@hidden>
Cc: Paul Morris <address@hidden>; Super-User <address@hidden>; Werner LEMBERG <address@hidden>; Carl Sorensen <address@hidden>; David Nalesnik <address@hidden>; Lilypond-usermailinglist <address@hidden>
Sent: Thursday, August 24, 2017 2:47 AM
Subject: Re: Jianpu Notation

MING TSANG <address@hidden> 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



reply via email to

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