lilypond-devel
[Top][All Lists]
Advanced

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

Re: Numbered musical notation (Jianpu)


From: Andrew Hawryluk
Subject: Re: Numbered musical notation (Jianpu)
Date: Sat, 6 Jun 2009 23:09:42 -0600

On Sat, Jun 6, 2009 at 1:59 PM, Silas Brown<address@hidden> wrote:
> Continuing the thread from November 2007:
> (see http://www.mail-archive.com/address@hidden/msg32740.html )
>
> Here is a Python hack that can add numbered notation (Chinese jianpu) to a 
> line
> of music.  The numbered notation is added as ^\markup commands that include
> appropriate EPS files.  These EPS files are generated using pslatex (you need
> the PostScript fonts for LaTeX, although you could substitute Computer Modern
> fonts by replacing pslatex with latex but then the jianpu numbers will not 
> match
> Lilypond's other text).  The music parser is extremely basic, so don't try it 
> on
> anything too complicated.  Octaves must be absolute, and must be in the range 
> c'
> to b'''.  However it is OK not to specify length on every note.  Numbering 
> with
> 1=C is assumed (although the script can easily be adapted to other 
> numberings).
>
> The script works well for me in Lilypond 2.10.33.  However it does not work so
> well in 2.12.2 because the ^\markup commands are re-positioned so much (which 
> is
> a good attempt to avoid collisions, but it often results in the jianpu numbers
> being printed at different heights just because they are a little close to 
> each
> other).  Does anybody know how to do it better in 2.12.2?

Have you tried \textLengthOn? See Notation Reference 1.8.1

Andrew




reply via email to

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