Hi,Paul!

I am impressed by your code! You have really made things automated! To note 
about improvement, accidentals in jianpu look identical to those in standard 
notation, but the baseline is about 0.75 height position of numeric note head 
height button up. Lines indicating duration (aka. beams) should be horizontally 
linked together the same way as 5-stave notation.
I have tried changing "\key c \major" to "\key d \major", and found that rules 
dealing with accidentals are still in the old way(eg. the second note should be 
flat-7, not natural-7).


Thanks!


David Zhang




------------------ 原始邮件 ------------------
发件人: "Paul Morris"<p...@paulwmorris.com>; 
发送时间: 2015年4月20日(星期一) 上午6:24
收件人: "Super-User"<david...@qq.com>; 
抄送: "lilypond-user"<lilypond-user@gnu.org>; 
主题: Re: Jianpu Notation



Hi David,

> On Apr 18, 2015, at 1:14 AM, Paul Morris <p...@paulwmorris.com> wrote:
> 
> In the attached file is a start on a more automated way to do it.  It uses a 
> custom note head engraver and custom rest engraver (written in Scheme) to 
> automatically alter the note head and rest stencils. By going further in this 
> direction it would be possible to also add the dots and lines (that indicate 
> octave and duration) to the note head stencil.  This would automate those 
> parts as well.  

I went ahead and worked some more on this.  (It took me long enough to figure 
out how to do this stuff, so I might as well put it to use so others can 
benefit too.)

See the attached file for another revision that implements these things:
- dots indicating octaves
- lines indicating note and rest durations
- correctly determines Jianpu note number (c major key: c = 0, c minor key: c = 
6, etc.)

It works by incorporating these symbols into the note head stencil.

This is just a quick sketch that can be improved and refined in terms of 
spacing and other details.  Some things still to do are handling dotted notes 
(I haven’t been able to access the dots grob from note head grob, so this seems 
tricky) and Jianpu accidental signs (which will require their own engraver).

HTH,
-Paul
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to