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: Tue, 28 Apr 2015 20:51:32 +0000 (UTC)

Paul,

Thank you for the jianpu8.ly.
I test run with v2.19.19 and I got the following error. 

Starting lilypond-windows.exe 2.19.19 [7-speech+jianpu_8.ly]...
Processing `K:/LILY_POND/7-speech/7-speech+jianpu_8.ly'
Parsing...
Interpreting music...C:/Users/Tsang/Dropbox/LP_includes/jianpu8.ly:248:30: In procedure ly:event-property in _expression_ (ly:event-property event (quote jianpu-key-sig)):
C:/Users/Tsang/Dropbox/LP_includes/jianpu8.ly:248:30: Wrong type argument in position 1 (expecting Stream_event): #f
Exited with return code 1.


Immanuel,
Ming.



On Tuesday, April 28, 2015 4:20 PM, Paul Morris <address@hidden> wrote:


Hi David and Ming,

On Apr 25, 2015, at 6:18 PM, Paul Morris <address@hidden> wrote:

However, I see now that really a different approach is needed.  Basically whole notes and half notes should be converted into the equivalent number of quarter notes, with the first one displayed as a number and the rest as dashes.  That way the spacing will be much better.

I’ve started experimenting with this.  It will take using a music function.  This will also allow automatically inserting markups for the octave dots, which will then make it easier to have beams that span more than one note.  So there are several benefits to this approach.

Attached is a new version (8) that implements this new approach.  It seems to be working well.  Spacing is improved, the beams now span more than one note and they span rests too, octave dots are below beams, a first/rough draft of Jianpu key signatures is in place, etc.  

A music function \jianpuMusic is used to modify the music input.  You use it like this:

\new JianpuStaff \jianpuMusic {
  % music goes here as usual…
}

This music function breaks half and whole notes/rests into quarter notes/rests, including dotted versions (even pesky double-dotted half notes/rests).  “Under the hood” rests are actually converted into notes so that they can have beams and flags just like notes do.

The function also transposes the music to C major key signature “under the hood" which gives us correct octaves and accidentals "for free" -- much simpler this way.  (Because of this you can’t get midi output with \jianpuMusic, you’d just use a separate score for midi without this music function applied to the music.)

Ok, that’s enough for now…  let me know if you have questions.  It seems that lyrics will need a similar \jianpuLyrics function to work correctly.

Cheers,
-Paul




Attachment: 7-speech+jianpu_8.ly
Description: Text Data


reply via email to

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