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: Sat, 18 Apr 2015 11:13:27 +0000 (UTC)





David,  

Please refer to email below.  Silas has developed a way to generate jianpu. I find it duplicate of input - one for jianpu and one for lilypond code.  I asked if his code can use lilypond code to generate jianpu and the answer is no.
The way I see your approach is the same jianpu input and lilypond code input - a duplicate effort.

Someone in lilypond community ( couldn't remember who - a few lilyponders ) provides a way to generate number notes attach to pitch note.  Please refer to attached lilypond file.  The jianpu will adjust to the key signature.  
(1) one draw back is that I cannot just display jianpu only 
(2) the number has no beat identification (quarter note, eighth note, etc) 
(3) does not display rest  
I am not familiarly with scheme so I cannot modify the code. 

Please have a look and see if you can adapt to what you try to accomplish.

Immanuel,
Ming.

Re: jianpu (numeric notes) lilypond transcribe?


Silas wrote:
I should point out that Ming Tsang's example PNG (posted on 17 Nov) was created using my "jianpu in Lilypond" program available at http://people.ds.cam.ac.uk/ssb22/mwrhome/jianpu-ly.html but what he wants to ask is "is it possible to do that without having to type the numbers in manually", i.e. can the jianpu be automatically generated from normal Lilypond input without having to input the numbers separately. My program does not attempt to parse normal Lilypond input because the syntax is a moving target between Lilypond versions and it's rather complicated to handle everything. Moreover, although it's nice to be able to print the jianpu line along with a 5-line stave, in many cases you actually DON'T want this: if you know the user of the part ONLY reads jianpu, then the 5-line stave is just wasting paper and ink; you might as well put jianpu only, especially if you are printing out 135 songs! And if you are printing jianpu only, then I find it's quicker to type in the jianpu numbers myself, instead of going to all the trouble of coding a 5-line staff that won't actually be printed. Also, in some music you have to make a human judgment about what to do with the jianpu, for example if the key changes (you may or may not get away with changing key in the jianpu; it depends on the singer/instrument; you might have to write everything relative to the same key, in which case you have to choose which of the music's different keys is the "main" one) or if there are chromaticisms (sometimes it makes sense to rewrite the enharmonics in the jianpu line, e.g. #5 to b6; there are no fixed rules about this, it's down to judgment and it can depend on the singer/instrument). If any program did produce the jianpu numbers completely automatically then I would want to be able to edit/override them at times. Of course, if the music is simple (it's in one key with no awkward chromaticisms) then automatic jianpu should be easier. If I were inputting a large number of simple tunes, and I wanted both the music line and the jianpu line but without having to type everything twice, I would write myself a simple search/replace script so I can automatically generate one format from the other (or even use a third format to generate both). In this case the translator needs to cope only with the specific things that I will actually use for this specific input (it does not have to address the entire Lilypond feature set). For example, if you are in D major and you specify duration on every note in Lilypond, just replace d4 -> 1, d8 -> q1, e4 -> 2 etc. In the general case though, it's going to be hard to automatically convert normal Lilypond input into jianpu-ly's input (or reproduce jianpu-ly's work in mainstream Lilypond) although it would be nice. Meanwhile, at least jianpu-ly does have a few "sanity checks" in it in case you make a mistake. It performs barline checks like Lilypond (and in jianpu-ly they are ERRORS, not warnings, so you should certainly know if you did something wrong there), and it should be possible to hear the music played back (although I should probably implement a "play it in the right key" feature so you can play it alongside the other stave and check all notes sound the same). Silas -- Silas S Brown http://people.ds.cam.ac.uk/ssb22





Attachment: god's-magnificent-love(1).ly
Description: Text Data

Attachment: 2015-04-18_071132.png
Description: PNG image


reply via email to

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