Re: Added ninth chord (symbol)

2016-04-30 Thread ming
It works in version 2.18.2  
Error in version 2.19.40

Sent from Mail for Windows 10

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Displaying Japanese & Chinese characters.

2016-05-01 Thread ming
James,

In your editor select UTF-8 and lily support UTF-code. This will display 
Chinese character.  I have been using this since lilypond v2.12.

Immanuel,
Ming

Sent from Mail for Windows 10

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: note names as solmisation printed as markup automagically?

2016-05-30 Thread ming
Can this code be modified for movable do?

Sent from Mail for Windows 10

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


cannot find lilypond icon on my desktop after installation (window xp)

2008-04-08 Thread ming tsang
I download and installed lilypond_3.10.33-1.mingw.exe

I did not see lilypond icon.   

I tried to execute c:\Program Files\LilyPond\usr\bin\lilypond-windows.exe, but
no lilypond screen displayed.  Is this the right program to execute?



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: cannot find lilypond icon on my desktop after installation (window xp)

2008-04-09 Thread MING TSANG
Hi, all:

My objective is to use .abc text file with Chinese character lyrics as input so 
that I can obtain music sheet with Chinese lyrics printed / displayed. I search 
the internet, theere is a chinese.tcl a TCL script. I do not know TCL.  I read 
from Lilypond web page that it is able to to display / print Chinese lyrics.  

Thank you Tim and Mats.  This will become a long learning process for me.

Thanks,
Ming.

- Original Message 
From: Mats Bengtsson <[EMAIL PROTECTED]>
To: Tim Litwiller <[EMAIL PROTECTED]>
Cc: ming tsang <[EMAIL PROTECTED]>; lilypond-user@gnu.org
Sent: Tuesday, April 8, 2008 10:48:05 AM
Subject: Re: cannot find lilypond icon on my desktop after installation (window 
xp)



Tim  Litwiller  wrote:
>
>  Lilypond  by  it's  self  is  a  command  line  program  that  processes  an 
>  input  file  and  outputs  a  "engraving".  With  lilypondtool  that  is  a  
> pdf, 
>  other  options  let  it  also  output  midi  files  and  image  files.
>
Still,  a  normal  installation  on  Windows  leaves  an  icon  on  the  
desktop. 
Also,  if  you
open  a  command  prompt  and  run  the  command
lilypond-windows  -dgui
then  you  should  see  the  same  thing  as  normally  happens  when  you 
double-click  on  the
LilyPond  icon,  namely  that  the  very  primitive  text  editor  "LilyPad"  
is 
opened  with  a
simple  test  example  file.

No  matter  if  you  follow  Tim's  advice  or  use  your  existing  solution, 
don't  expect  to  be  able
to  do  anything  useful  with  the  program  until  you  have  read  the  
Tutorial 
(i  actually  recommend
you  to  click  on  the  Documentation  link  for  version  2.11  even  if  you 
 have 
installed  version  2.10
and  click  on  the  "Learning  Manual"  there,  since  it's  been  more  or  
less 
completely  rewritten  and
improved  compared  to  the  documentation  for  version  2.10).

  /Mats
>
>
>
>  ming  tsang  wrote:
>>  I  download  and  installed  lilypond_3.10.33-1.mingw.exe
>>
>>  I  did  not  see  lilypond  icon.  
>>  I  tried  to  execute  c:\Program 
>>  Files\LilyPond\usr\bin\lilypond-windows.exe,  but
>>  no  lilypond  screen  displayed.   Is  this  the  right  program  to  
>> execute?
>>
>>
>>
>>  ___
>>  lilypond-user  mailing  list
>>  lilypond-user@gnu.org
>>  http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
>
>
>  ___
>  lilypond-user  mailing  list
>  lilypond-user@gnu.org
>  http://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
=
 Mats  Bengtsson
 Signal  Processing
 School  of  Electrical  Engineering
 Royal  Institute  of  Technology  (KTH)
 SE-100  44   STOCKHOLM
 Sweden
 Phone:  (+46)  8  790  8463   
Fax: (+46)  8  790  7260
 Email:  [EMAIL PROTECTED]
 WWW:  http://www.s3.kth.se/~mabe
=




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: lilybin

2012-10-05 Thread MING TSANG
Trevor,

Thank you for updating the lilybin.  It is wonderful when I use somebody's pc 
(don't have lilypond installed).

 
Blessing in+,
Ming
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


pitch name transpose into numeric pr key signature

2012-10-14 Thread MING TSANG
The following snippet did not transpose the pitch name to numbers

e.g.  for key g\major the transpose should be:
 g= 1(do)  a= 2(re)  b= 3(mi)  c= 4(fa)  d= 5(so)  e= 6(la) ff=7(ti)


I was told to substitute CDEFGAB(namer) for 1234567(numbr) will produce the 
right numeric.  I appreciate if someone can show me how to fix \numbr so that 
it will generate proper numeric per key signature.  Attached png file is the 
output of the snippet.


%snippet begins
%

\version "2.17.0"
\include "english.ly"
%\include "include_namer.ly"
namer =
#(make-engraver
(acknowledgers
((note-head-interface engraver grob source)
(let* ((event (ly:grob-property grob 'cause))
(pitch (ly:event-property event 'pitch))
(newgrob (ly:engraver-make-grob engraver 'TextScript event))
(name (format #f "~a~a"
(string-ref "CDEFGAB" (ly:pitch-notename pitch))
(assoc-ref 
'((-1/2 . "") (0 . "") (1/2 . ""))
(ly:pitch-alteration pitch)
(if (string= name "Hb")
(set! name "B"))
(set! (ly:grob-property newgrob 'text) name)
numbr =
#(make-engraver
(acknowledgers
((note-head-interface engraver grob source)
(let* ((event (ly:grob-property grob 'cause))
(pitch (ly:event-property event 'pitch))
(newgrob (ly:engraver-make-grob engraver 'TextScript event))
(name (format #f "~a~a"
(string-ref "1234567" (ly:pitch-notename pitch))
(assoc-ref 
'((-1/2 . "") (0 . "") (1/2 . ""))
(ly:pitch-alteration pitch)
(if (string= name "Hb")
(set! name "B"))
(set! (ly:grob-property newgrob 'text) name)
SRxxSSa = \relative c' {
\clef treble \key c\major
\set Staff.instrumentName = \markup {\larger "AA"}
c4 d e f g a b2  | \key g\major g4 a b c d e fs2 | \key ef\major  ef,4 f g af 
bf c d2
}
SRxxSSb = \relative c' {
\set Staff.instrumentName = \markup {\larger "BB"}
\key c\major 
c4 d e f g a b2  | \key g\major g4 a b c d e fs2 | \key ef\major  ef,4 f g af 
bf c d2
}
\score{ 
\new Staff 
\with {\consists #namer } 
{ 
\SRxxSSa 
}
\layout {}
}
\score{ 
\new Staff 
\with {\consists #numbr } 
{ 
\SRxxSSb 
}
\layout {}
}
%
%snippet ends

 
Blessing in+,<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pitch name transpose into numeric pr key signature

2012-10-19 Thread MING TSANG
Hi, lily user,

Just want to find out how can I fix the problem I have with the following email 
sent on Oct 14.

 
Blessing in+,
Ming.


>
> From: MING TSANG 
>To: lilypond-usermailinglist  
>Sent: Sunday, October 14, 2012 6:08:56 PM
>Subject: pitch name transpose into numeric pr key signature
> 
>
>The following snippet did not transpose the pitch name to numbers
>
>
>e.g.  for key g\major the transpose should be:
> g= 1(do)  a= 2(re)  b= 3(mi)  c= 4(fa)  d= 5(so)  e= 6(la) ff=7(ti)
>
>
>
>I was told to substitute CDEFGAB(namer) for 1234567(numbr) will produce the 
>right numeric.  I appreciate if someone can show me how to fix \numbr so that 
>it will generate proper numeric per key signature.  Attached png file is the 
>output of the snippet.
>
>
>
>%snippet begins
>%
>
>\version "2.17.0"
>\include "english.ly"
>%\include "include_namer.ly"
>namer =
>#(make-engraver
>(acknowledgers
>((note-head-interface engraver grob source)
>(let* ((event (ly:grob-property grob 'cause))
>(pitch (ly:event-property event 'pitch))
>(newgrob (ly:engraver-make-grob engraver 'TextScript event))
>(name (format #f "~a~a"
>(string-ref "CDEFGAB" (ly:pitch-notename pitch))
>(assoc-ref 
>'((-1/2 . "") (0 . "") (1/2 . ""))
>(ly:pitch-alteration pitch)
>(if (string= name "Hb")
>(set! name "B"))
>(set! (ly:grob-property newgrob 'text) name)
>numbr =
>#(make-engraver
>(acknowledgers
>((note-head-interface engraver grob source)
>(let* ((event (ly:grob-property grob 'cause))
>(pitch (ly:event-property event 'pitch))
>(newgrob (ly:engraver-make-grob engraver 'TextScript event))
>(name (format #f "~a~a"
>(string-ref "1234567" (ly:pitch-notename pitch))
>(assoc-ref 
>'((-1/2 . "") (0 . "") (1/2 . ""))
>(ly:pitch-alteration pitch)
>(if (string= name "Hb")
>(set! name "B"))
>(set! (ly:grob-property newgrob 'text) name)
>SRxxSSa = \relative c' {
>\clef treble \key c\major
>\set Staff.instrumentName = \markup {\larger "AA"}
>c4 d e f g a b2  | \key g\major g4 a b c d e fs2 | \key ef\major  ef,4 f g af 
>bf c d2 
>}
>SRxxSSb = \relative c' {
>\set Staff.instrumentName = \markup {\larger "BB"}
>\key c\major 
>c4 d e f g a b2  | \key g\major g4 a b c d e fs2 | \key ef\major  ef,4 f g af 
>bf c d2 
>}
>\score{ 
>\new Staff 
>\with {\consists #namer } 
>{ 
>\SRxxSSa 
>}
>\layout {}
>}
>\score{ 
>\new Staff 
>\with {\consists #numbr } 
>{ 
>\SRxxSSb 
>}
>\layout {}
>}
>%
>%snippet ends
>
> 
>Blessing in+,
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pitch name transpose into numeric pr key signature

2012-10-24 Thread MING TSANG
Hi, lily user community

This is my third post on the same subject. First time on Oct 14, Second time on 
Oct 19.  In the past, I get reply on the same day, and sometime 2 to 3 day 
later.  I don't know what happpen.

Appreciate someone acknowledge receipt of the post.  Even better tell me is 
there any solution or it can't be done.

I am seeking to print number beneath the note.  Refer to the png.  
On Key C seems correct on "AA" "BB".
On Key G only "AA" is correct and "BB" is wrong
On Key E-flat, again "AA" is correct, and "BB" is wrong.

Is it possible to resolve the \numer?

The png is produce by test_namer.ly



 
Blessing in+,
Ming.


>
> From: MING TSANG 
>To: lilypond-usermailinglist  
>Sent: Friday, October 19, 2012 8:54:11 AM
>Subject: Re: pitch name transpose into numeric pr key signature
> 
>
>Hi, lily user,
>
>
>Just want to find out how can I fix the problem I have with the following 
>email sent on Oct 14.
>
>
> 
>Blessing in+,
>Ming.
>
>
>>
>> From: MING TSANG 
>>To: lilypond-usermailinglist  
>>Sent: Sunday, October 14, 2012 6:08:56 PM
>>Subject: pitch name transpose into numeric pr key signature
>> 
>>
>>The following snippet did not transpose the pitch name to numbers
>>
>>
>>e.g.  for key g\major the transpose should be:
>> g= 1(do)  a= 2(re)  b= 3(mi)  c= 4(fa)  d= 5(so)  e= 6(la) ff=7(ti)
>>
>>
>>
>>I was told to substitute CDEFGAB(namer) for 1234567(numbr) will produce the 
>>right numeric.  I appreciate if someone can show me how to fix \numbr so that 
>>it will generate proper numeric per key signature.  Attached png file is the 
>>output of the snippet.
>>
>>
>>
>>%snippet begins
>>%
>>
>>\version "2.17.0"
>>\include "english.ly"
>>%\include "include_namer.ly"
>>namer =
>>#(make-engraver
>>(acknowledgers
>>((note-head-interface engraver grob source)
>>(let* ((event (ly:grob-property grob 'cause))
>>(pitch (ly:event-property event 'pitch))
>>(newgrob (ly:engraver-make-grob engraver 'TextScript event))
>>(name (format #f "~a~a"
>>(string-ref "CDEFGAB" (ly:pitch-notename pitch))
>>(assoc-ref 
>>'((-1/2 . "") (0 . "") (1/2 . ""))
>>(ly:pitch-alteration pitch)
>>(if (string= name "Hb")
>>(set! name "B"))
>>(set! (ly:grob-property newgrob 'text) name)
>>numbr =
>>#(make-engraver
>>(acknowledgers
>>((note-head-interface engraver grob source)
>>(let* ((event (ly:grob-property grob 'cause))
>>(pitch (ly:event-property event 'pitch))
>>(newgrob (ly:engraver-make-grob engraver 'TextScript event))
>>(name (format #f "~a~a"
>>(string-ref "1234567" (ly:pitch-notename pitch))
>>(assoc-ref 
>>'((-1/2 . "") (0 . "") (1/2 . ""))
>>(ly:pitch-alteration pitch)
>>(if (string= name "Hb")
>>(set! name "B"))
>>(set! (ly:grob-property newgrob 'text) name)
>>SRxxSSa = \relative c' {
>>\clef treble \key c\major
>>\set Staff.instrumentName = \markup {\larger "AA"}
>>c4 d e f g a b2  | \key g\major g4 a b c d e fs2 | \key ef\major  ef,4 f g af 
>>bf c d2 
>>}
>>SRxxSSb = \relative c' {
>>\set Staff.instrumentName = \markup {\larger "BB"}
>>\key c\major 
>>c4 d e f g a b2  | \key g\major g4 a b c d e fs2 | \key ef\major  ef,4 f g af 
>>bf c d2 
>>}
>>\score{ 
>>\new Staff 
>>\with {\consists #namer } 
>>{ 
>>\SRxxSSa 
>>}
>>\layout {}
>>}
>>\score{ 
>>\new Staff 
>>\with {\consists #numbr } 
>>{ 
>>\SRxxSSb 
>>}
>>\layout {}
>>}
>>%
>>%snippet ends
>>
>> 
>>Blessing in+,
>>
>>
>
><>

test_namer.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pitch name transpose into numeric per key signature

2012-10-24 Thread MING TSANG
Hi, lily user community:

I apologize if my email to the community offended anyone. I am truly sorry. I 
understand all of you are volunteer and I also understood you all felt 
satisfaction when one of the user is help.

Thank you for what all of you have done in the past and I am sure the help for 
lily user community will continue.


 
Blessing in+,
Ming
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pitch name transpose into numeric per key signature

2012-10-28 Thread MING TSANG


   (let* ...
 (scalestep (modulo 
   (- (ly:pitch-notename pitch) (...base of key 
signature...)) 7))
 (name (format #f "~a~a"
    (string-ref "1234567" (scalestep))...

assuming someone can point out what to substitute for my unknown
quantity. The following is only work for C Major.  It is not working for 
other keys.  I am no programer. I don't know how to code for blue text above.

the original code: 
  
namer =
#(make-engraver
(acknowledgers
((note-head-interface engraver grob source)
(let* ((event (ly:grob-property grob 'cause))
(pitch (ly:event-property event 'pitch))
(newgrob (ly:engraver-make-grob engraver 'TextScript event))
(name (format #f "~a~a"
(string-ref "1234567" (ly:pitch-notename pitch))
(assoc-ref 
'((-1/2 . "") (0 . "") (1/2 . ""))
(ly:pitch-alteration pitch)
(if (string= name "Hb")
(set! name "B"))
(set! (ly:grob-property newgrob 'text) name)

 
Blessing in+,___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pitch name transpose into numeric per key signature

2012-10-29 Thread MING TSANG
Gilles:

Thank you for your solution concerning \numbr.  It is great and is what I am 
looking for.

I have been using Ez_numbers_engraver for sometime now.  It is great to display 
numeric of pitch name per key signature inside notehead.  One draw back is that 
the notehead need to be large for easy reading.  When notehead is large, the 
staff becomes large as well.

The \numbr you provided is excellent. The staff and noteheads remain the same 
while the numeric equivalent notehead pitch per key signature is displayed 
below the staff.

One question though:  Can the numeric displayed above the staff?

Thanks again for your solution.

Blessing +,
Ming.

<><><><><><><><><><><><><><><>

Le Sun, 28 Oct 2012 23:16:34 +0100, MING TSANG  a écrit: 
(let* ... (scalestep (modulo (- (ly:pitch-notename pitch) (...base of key 
signature...)) 7)) (name (format #f "~a~a" (string-ref "1234567" 
(scalestep))... If i well understand what you want, there is a snippet very 
near of what you are searching. 
http://lsr.dsi.unimi.it/LSR/Snippet?id=818The code below is a "mix" of the code 
you gave and this snippet. %%numbr = 
#(make-engraver (acknowledgers ((note-head-interfaceengraver grob source) (let* 
( (context (ly:translator-contextengraver)) (tonic-pitch (ly:context-property 
context 'tonic)) (tonic-index (ly:pitch-notename tonic-pitch)) (event 
(ly:grob-property grob 'cause)) (grob-pitch (ly:event-property event 'pitch)) 
(grob-index (ly:pitch-notename grob-pitch)) (delta (modulo (- grob-index 
tonic-index) 7)) (name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta)) 
(newgrob (ly:engraver-make-grobengraver 'TextScript event))) (set! 
(ly:grob-property newgrob 'text) name) music= \relative c' { \key c\major 
c4 d e f g a b2 |\break \key g\major g4 a b c d e fs2 | \break \key ef\major 
ef,4 f g af bf c d2 | \break \key d \major d,4 e fs g a b cs2 | \break \key 
cf\major cf,4 df ef ff gf af bf2 | \break
} \score{ \new Staff \with {\consists #numbr } \music \layout {}
}
%%%
--
Gilles 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pitch name transpose into numeric per key signature

2012-11-02 Thread MING TSANG
Gilles,

Thank you for you answer.  This is great.

Additional question:  Can the numeric line up horizontally?

 
Blessing in+,
Lyndon.


>
> From: Gilles
>
>> One question though:  Can the numeric displayed above the staff?
>
>Just set the property of newgrob to UP ( = 1 )
>
>
>
>numbr = #(make-engraver (acknowledgers
>((note-head-interface engraver grob source)
>    (let* (
>      (context (ly:translator-context engraver))
>      (tonic-pitch (ly:context-property context 'tonic))
>      (tonic-index (ly:pitch-notename tonic-pitch))
>      (event (ly:grob-property grob 'cause))
>      (grob-pitch (ly:event-property event 'pitch))
>      (grob-index (ly:pitch-notename grob-pitch))
>      (delta (modulo (- grob-index tonic-index) 7))
>      (name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta))
>      (newgrob (ly:engraver-make-grob engraver 'TextScript event)))
>   (set! (ly:grob-property newgrob 'text) name)
>   (set! (ly:grob-property newgrob 'direction) UP)
>
>%%
>--Gilles
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to specify lilypond exec option in Frascobaldi?

2012-11-03 Thread MING TSANG
Hi, fellow lily users:

I am executing lilypond by Frescobaldi.  How to specify lilypond options, eg 
--png in Frescobaldi (not as command-line)? 

 
Blessing in+,
Ming___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Typesetting jianpu (numbered musical notation) with Lilypond

2012-11-04 Thread MING TSANG


Silas,

I am interested. Can you post some sample file and more info how to use it?  I 
am not a programer. I use frescobaldi to exec lilypond.  I am a window 7 user.  
Currently I am using Ez_numbers_engraver LSR and easyHeadsOn


 
Blessing in+,
Ming
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pitch name transpose into numeric per key signature

2012-11-05 Thread MING TSANG
Hi, Gilles,

Thank you for the solution.  It seems the padding method is simplier.  I am not 
a programmer.



 
Blessing in+,
Ming.


>
> From: Gilles 
>To: lilypond-usermailinglist ; MING TSANG 
> 
>Sent: Monday, November 5, 2012 11:30:39 AM
>Subject: Re: pitch name transpose into numeric per key signature
> 
>
>> Additional question:  Can the numeric line up horizontally?
>I am 3 days late answering.
>The traditional way to do that is to override the padding property, but I 
>wanted to explore the method using context, that I was not used to.
>Here are the result of my tries.
>
>%%
>\include "english.ly"
>%% http://lsr.dsi.unimi.it/LSR/Snippet?id=818
>
>                    %%%
>numbr = #(make-engraver (acknowledgers
>((note-head-interface engraver grob source)
>    (let* (
>      (context (ly:translator-context engraver))
>      (tonic-pitch (ly:context-property context 'tonic))
>      (tonic-index (ly:pitch-notename tonic-pitch))
>      (event (ly:grob-property grob 'cause))
>      (grob-pitch (ly:event-property event 'pitch))
>      (grob-index (ly:pitch-notename grob-pitch))
>      (delta (modulo (- grob-index tonic-index) 7))
>      (name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta))
>      (newgrob (ly:engraver-make-grob engraver 'TextScript event)))
>   (set! (ly:grob-property newgrob 'text) name)
>  ;(set! (ly:grob-property newgrob 'direction) UP)
>   
>                    %%%
>
>music = \relative c' {
>\key c\major c4 e g b d f a2 |\break
>\key g\major g,,4 b d fs a c e2 | \break
>\key ef\major ef,4 g bf d f af c2 | \break
>\key d \major d,,4 fs a cs e g b2 | \break
>\key cf\major cf,,4 ef gf bf df ff af2 | \break
>}
>                    %%%
>\markup "with padding"
>\score{
>   \new Staff \with {
>     \consists #numbr
>     \override TextScript #'direction = #UP
>     \override TextScript #'padding = #3
>   }
>    \music
>
>   \layout {}
>}
>                    %%%
>\markup "with a new context"
>\score { <<
>  \new NumbrStaff \music
>  \new Staff \music
>>>
>\layout {
>  \context {
>    \type Engraver_group
>    \name NumbrStaff
>    \consists Output_property_engraver
>    \consists Key_engraver          % needed for tonic pitch
>    \consists Note_heads_engraver   % needed for pitch of note
>    \consists Text_engraver
>    \consists #numbr
>    \consists Axis_group_engraver
>
>    \override KeySignature #'stencil = ##f
>    \override KeyCancellation #'stencil = ##f
>    \override NoteHead #'stencil = ##f
>    % this section is a copy of NoteNames engraver in engraver-init.ly
>    \override VerticalAxisGroup #'staff-affinity = #UP
>    \override VerticalAxisGroup #'nonstaff-nonstaff-spacing =
>        #'((basic-distance . 0)
>           (minimum-distance . 2.8)
>           (padding . 0.2)
>           (stretchability . 0))
>    \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing =
>      #'((basic-distance . 5.5)
>         (padding . 0.5)
>         (stretchability . 1))
>    \override VerticalAxisGroup
>      #'nonstaff-unrelatedstaff-spacing #'padding = 1.5
>  }
>  \context { \Score \accepts NumbrStaff }
>}
>}
>%
>
>-- Gilles
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom key signature stencils, differentiating major and minor keys

2012-11-11 Thread MING TSANG
Hi, Paul:

Thank you for the custom key signature.  I have been dreaming this for 
sometime, but hesitate to ask lilypond user community.  I have been using 
circle of fifths to identify the key signature.

You mention this custom key signature can be adapted to print above the clef 
sign.  I am not a programmer, so not able to change (adapt).

Questions:  
1. Print the custom key signature above the clef sign
2. Is it possible to retain the traditional key signature then print the custom 
key signature above

3. Can this custom key signature use with \include "english.ly" or \language 
english?
4. Can ais (as in english) print as A# Major & f# Minor; same for flat as well?


Thank you such useful custom key signature.  I definitely will use it.

 
Blessing in+,
Ming.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom key signature stencils, differentiating major and minor keys

2012-11-13 Thread MING TSANG
Hi, Paul:

For now I just do alternate key signature on the top staff only or use manually 
by hand . Hope you have time to re-work to use rehearsal approach. 


 
Blessing in+,
Ming


>
> From: Paul Morris 
>To: MING TSANG  
>Cc: lilypond-usermailinglist  
>Sent: Tuesday, November 13, 2012 11:49:57 AM
>Subject: Re: Custom key signature stencils, differentiating major and minor 
>keys
> 
>On Nov 13, 2012, at 7:26 AM, MING TSANG  wrote:
>
>> Hi, Paul: I apply the change, it pushes the display above the staff. However 
>> I notice (1) that the distance is not constant from system to system - it 
>> diminishes;
>
>That is expected.  It sets the padding (distance) between the top of the 
>highest accidental in the key signature and the bottom of the text.  So that 
>is constant.  But when the top of the highest accidental falls below the top 
>of the staff, and at different vertical positions below the top of the staff, 
>then the distance between the text and the top of the _staff_ will be 
>different.  
>
>Ideally it would set the padding from the top of the staff _or_ the top of the 
>highest accidental.  A better approach to achieve this would be: instead of 
>combining the text and the key signature symbol into one graphical stencil / 
>grob, add the text as a rehearsal mark centered on the key signature.  Then it 
>would inherit all of the usual smart spacing for rehearsal marks.
>
>Here's how you can do that by hand:
>
>\version "2.16.0"
>\new Staff {
>  \clef bass
>  \once \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
>  \key f \major 
>  \mark \markup \magnify #.7 {F Major} 
>  c1
>  \clef treble
>  \once \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
>  \key cis \major
>  \mark \markup \magnify #.7 {C\raise #.4 {\sharp} Major} 
>  c'1
>}
>
>As described here:
>http://lilypond.org/doc/v2.16/Documentation/notation/writing-text#text-marks
>Under: Selected Snippets > Aligning marks with various notation objects
>
>So there should be a way to get my custom key signature script to 
>automatically add such rehearsal marks to the key signature.  But this would 
>require reworking it.
>
>
>> (2) that after key change from F Major to C Major, it display at the point 
>> where it changes, but disappear on the next system onward.
>
>Hmmm...  it looks like if the key is C Major or A Minor then no key signature 
>is printed, not even an "empty" one, and so the name does not get printed 
>either.  Not sure how to work around that.
>
>-Paul
>
>
>> 
>> Here is the .png and .ly file.
>> 
>> Thank you again.
>>  
>> Blessing in+,
>> Ming.
>> From: Paul Morris 
>> To: MING TSANG  
>> Sent: Monday, November 12, 2012 10:54:56 PM
>> Subject: Re: Custom key signature stencils, differentiating major and minor 
>> keys
>> 
>> Hi Ming, 
>> Yes, I saw that too...  There is a padding setting that sets the distance 
>> between the top of the key signature and the name above it.  So you could 
>> increase this until it no longer overlapped in the bass clef, but this might 
>> create too much space in other places?  
>> 
>> For example change the .5 in this:
>> 
>> (ly:stencil-scale (grob-interpret-markup grob key-name) .7 .7)
>> .5 ))
>> 
>> To 1.1 like so:
>> 
>> (ly:stencil-scale (grob-interpret-markup grob key-name) .7 .7)
>> 1.1 ))
>> 
>> That pushes the name up above the bass staff, but it also increases the 
>> distance in all the other places as well.  
>> 
>> Cheers,
>> -Paul
>> 
>> PS. Sorry for resending my previous message.  I realized I did not send it 
>> to the lily-user list before.
>> 
>> 
>> On Nov 12, 2012, at 10:33 PM, MING TSANG  wrote:
>> 
>>> Hi, Paul:
>>> 
>>> Thank you for the sample placement of the "\consists 
>>> \Custom_key_sig_engraver".
>>> 
>>> One minor drawback:  The alternative key signature on Bass is on the staff 
>>> line, not above the staff.  How can I adjust it?
>>> 
>>>  
>>> Blessing in+,
>>> Ming.
>>> From: Paul Morris 
>>> To: MING TSANG  
>>> Sent: Monday, November 12, 2012 9:53:31 PM
>>> Subject: Re: Custom key signature stencils, differentiating major and minor 
>>> keys
>>> 
>>> 
>>> On Nov 12, 2012, at 2:42 PM, MING TSANG  wrote:
>>> 
>>>> Hi, Paul:
>>>> 
>>>> I try to use custon-key-sig

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-14 Thread MING TSANG
Paul,

Thank you.

 
Blessing in+,
Ming.


>
> From: Paul Morris 
>To: MING TSANG  
>Cc: lilypond-usermailinglist  
>Sent: Wednesday, November 14, 2012 12:13:44 AM
>Subject: Re: Custom key signature stencils, differentiating major and minor 
>keys
> 
>
>Hi Ming,  I took another look at this and since there's only one key signature 
>where the accidentals do not extend above the staff (F major / D minor) I just 
>added extra padding for those keys.  Now the key names always appear above the 
>staff, regardless of the clef.  
>
>
>The sizing of the accidental signs in the key names is better in this version 
>as well.
>
>
>Cheers,
>-Paul
>
>
>
>
>\version "2.16.0"
>
>
>% tonic-semi: semitone of tonic note, 0-11, 0=C, 2=D, etc
>% psn: vertical staff position of the last accidental sign in key signature
>% accsign: the accidental sign type, 1/2=sharp, -1/2=flat
>% Knowing these 3 things is enough to identify the key and whether it is 
>major/minor
>% txt-size: size of key name text
>% padd: padding between key signature and key name
>% F Major and D Minor get extra padding to clear the staff
>% It does not handle modal keys correctly (dorian, lydian, etc.)
>
>
>#(define Custom_key_sig_engraver
>   (make-engraver
>    (acknowledgers
>     ((key-signature-interface engraver grob source-engraver)
>      (let* (
>(context   (ly:translator-context engraver))
>    (tonic-pitch  (ly:context-property context 'tonic))
>    (tonic-semi   (modulo (ly:pitch-semitones tonic-pitch) 12)) 
>(acclist    (ly:grob-property grob 'alteration-alist))
>(accsign    (if (null? acclist) 0 (cdr (list-ref acclist 0 
>(psn  (if (null? acclist) 0 (car (list-ref acclist 0 
>(key-name   #{ \markup {} #})
>(txt-size  .7)
>(padd.5)
>  )
>  (cond 
>  ((= accsign 0) (cond
>((= tonic-semi 0) (set! key-name #{ \markup {C Major} #}) (set! padd 3.2))
>((= tonic-semi 9) (set! key-name #{ \markup {A Minor} #}) (set! padd 3.2))
>(else (set! key-name #{\markup{}#}))
>))
>  ((= accsign 1/2)
>(cond 
>((= psn 3) (cond 
>((= tonic-semi 7) (set! key-name #{ \markup {G Major} #}))
>((= tonic-semi 4) (set! key-name #{ \markup {E Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 0) (cond
>((= tonic-semi 2)  (set! key-name #{ \markup {D Major} #}))
>((= tonic-semi 11) (set! key-name #{ \markup {B Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 4) (cond 
>((= tonic-semi 9) (set! key-name #{ \markup {A Major} #}))
>((= tonic-semi 6) (set! key-name #{ \markup {F\raise #.8 \magnify #.8 {\sharp} 
>Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 1) (cond 
>((= tonic-semi 4) (set! key-name #{ \markup {E Major} #}))
>((= tonic-semi 1) (set! key-name #{ \markup {C\raise #.8 \magnify #.8 {\sharp} 
>Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 5) (cond 
>((= tonic-semi 11) (set! key-name #{ \markup {B Major} #}))
>((= tonic-semi 8)  (set! key-name #{ \markup {G\raise #.8 \magnify #.8 
>{\sharp} Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 2) (cond
>((= tonic-semi 6) (set! key-name #{ \markup {F\raise #.8 \magnify #.8 {\sharp} 
>Major} #}))
>((= tonic-semi 3) (set! key-name #{ \markup {D\raise #.8 \magnify #.8 {\sharp} 
>Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 6) (cond
>((= tonic-semi 1)  (set! key-name #{ \markup {C\raise #.8 \magnify #.8 
>{\sharp} Major} #}))
>((= tonic-semi 10) (set! key-name #{ \markup {A\raise #.8 \magnify #.8 
>{\sharp} Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>)
>  )
>  ((= accsign -1/2)
>(cond
>((= psn 6) (cond
>((= tonic-semi 5) (set! key-name #{ \markup {F Major} #}) (set! padd 1.4))
>((= tonic-semi 2) (set! key-name #{ \markup {D Minor} #}) (set! padd 1.7))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 2) (cond
>((= tonic-semi 10) (set! key-name #{ \markup {B\raise #.4 \magnify #.8 {\flat} 
>Major} #}))
>((= tonic-semi 7)  (set! key-name #{ \markup {G Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 5) (cond
>((= tonic-semi 3) (set! key-name #{ \markup {E\raise #.4 \magnify #.8 {\flat} 
>Major} #}))
>((= tonic-semi 0) (set! key-name #{ \markup {C Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 1) (cond
>((= tonic-semi 8) (set! key-name #{ \markup {A\raise #.4 \magnify #.8 {\flat} 
>Major} #}))
>((= tonic-semi 5) (set! key-name #{ \markup {F Minor} #}))
>(else (set! key-name #{\markup{}#}))
>))
>((= psn 4) (cond
>((= tonic-semi 1)  (set! key-name #{ \markup {D\raise #.4 \magnify #.8 {\flat} 
>Major} #}))
>((= tonic-semi 10) (set! ke

jianpu (numeric notes) lilypond transcribe?

2012-11-17 Thread MING TSANG
Hi, lilypond users:

Is is possible for lilypond code to produce the jianpu (numeric notes) shown on 
the .png file.   There is a namer.ly which will produce the jianpu, but the 
numeric notes are not associated with quarter-note, half-note, eight-note and 
differential octave. 

Appreciate, if anyone had done this to share.

 
Blessing in+,
ming.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Fw: jianpu (numeric notes) lilypond transcribe?

2012-11-19 Thread MING TSANG
Hi, Lily users:

I forgot to include namer.ly.

Here is the lily code:
 
numbr = #(make-engraver (acknowledgers
((note-head-interface engraver grob source)
(let* (
(context (ly:translator-context engraver))
(tonic-pitch (ly:context-property context 'tonic))
(tonic-index (ly:pitch-notename tonic-pitch))
(event (ly:grob-property grob 'cause))
(grob-pitch (ly:event-property event 'pitch))
(grob-index (ly:pitch-notename grob-pitch))
(delta (modulo (- grob-index tonic-index) 7))
(name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta))
(newgrob (ly:engraver-make-grob engraver 'TextScript event)))
(if (string= name "Hb")  (set! name "B"))
(set! (ly:grob-property newgrob 'text) name)
(set! (ly:grob-property newgrob 'direction) UP) 
 
Blessing in+,
Ming.

- Forwarded Message -
>From: MING TSANG 
>To: lilypond-usermailinglist  
>Sent: Saturday, November 17, 2012 4:48:37 PM
>Subject: jianpu (numeric notes) lilypond transcribe?
> 
>
>Hi, lilypond users:
>
>
>Is is possible for lilypond code to produce the jianpu (numeric notes) shown 
>on the .png file.   There is a namer.ly which will produce the jianpu, but the 
>numeric notes are not associated with quarter-note, half-note, eight-note and 
>differential octave. 
>
>
>Appreciate, if anyone had done this to share.
> 
>Blessing in+,
>ming.
>
>
><>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[no subject]

2012-11-21 Thread MING TSANG


 
Blessing in+,___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


UnquieContext3

2012-11-21 Thread MING TSANG
Hi, lily user:  sorry for my previous empty email - it is by accident.

verseBassVoice = \lyricmode {
He's always been faithful.
}

bassVoicePart = \new Staff \with {
instrumentName = "Bass"
} { \clef bass \bassVoice }
\addlyrics { \verseBassVoice }

The above code produce an error. What is the 'uniqueContext3'? Where can I find 
the error messages in the manual?


Starting lilypond.exe 2.17.7 [he's-always-been-faithful_SATB.ly]...
Processing 
`C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB.ly'
Parsing...
Interpreting music...
C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB.ly:244:11:
 warning: cannot find Voice `uniqueContext3'
\addlyrics 
{ \verseBassVoice }
[8][16][24][32][40][48][56][64][72][80][88][96][104][104]
Preprocessing graphical objects...
programming error: Object is not a markup.
continuing, cross fingers
programming error: Object is not a markup.
continuing, cross fingers
programming error: Object is not a markup.
continuing, cross fingers
Interpreting music...
C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB.ly:244:11:
 warning: cannot find Voice `uniqueContext3'
\addlyrics 
{ \verseBassVoice }
MIDI output to `he's-always-been-faithful_SATB.mid'...
Finding the ideal number of pages...
Fitting music on 5 or 6 pages...
Drawing systems...
Layout output to `he's-always-been-faithful_SATB.ps'...
Converting to `./he's-always-been-faithful_SATB.pdf'...
This object should be a markup: ()
This object should be a markup: ()
This object should be a markup: ()
Success: compilation successfully completed
Completed successfully in 10.8".


 
Blessing in+,
Ming
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: UnquieContext3

2012-11-21 Thread MING TSANG
Phil,

I have hard time creating scale down of codes that produce the error.  Here is 
the full .ly file. It has 274 lines.


 
Blessing in+,


>
> From: Phil Holmes 
>To: MING TSANG ; lilypond-usermailinglist 
> 
>Sent: Wednesday, November 21, 2012 1:06:56 PM
>Subject: Re: UnquieContext3
> 
>--- Original Message - From: MING TSANG
>To: lilypond-usermailinglist
>Sent: Wednesday, November 21, 2012 5:57 PM
>Subject: UnquieContext3
>
>
>Hi, lily user:  sorry for my previous empty email - it is by accident.
>
>
>verseBassVoice = \lyricmode {
>He's always been faithful.
>}
>
>
>bassVoicePart = \new Staff \with {
>instrumentName = "Bass"
>} { \clef bass \bassVoice }
>\addlyrics { \verseBassVoice }
>
>
>The above code produce an error. What is the 'uniqueContext3'? Where can I 
>find the error messages in the manual?
>
>=
>
>Compiling the code you've sent gives:
>
>error: unknown escaped string: `\bassVoice'
>
>Not surprising: you've not supplied this.  Could you supply some code that 
>demonstrates the error you have?
>
>--
>Phil Holmes 
>
>
>

he's-always-been-faithful_SATB.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: UnquieContext3

2012-11-21 Thread MING TSANG
Hi, Phil:

I forgot the \include.  Here I copy and paste for the .ly file.  I compile the 
.ly file and I did not get the "uniqueContext3" error.  Bur the programmer 
error  Object is not a markup.  continuing, cross fingers   is still there.

Starting lilypond.exe 2.17.7 [he's-always-been-faithful_SATB.ly]... 
Processing 
`C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB.ly'
Parsing...
Interpreting music...[8][16][24][32][40][48][56][64][72][80][88][96][104][104]
Preprocessing graphical objects...
programming error: Object is not a markup.
continuing, cross fingers
programming error: Object is not a markup.
continuing, cross fingers
programming error: Object is not a markup.
continuing, cross fingers
Interpreting music...
MIDI output to `he's-always-been-faithful_SATB.mid'...
Finding the ideal number of pages...
Fitting music on 5 or 6 pages...
Drawing systems...
Layout output to `he's-always-been-faithful_SATB.ps'...
Converting to `./he's-always-been-faithful_SATB.pdf'...
This object should be a markup: ()
This object should be a markup: ()
This object should be a markup: ()
Success: compilation successfully completed
Completed successfully in 12.4". 
Blessing in+,
Ming.


>
> From: Phil Holmes 
>To: MING TSANG ; lilypond-usermailinglist 
> 
>Sent: Wednesday, November 21, 2012 2:11:51 PM
>Subject: Re: UnquieContext3
> 
>- Original Message - From: MING TSANG
>To: Phil Holmes ; lilypond-usermailinglist
>Sent: Wednesday, November 21, 2012 6:16 PM
>Subject: Re: UnquieContext3
>
>
>Phil,
>
>I have hard time creating scale down of codes that produce the error.  Here is 
>the full .ly file. It has 274 lines.
>
>=
>
>I think you'll find it's not complete:
>
>error: cannot find file: `include_numbrUP.ly'
>
>--
>Phil Holmes
>
>
>
>
>
>

he's-always-been-faithful_SATB.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: roman numerals

2012-11-21 Thread MING TSANG
Hi, David,

It puzzles me.  I use my first generation ipod and I get the file.  But when I 
use 2 taptops (one using linus and one window 7) and desktop (window7) 
computers I got 404 error.  I use firefox on linux & desktop.  I use chrome on 
window laptop.

Is there any tech lily users have any ides?

Blessing in+,
Ming.


>
> From: David Nalesnik 
>To: MING TSANG  
>Cc: lilypond-user  
>Sent: Wednesday, November 21, 2012 6:12:52 PM
>Subject: Re: roman numerals
> 
>Hi Ming,
>
>On Wed, Nov 21, 2012 at 4:56 PM, MING TSANG  wrote:
>> I try to download rN.ly
>> from
>>
>> http://www.mail-archive.com/address@hidden/msg69861/rN.ly
>>
>>  and I got error 404.
>>
>
>I'm not sure why--I click on the link I gave in the other thread
>http://www.mail-archive.com/lilypond-user@gnu.org/msg69861/rN.ly
>and I get a page with the code.
>
>Here's the link to the email that the code is attached to.  Maybe
>you'll be able to get it that way?
>
>http://www.mail-archive.com/lilypond-user@gnu.org/msg69861.html
>
>I'm replying to the -user list because I'm sure that someone else will
>be able to tell you what's happening.
>
>Best,
>David
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: UnquieContext3

2012-11-21 Thread MING TSANG
Hi, Thomas & Phil:

I cut down the size of the .ly file - 157 lines.

I got the following error - now it complains "uniqueContext0"
I have both verseSopranoVoiceI  verseSopranoVoiceII coded; but the \addlyric 
complains not found.


Starting lilypond.exe 2.17.7 [he's-always-been-faithful_SATB_x.ly]...
Processing 
`C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB_x.ly'
Parsing...
Interpreting music...
C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB_x.ly:120:11:
 warning: cannot find Voice `uniqueContext0'
\addlyrics 
{ \verseSopranoVoiceI }
C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB_x.ly:121:11:
 warning: cannot find Voice `uniqueContext0'
\addlyrics 
{ \verseSopranoVoiceII }
[8][16][24]
Preprocessing graphical objects...
Interpreting music...
C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB_x.ly:120:11:
 warning: cannot find Voice `uniqueContext0'
\addlyrics 
{ \verseSopranoVoiceI }
C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB_x.ly:121:11:
 warning: cannot find Voice `uniqueContext0'
\addlyrics 
{ \verseSopranoVoiceII }
MIDI output to `he's-always-been-faithful_SATB_x.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `he's-always-been-faithful_SATB_x.ps'...
Converting to `./he's-always-been-faithful_SATB_x.pdf'...
Success: compilation successfully completed
Completed successfully in 1.5".
 
Blessing in+,


>
> From: Thomas Morley 
>To: MING TSANG  
>Cc: Phil Holmes ; lilypond-usermailinglist 
> 
>Sent: Wednesday, November 21, 2012 6:29:00 PM
>Subject: Re: UnquieContext3
> 
>2012/11/21 MING TSANG :
>> Phil,
>>
>> I have hard time creating scale down of codes that produce the error.  Here
>> is the full .ly file. It has 274 lines.
>
>Hi,
>
>and it makes no fun to work on such a large file.
>
>I strongly recommend to read or reread
>http://lilypond.org/doc/v2.16/Documentation/usage/troubleshooting
>
>Boiled down (following the linked procedures), your problem about
>`Object is not a markup.  continuing, cross fingers´
>fills one line:
>
>{ R1\fermata }
>
>Maybe now it's obvious.
>If not:
>http://lilypond.org/doc/v2.16/Documentation/notation-big-page#full-measure-rests
>
>Use \fermataMarkup
>
>
>-Harm
>
>
>

he's-always-been-faithful_x.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: UnquieContext3

2012-11-22 Thread MING TSANG
Hi, Thomas,

My apology attaching the wrong file.  Here is the right one.

Anyway after checking  closely about R2.\fermata, I change it to r2.^\fermata 
and the error disappear - compile without error and warning message.


Thank you.   Your time is not wasted - It did provide the help I need

 
Blessing in+,
Ming


>
> From: Thomas Morley 
>To: MING TSANG  
>Cc: Phil Holmes ; lilypond-usermailinglist 
> 
>Sent: Thursday, November 22, 2012 6:16:33 AM
>Subject: Re: UnquieContext3
> 
>2012/11/22 MING TSANG :
>> Hi, Thomas & Phil:
>>
>> I cut down the size of the .ly file - 157 lines.
>> I got the following error - now it complains "uniqueContext0"
>> I have both verseSopranoVoiceI  verseSopranoVoiceII coded; but the \addlyric
>> complains not found.
>> Starting lilypond.exe 2.17.7 [he's-always-been-faithful_SATB_x.ly]...
>> Processing
>> `C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB_x.ly'
>> Parsing...
>> Interpreting music...
>> C:/Users/Tsang/Dropbox/Lyndon/LiLy/he's-always-been-faithful/he's-always-been-faithful_SATB_x.ly:120:11:
>> warning: cannot find Voice `uniqueContext0'
>
>
>Your log is about file `he's-always-been-faithful_SATB_x.ly´
>You attached `he's-always-been-faithful_x.ly´
>
>If the two files aren't identical it's no surprise that I can't
>confirm or reproduce anything.
>It's only a waste of my time.
>
>.Harm
>
>
>

he's-always-been-faithful_SATB_x.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\repeat volta

2012-11-23 Thread MING TSANG
Hi, lily user,

The following lily code did not produce \bar"|:" at the beginning.


\version "2.17.7"
\relative c' {
\key c \major \time 6/8 
\bar"||:"  \repeat volta 2 {c4 e4. g8 | e8( d8) d4 r8 c8 | c4 e4. g8 | e2 r8 d8 
| 

} \alternative {{ c2. d2. } {d2. d2.}}  e4 e8 f4 f8 \bar"|."
}

The output is attached.
 
Blessing in+,<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: include header conflicts

2012-11-26 Thread MING TSANG
Hi,lily users: 


I try the following lily code as suggested in the email below  and I got 
error.  Then I change the version to "2.17.0"  (I have 2.17.7 installed), I got 
different error message. Appreciate if anyone can help. 


\version "2.16.0"
#(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})

The error:
Starting lilypond-windows.exe 2.16.1 [Untitled]...
Processing 
`c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly'
Parsing...
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:19:
 error: cannot find file: `jesus-love-me-this-i-know.ly'
(search path: 
`c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju;C:/Program 
Files (x86)/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/scm;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/ps;C:/Program Files 
(x86)/LilyPond/usr/share/lilypond/current/ly;C:/Users/Tsang/Dropbox/LP_includes;D:/LILY_POND;C:/Users/Tsang/Dropbox/Lyndon/LiLy/jesus-love-me-this-i-know;C:/Users/Tsang/Dropbox/Lyndon/LiLy/whispering-hope;C:/Users/Tsang/Dropbox/Lyndon/LiLy/the-lord-is-my-strength;')
\score { \include 
"jesus-love-me-this-i-know.ly" } 
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:50:
 error: syntax error, unexpected '}'
\score { \include "jesus-love-me-this-i-know.ly" 
} 
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:1: 
error: GUILE signaled an error for the expression beginning here
#
(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
variable is unbound: #>
fatal error: failed files: 
"c:\\users\\tsang\\appdata\\local\\temp\\frescobaldi-qrtpmf\\tmpxigjju\\document.ly"
Exited with return code 1.



Starting lilypond.exe 2.17.7 [Untitled]...
Processing 
`c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly'
Parsing...
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:19:
 error: cannot find file: `jesus-love-me-this-i-know.ly'
(search path: 
`c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/scm;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/ps;C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/ly;C:/Users/Tsang/Dropbox/LP_includes;D:/LILY_POND;C:/Users/Tsang/Dropbox/Lyndon/LiLy/jesus-love-me-this-i-know;C:/Users/Tsang/Dropbox/Lyndon/LiLy/whispering-hope;C:/Users/Tsang/Dropbox/Lyndon/LiLy/the-lord-is-my-strength;')
\score { \include 
"jesus-love-me-this-i-know.ly" } 
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:50:
 error: syntax error, unexpected '}'
\score { \include "jesus-love-me-this-i-know.ly" 
} 
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:0: 
error: error in #{ ... #}
#(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
c:/users/tsang/appdata/local/temp/frescobaldi-qrtpmf/tmpxigjju/document.ly:3:1: 
error: GUILE signaled an error for the expression beginning here
#
(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
Wrong type argument in position 1 (expecting Score): #
fatal error: failed files: 
"c:\\users\\tsang\\appdata\\local\\temp\\frescobaldi-qrtpmf\\tmpxigjju\\document.ly"
Exited with return code 1.


 Blessing in+,
Ming.


>
>
>Message: 5
>Date: Mon, 26 Nov 2012 07:49:45 +0100
>From: David Kastrup 
>To: lilypond-user@gnu.org
>Subject: Re: include header conflicts
>Message-ID: <8738zwkgdy@fencepost.gnu.org>
>Content-Type: text/plain
>
>Kieren MacMillan  writes:
>
>> Hello all!
>>
>> I've got an individual .ly file for each cue (song or orchestral
>> interlude) in my musical. I want to include them in a complete score
>> .ly file, but when I do that the header variables conflict (e.g., the
>> first or last 'title' or 'piece' value gets printed in the header of
>> all scores).
>
>You could suck the whole file into one score and get just the music back
>out again using ly:score-music, something like
>
>#(ly:score-music #{ \score { \include "xxx.ly" } #})
>
>The music will already be "scorified" (repeat chords expanded, \\
>replaced and other things), so you just need to add it to your book or
>whatever.
>
>-- 
>David Kastrup
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: include header conflicts

2012-11-26 Thread MING TSANG
Hi, Eluze,

I am running window 7 and frescobaldi v2.0.8.  The search path include the 
directory that contain the include .ly file.
 

Blessing in+,


>
> From: "lilypond-user-requ...@gnu.org" 
>To: lilypond-user@gnu.org 
>Sent: Monday, November 26, 2012 12:01:05 PM
>Subject: lilypond-user Digest, Vol 120, Issue 137
> 
>Send lilypond-user mailing list submissions to
>    lilypond-user@gnu.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>    https://lists.gnu.org/mailman/listinfo/lilypond-user
>or, via email, send a message with subject or body 'help' to
>    lilypond-user-requ...@gnu.org
>
>You can reach the person managing the list at
>    lilypond-user-ow...@gnu.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of lilypond-user digest..."
>
>
>Today's Topics:
>
>   1. Re:include header conflicts (Eluze)
>
>
>--
>
>Message: 1
>Date: Mon, 26 Nov 2012 07:58:23 -0800 (PST)
>From: Eluze 
>To: lilypond-user@gnu.org
>Subject: Re: include header conflicts
>Message-ID: <1353945503884-136877.p...@n5.nabble.com>
>Content-Type: text/plain; charset=us-ascii
>
>MING TSANG wrote
>please send logs as they are, just copy and paste what is there (don't  try
>to emphasize)!
>
>did you check if your file to include is in a folder listed in the /search
>path/?!
>
>what OS? in certain cases hyphens could be a problem, so it's better to
>choose names with only characters.
>
>Eluze
>
>
>
>
>
>
>--
>View this message in context: 
>http://lilypond.1069038.n5.nabble.com/include-header-conflicts-tp136849p136877.html
>Sent from the User mailing list archive at Nabble.com.
>
>
>
>--
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>End of lilypond-user Digest, Vol 120, Issue 137
>***
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: include header conflicts

2012-11-26 Thread MING TSANG
Hi, Tim & Eluze:

Thank you for making me double check the lily code below.  "the directory where 
the "jesus-love-me-this-i-know.ly" is in the search path.  See error log. This 
runs on window 7 with frescobaldi.


\version "2.16.0"
#(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})

Starting lilypond-windows.exe 2.16.1 [Untitled]... 
Processing 
`c:/users/tsang/appdata/local/temp/frescobaldi-ckghbk/tmpjyanhk/document.ly'
Parsing...
C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/ly/english.ly:23:0: 
error: syntax error, unexpected SCM_FUNCTION
\language "english"
c:/users/tsang/appdata/local/temp/frescobaldi-ckghbk/tmpjyanhk/document.ly:2:0: 
error: error in #{ ... #}
#(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
c:/users/tsang/appdata/local/temp/frescobaldi-ckghbk/tmpjyanhk/document.ly:2:1: 
error: GUILE signaled an error for the expression beginning here
#
(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
Wrong type argument in position 1 (expecting Score): #>
fatal error: failed files: 
"c:\\users\\tsang\\appdata\\local\\temp\\frescobaldi-ckghbk\\tmpjyanhk\\document.ly"
Exited with return code 1.





Starting lilypond.exe 2.17.7 [Untitled]...
Processing 
`c:/users/tsang/appdata/local/temp/frescobaldi-wunz52/tmpveni3n/document.ly'
Parsing...
C:/Users/Tsang/Dropbox/LilyPond/usr/share/lilypond/current/ly/english.ly:23:0: 
error: score expected
\language "english"
Exited with return code -1073741819. 
Blessing in+,
Ming.


>
>
>
>Message: 3
>Date: Mon, 26 Nov 2012 12:46:58 -0800
>From: Tim Roberts 
>To: "lilypond-user@gnu.org" 
>Subject: Re: include header conflicts
>Message-ID: <50b3d542.1050...@probo.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>MING TSANG wrote:
>>
>>
>> I try the following lily code as suggested in the email below  and I
>> got error.  Then I change the version to "2.17.0"  (I have 2.17.7
>> installed), I got different error message. Appreciate if anyone can help.
>>
>> \version "2.16.0"
>> #(ly:score-music #{ \score { \include "jesus-love-me-this-i-know.ly" } #})
>
>Are you SURE that's the file name?  Note that the actual title of the
>song has "loves" not "love, which would make the file name
>"jesus-loves-me-this-i-know.ly".
>
>-- 
>Tim Roberts, t...@probo.com
>Providenza & Boekelheide, Inc.
>
>-- next part --
>An HTML attachment was scrubbed...
>URL: 
><http://lists.gnu.org/archive/html/lilypond-user/attachments/20121126/1d5cfe96/attachment.html>
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problem of placing "\with {\consists #numbrUP}" on lilypond code

2012-12-11 Thread MING TSANG
Thank you for the info.  I will keep this in mind.

 
Blessing in+,
Ming


>
> From: Reinhold Kainhofer 
>To: MING TSANG  
>Cc: lilypond-usermailinglist  
>Sent: Tuesday, December 11, 2012 5:42:55 PM
>Subject: Re: problem of placing "\with {\consists #numbrUP}" on lilypond code
> 
>
>On 11/12/2012 23:24, MING TSANG wrote:
>
>I have a second problen:  When I code \nup on \new staff level.  numbered 
>pitch stack wrong for the last three note on T.B clef bass . Please refer to 
>png.   
>The reason is that there is no guarantee that at any given moment
the notes of the  first voice will be processed before the notes of
the second voice. In the second-to-last note, apparently the note of
the bass is processed before the note of the tenor, so the test
scripts are created the other way around...
>
>I don't think there is any way to handle this properly at the
staff-level...
>
>Cheers,
>Reinhold
>
>-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com * 
Financial & Actuarial Math., Vienna Univ. of Technology, Austria * 
http://www.fam.tuwien.ac.at/, DVR: 0005886 * Edition Kainhofer, Music 
Publisher, http://www.edition-kainhofer.com
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \bar"|:" & \bar":|"

2013-01-28 Thread MING TSANG
Federico:   Thank you for the info pertain to bar interface change.  I manually 
updated my .ly file.   
I am running frescobaldi - how do I run convert-ly using frescobaldi?  





From:Federico Bruni 
 
Subject: Re: \bar"|:" & \bar":|" 
Date: Tue, 29 Jan 2013 01:30:38 +0100 
User-agent: Mozilla/5.0 (X11; Linux i686;   rv:17.0) Gecko/20130107 
Thunderbird/17.0.2 
____

Il 29/01/2013 01:10, MING TSANG ha scritto: 
Hi, lily user' I coded   \bar"|:" and \bar":|" and the pdf does not print them. 
  What
am I did wrong in the code?   Help is appreciated.  I am running
v2.17.11   V2.16.2 works 
Hi Ming you should run convert-ly before using a new version. You would have 
found that the bar interface has changed, as you can also read here:
http://lilypond.org/doc/v2.17/Documentation/changes/index.html The new bar 
repeat names are ".|:" and ":|." Cheers
--
Federico 

 
Blessing in+,___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \bar"|:" & \bar":|"

2013-01-28 Thread MING TSANG
Paul:

Thank you.
I try tools menu  update with convert-ly & I got the following error from 
frescobaldi.

Blessing in+,
Ming.

Traceback (most recent call last):
File "C:\Program Files\Frescobaldi\frescobaldi_app\documentactions.py", line 
105, in convertLy
convert_ly.convert(self.mainwindow())
File "C:\Program Files\Frescobaldi\frescobaldi_app\convert_ly.py", line 53, in 
convert
dlg.run()
File "C:\Program Files\Frescobaldi\frescobaldi_app\convert_ly.py", line 203, in 
run
stderr = subprocess.PIPE)
File "c:\Python27\lib\subprocess.py", line 672, in __init__
File "c:\Python27\lib\subprocess.py", line 882, in _execute_child
TypeError: environment can only contain strings
 



>____
> From: Paul Morris 
>To: MING TSANG  
>Cc: Federico Bruni ; lilypond-usermailinglist 
> 
>Sent: Monday, January 28, 2013 9:29:39 PM
>Subject: Re: \bar"|:" & \bar":|"
> 
>On Jan 28, 2013, at 8:47 PM, MING TSANG  wrote:
>
>> how do I run convert-ly using frescobaldi?
>
>Hi Ming,  try:  
>
>Tools menu --> Update with convert-ly...
>
>HTH,
>-Paul
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re:\bar"|:" & \bar":|"

2013-01-29 Thread MING TSANG
Hi, Noeck:

I try \repeat volta 2 { ... } as suggested.  I have to put \bar".|:" before the 
first note.

Thank you also Paul & Federico 

Blessing in+,
Ming


>
> 
>Message: 4
>Date: Tue, 29 Jan 2013 09:00:34 +0100
>From: Noeck 
>To: lilypond-user@gnu.org
>Subject: Re: \bar"|:" & \bar":|"
>Message-ID: <510781a2.8020...@gmx.de>
>Content-Type: text/plain; charset=UTF-8
>
>
>
>Am 29.01.2013 01:10, schrieb MING TSANG:
>> Hi, lily user'
>> 
>> I coded   \bar"|:" and \bar":|" and the pdf does not print them. 
>
>You certainly can use convert-ly. But why not use
>  \repeat volta 2 { ? }
>instead of
>  \bar ".|: ? \bar ":|."
>?
>
>Cheers,
>Joram
>
>
>
>--
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


chord - missing 7

2013-02-22 Thread MING TSANG
Hi, lily users,

I have trouble displaying number 7 on a chord, but 9 is OK.  Please refer to 
.ly file

I also don't know how to code these chord ( refer to .png : G(add2) G(sus4) & 
A(add9) )


Thank you for the help and is much appreciated.

Ming.


test-chord.ly
Description: Binary data
<><><>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chord - missing 7

2013-02-22 Thread MING TSANG
Hi, Nathan:

Thank you for your solution code.  

  c1:3.5.9 c1:2.3.5 c1:sus4   >> what is 3.5.9  and 2.3.5?  I am not a musician.


Ming.



>
> From: Nathan 
>To: MING TSANG  
>Cc: lilypond-usermailinglist  
>Sent: Friday, February 22, 2013 11:52:14 AM
>Subject: Re: chord - missing 7
> 
>
>On Fri, Feb 22, 2013 at 7:29 AM, MING TSANG  wrote:
>
>Hi, lily users,
>>
>>
>>I have trouble displaying number 7 on a chord, but 9 is OK.  Please refer to 
>>.ly file
>>
>>
>>I also don't know how to code these chord ( refer to .png : G(add2) G(sus4) & 
>>A(add9) )
>>
>>
>>
>
>
>LilyPond already supports sus4, although it's not in parentheses. The code for 
>entering it is "c:sus4".
>
>
>To enter add2, add9, and other custom chords, use chord exceptions:
>
>
>chExceptionMusic = {
>  1-\markup \super "(add9)"
>  1-\markup \super "(add2)"
>  1-\markup \super "(sus4)"
>}
>
>
>chExceptions = #(append (sequential-music-to-chord-exceptions chExceptionMusic 
>#t) ignatzekExceptions)
>
>
>\score {
>  <<
>    \new ChordNames \chordmode {
>      c1 c1:3.5.9 c1:2.3.5 c1:sus4
>    }
>    \new Staff \relative c' {
>      c1 c1 c1 c1
>    }
>  >>
>  \layout {
>    \context {
>      \ChordNames
>      chordNameExceptions = #chExceptions
>    }
>  }
>}
>
>
>Regards,
>Nathan
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


final touches, but getting errors.

2013-03-17 Thread MING TSANG
Hi, 
I am also new to lilypond. I spot typo error on line 181.  The code should be 
\bar"I"  not \bar"\".  I make change and it compiles.
Ming.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tie between voice & transpose a to g

2013-04-11 Thread MING TSANG
Tim Roberts,
Thank you for the info.  I always transpose a whole song that contains only a 
key signature.  The is the first time I transpose a song with two key 
signatures. Thank you for your info. 
Ming. 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tie between voice & transpose a to g

2013-04-11 Thread MING TSANG
Hi, Thomas:

Thank you for the work-a-round. It displays great - true to the original.  
Thank You.

Blessing,
Ming.



>
> From: Thomas Morley 
>To: MING TSANG  
>Cc: lilypond-usermailinglist  
>Sent: Thursday, April 11, 2013 7:52:41 PM
>Subject: Re: tie between voice & transpose a to g
> 
>
>2013/4/11 MING TSANG :
>> (hope this time the email will not be rejected by lilypond-owner}
>>
>> Hi lily user:
>>
>> I have a hard time coding cross voice tie.  I end up of spliting the chord
>> into two voices. Please refer to pdf and .ly files.
>> 1. How can I code so that it will be the same as ~original.png
>
>
>A workaround;
>
>
>\version "2.16.2"
>
>\relative c' {
>    \key a\major
>    \clef bass
>    << {
>           \voiceTwo
>           \tieNeutral
>           < a fis' >1~
>           < a d fis>2
>       }
>       \\
>       {
>              \voiceFour
>              \tieUp
>              \once \override NoteColumn #'force-hshift = #1.2
>                   e'4 d2.~
>           \tweak NoteColumn #'ignore-collision ##t
>           \tweak #'X-extent #'(-0.1 . 0)
>           \tweak #'transparent ##t
>           \tweak Stem #'stencil ##f
>           d2
>       }
>    >>
>        
>}
>
>Though, I really hope someone comes up with a better solution.
>
>Cheers,
>  Harm
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


warning in midi

2013-04-13 Thread MING TSANG
Hi, lily users:

I added crescendo to a song and I got the warning message. The PDF output 
correctly.  What can I do to eliminated the warning message.

Thanks for your help.
Ming

C:/Users/Gladys Tsang/Documents/My 
Dropbox/Lyndon/LiLy/this-is-the-day/this-is-the-day_transpose-AG_ED.ly:24:19: 
warning: (De)crescendo with unspecified starting volume in MIDI.
r2 \times 2/3{ a4
^\< d4 e4^\! } | fs2.^\f e8 d8 | e4.^- a,8 a2~^\> | a4^\! fs4^\mf b4 b4 | \bk   
% 17-20 ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: warning in midi

2013-04-13 Thread MING TSANG
MING TSANG wrote
>I added crescendo to a song and I got the warning message. The PDF output 
>>correctly.  What can I do to eliminated the warning message. > > 
>>C:/Users/Gladys Tsang/Documents/My 
>>Dropbox/Lyndon/LiLy/this-is-the-day/this-is-the-day_transpose-AG_ED.ly:24:19: 
>>warning: (De)crescendo with unspecified starting volume in MIDI. >r2 \times 
>2/3{ a4 >^\< d4 e4^\! } | fs2.^\f e8 d8 | e4.^- a,8 a2~^\> | a4^\! fs4^\mf b4 
>b4 | >\bk   % 17-20  please post the full code which compiles and shows the 
>error/warning
also add the version you are using! Eluze

Hi, Eluze:  

Here is the full code. The error log is copy below.

Thanks,
Ming.

Starting lilypond.exe 2.16.2 [this-is-the-day_transpose-AG_ED.ly]...
Processing `C:/Users/Gladys Tsang/Documents/My 
Dropbox/Lyndon/LiLy/this-is-the-day/this-is-the-day_transpose-AG_ED.ly'
Parsing...
Interpreting music...[8][16]
Preprocessing graphical objects...
Interpreting music...
C:/Users/Gladys Tsang/Documents/My 
Dropbox/Lyndon/LiLy/this-is-the-day/this-is-the-day_transpose-AG_ED.ly:62:20: 
warning: (De)crescendo with unspecified starting volume in MIDI.
r2 \times 2/3 {fs4
_\< a4 fs4_\!} | a2_\f( b4) b8 b8 | b4._- cs8 cs2_\>~ | cs4_\! a4_\mf fs4 fs4 | 
% 17-20
MIDI output to `this-is-the-day_transpose-AG_ED.mid'...
Finding the ideal number of pages...
Fitting music on 1 or 2 pages...
Drawing systems...
Layout output to `this-is-the-day_transpose-AG_ED.ps'...
Converting to `./this-is-the-day_transpose-AG_ED.pdf'...
Success: compilation successfully completed
Completed successfully in 41.7".\version "2.16.2" 
\language "english"
\include "include_lyndon-specific.ly"
ti="This is the Day"  %title
  st = "Psalm "   %subtitle
  sst = ""
  sy=0   \include "include_paper-header-footer-filename-footnote.ly" 
\header {}
#(set-global-staff-size 18.0)   %default 25
global = {
  \key a \major
  \numericTimeSignature
  \time 2/2
   \tempo "Brightly " 2=60 
}

soprano =  \relative c' { 
  \global
  \override Score.BarNumber #'stencil = #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
  r1 r1 r1 r1 |\bk
  cs2\mf e4. a8 | d,1 | r4 cs4 e4 a8 a8 | b4. cs8 e,2 |\bk		% 05-08
  r2 \times 2/3{ e4 a4 b4 } | d2. cs8 a8 | b4. fs8 fs2 | r1 |\bk 	% 09-12
  cs2\mf e4. a8 | d,1 | r4 cs4 e4 a8 a8 | \times 2/3{ d4 cs4 b4~ } b4. r8 |\bk 	% 13-16
  r2 \times 2/3{ a4^\< d4 e4^\! } | fs2.^\f e8 d8 | e4.^- a,8 a2~^\> | a4^\! fs4^\mf b4 b4 | \bk 	% 17-20
  %\transpose e d 
  \key e\major b1 | r1  | %\time 3/2 r2 r2 r2|\bk		% 21-23
  %r1 r2 | \time 2/2 r1 |\bk 	% 24-25
  %r1  | \time 3/4 r2. |\bk 	% 26-28
  %\time 3/2 gs4. fs \time 3/2 gs4 b4 a2 | \time 2/2 gs4. fs8 gs4 b4 | \time 3/2 ds4. e8 cs2 b4 a4 |\bk		% 29-31
  \label #'lastPage 
}

alto =  \relative c' {
  \global
  s1 s1 s1 s1		% 01-04
  s1 s1 s1 s1		% 05-08
  s1 s1 s1 s1		% 09-12
  cs2 e4. a8 | d,1 | r4 cs4 e4 a8 a8 | \times 2/3{ g!4 g4 g4~ } g4. r8 |		% 13-16
  r2 \times 2/3  {a4 fs4 a4}  | fs2( gs?4) gs8 gs8 | gs4._- e8 e2~ | e4 e4 e4 ds4 |	% 17-20 
  \key e\major e1 | r1 |	% 21-22
}

tenor =  \relative c { 
  \global
  r1 r1 r1 r1 |		% 01-04
  r1 r1 r1 r1 |		% 05-08
  r1 r1 r1 r1 |		% 09-12
  cs2 e4. a8 | d,1 | r4 cs4 e4 a8 a8 | \times 2/3{ b4 cs4 d4~ } d4. r8 | 	% 13-16
  r2 \times 2/3{ d4 d4 d4 } | d2. d8 d8 | cs4.^- cs8 cs2~ | cs4 cs4 gs4 a4 |		% 17-20
  %\transpose e d
  \key e\major   gs1 | r2 r4 fs4 | %\time 3/2 gs4. fs8 gs4 b4 a2 |	% 21- 23  
  %e4. ds8 e4 gs4 b2 | \time 2/2 e,4. ds8 e4 gs4 |\bk	% 24-25
  %\times 2/3{ ds'4 cs4 b4 } cs2 | a4. gs8 a4 cs4 | \times 3/4 a2 r4 | 		% 26-28
}

bass =  \relative c {
  \global
  s1 s1 s1 s1 	% 01-04
  s1 s1 s1 s1 	% 05-08
  s1 s1 s1 s1 	% 09-12
  cs2 e4. a8 | d,1 | r4 cs4 e4 a8 a8 | \times 2/3 {a4 a4 a4~} a4. r8 | 		% 13-16
  r2 \times 2/3 {fs4_\< a4 fs4_\!} | a2_\f( b4) b8 b8 | b4._- cs8 cs2_\>~ | cs4_\! a4_\mf fs4 fs4 |	% 17-20
  \key e\major e1 | r2 r4 fs4 | 	% 21-22
}

verse = \lyricmode { 
  This is the day. the day which the Lord hath made 
  we will re -- joice and be glad in it.
  This is the day, the day which the  Lord hath made;
  we will re -- joice and be glad in it. this is the 
  day 
  
  Praise him sun and moon; praise him, all ye stars and light,  let them
  praise the Name of the Lord; For
  he shall give his an -- gels charge o -- ver thee;
}
verseTenor = \lyricmode {
 % O praise the Lord of heav'n
 % praise  him in the height. Praise him, all ye
 % an -- gels of his; praise him, all his host.
}

%{
rehearsalMidi = #
(define-music-function
 (parser location name midiInstrument lyrics) (string? string? ly:music?)
 #{
   \unfoldRepeats <<
 \new Staff = "soprano" \new Voice = "soprano" { s1*0\f \soprano }
 \new Staff = "alto" \new Voice = "alto" { s1*0\f \alto 

programming error - grob's vertical axis

2013-04-18 Thread MING TSANG
Hi, lily users:

I compile a .ly file and got the following programming error.  I don't know how 
to resolve it. There is no reference line number that I can look at the code. 
There are 7 error messages - is that mean there are 7 places where the code is 
wrong?  The pdf seems ok.


Starting lilypond.exe 2.17.16 [holy-moment.ly]...
Processing `C:/Users/Tsang/Dropbox/Lyndon/LiLy/holy-moment/holy-moment.ly'
Parsing...
Interpreting music...
Interpreting music...
Interpreting music...[8][16][24][32][40][48]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `holy-moment.mid'...
Finding the ideal number of pages...
Fitting music on 3 or 4 pages...
Drawing systems...
programming error: could not find this grob's vertical axis group in the 
vertical alignment
continuing, cross fingers
programming error: could not find this grob's vertical axis group in the 
vertical alignment
continuing, cross fingers
programming error: could not find this grob's vertical axis group in the 
vertical alignment
continuing, cross fingers
programming error: could not find this grob's vertical axis group in the 
vertical alignment
continuing, cross fingers
programming error: could not find this grob's vertical axis group in the 
vertical alignment
continuing, cross fingers
programming error: could not find this grob's vertical axis group in the 
vertical alignment
continuing, cross fingers
programming error: could not find this grob's vertical axis group in the 
vertical alignment
continuing, cross fingers
Layout output to `holy-moment.ps'...
Converting to `./holy-moment.pdf'...
Success: compilation successfully completed
Completed successfully in 18.2".___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Is it possible to adapt Numbers as easy note heads [0.07143] to solfege ( d r m f s l t)?

2013-04-29 Thread MING TSANG
Hi lily users:

I like to print solfege ( d r m f s l t) on to the note-head.  The following 
snippet print numbers onto the note-head. Is it possible to adapt the following 
snippet to print solfege onto the note-head?

Thank for the help,
Ming.


Numbers as easy note heads [0.07143] - snippet

\version "2.16.2"
#(define Ez_numbers_engraver
(list
(cons 'acknowledgers
(list
(cons 'note-head-interface
(lambda (engraver grob source-engraver)
(let* ((context (ly:translator-context engraver))
(tonic-pitch (ly:context-property context 'tonic))
(tonic-name (ly:pitch-notename tonic-pitch))
(grob-pitch
(ly:event-property (event-cause grob) 'pitch))
(grob-name (ly:pitch-notename grob-pitch))
(delta (modulo (- grob-name tonic-name) 7))
(note-names
(make-vector 7 (number->string (1+ delta)
(ly:grob-set-property! grob 'note-names
note-names
EzNum = {
\easyHeadsOn
\override Staff.StaffSymbol #'staff-space = #1.5 %1.4
\override Staff.StaffSymbol #'line-thickness = #1.5   %1.4
\override Staff.NoteHead #'font-size = #+3.2  %=3.0
\override Staff.Clef #'font-size = #+1.35%1.25
\override Staff.TimeSignature #'font-size = #+1.35   %1.25
\override Staff.Accidental #'font-size = #+1.35   %1.25
\override Voice.NoteHead #'font-size = #-5.25 %-5.0
}
global = \key f\major \time 4/4
mux =  \relative c' { \global \EzNum
c4 d e f g a b }
\score {
\new Staff   {  \mux}
\layout { 
\context { 
\Voice
\consists \Ez_numbers_engraver
}
}
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is it possible to adapt Numbers as easy note heads [0.07143] to solfege ( d r m f s l t)?

2013-04-29 Thread MING TSANG
Giles:

Thank you for the quick response.  "EzSolfegeEngraver" works wonderfully.  I 
did replace :
(solfege-base (circular-list "S" "O" "L" "F" "E" "G"  "E"))

with
(solfege-base (circular-list "d" "r" "m" "f" "s" "l" "t"))


Thank you very much.
Ming



>Message: 7
>Date: Tue, 30 Apr 2013 01:11:05 +0200
>From: Gilles 
>To: lilypond-user@gnu.org
>Subject: Re: Is it possible to adapt Numbers as easy note heads
>    [0.07143] to    solfege ( d r m f s l t)?
>Message-ID: 
>Content-Type: text/plain; charset=iso-8859-15; format=flowed;
>    delsp=yes
>
>
>> #(define EzSolfegeEngraver#(define EzSolfegeEngraver
>
>
>Oh sorry a copy-paste error.
>
>%
>#(define EzSolfegeEngraver
>    (list
>     (cons 'acknowledgers
>       (list
>        (cons 'note-head-interface
>          (lambda (engraver grob source-engraver)
>            (let* ((context (ly:translator-context
 engraver))
>                   (tonic-pitch (ly:context-property context 'tonic))
>                   (tonic-name (ly:pitch-notename tonic-pitch))
>                   (delta (- 7 tonic-name))
>                   (solfege-base (circular-list "S" "O" "L" "F" "E" "G"  
>"E"))
>                   (solfege (take (drop solfege-base delta) 7))
>                   (note-names (apply vector solfege)))
>              ; (display solfege)(newline)
>              (ly:grob-set-property! grob 'note-names
>                note-names
>EzNum = {
>  
 \easyHeadsOn
>   \override Staff.StaffSymbol #'staff-space = #1.5 %1.4
>   \override Staff.StaffSymbol #'line-thickness = #1.5 %1.4
>   \override Staff.NoteHead #'font-size = #+3.2 %=3.0
>   \override Staff.Clef #'font-size = #+1.35 %1.25
>   \override Staff.TimeSignature #'font-size = #+1.35 %1.25
>   \override Staff.Accidental #'font-size = #+1.35 %1.25
>   \override Voice.NoteHead #'font-size = #-5.25 %-5.0
>}
>
>global = {  \key c\major \time 4/4 }
>mux = \relative c' { \global \EzNum
>                      c4 d e f g a b4 r
>                      \key f\major
>                      f g a bes c d e r
>                      \key g\major
>     
                 g, a b c d e fis r
>}
>
>\score {
>   \new Staff { \mux}
>   \layout {
>     \context {
>       \Voice
>       \consists \EzSolfegeEngraver
>     }
>   }
>}
>
>%%
>
>-- 
>Gilles
>
>
>
>--
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>End of lilypond-user Digest, Vol 125, Issue 152
>***
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


lilydoc-2.17.17.pdf

2013-05-01 Thread MING TSANG
From: Nick Payne 
Subject: Re: Newbie problems 
Date: Tue, 16 Apr 2013 06:38:03 +1000 
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 
Thunderbird/17.0.5 


Hi Nick,  
>
>
>I don't know if you generated lilypond fully indexed PDF portfolio?  Will  
>v2.17.17 be available soon or where can I find it if it is available?   Google 
>search find lilydoc-2.17.16.pdf but not lilydoc-2.17.17.pdf.
>
>
>I find the lilydoc-2.17.16.pdf portfolio very useful for finding pertain to 
>lilypond.
>
>
>Thanks,
>Ming
My habit with each new release of Lilypond is to create a fully indexed PDF 
portfolio from the various PDF manuals (extending.pdf, internals.pdf, 
learning.pdf, notation.pdf, snippets.pdf, usage.pdf, web.pdf), so that I can 
easily search across all manuals at once. The portfolio for the latest 
development version is here (56Mb in size):

https://www.dropbox.com/s/kmp05jee7icdfy6/Lilydoc-2.17.16.pdf

You need to use Adobe Reader 9 or later, as third party PDF readers can't cope 
with PDF portfolios.
 


reply via email to___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


lilydoc-2.17.17.pdf

2013-05-01 Thread MING TSANG
From: Nick Payne 
Subject: Re: Newbie problems 
Date: Tue, 16 Apr 2013 06:38:03 +1000 
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 
Thunderbird/17.0.5 


Hi Nick,  
>
>
>I don't know if you generated lilypond fully indexed PDF?  Will  v2.17.17
My habit with each new release of Lilypond is to create a fully indexed PDF 
portfolio from the various PDF manuals (extending.pdf, internals.pdf, 
learning.pdf, notation.pdf, snippets.pdf, usage.pdf, web.pdf), so that I can 
easily search across all manuals at once. The portfolio for the latest 
development version is here (56Mb in size):

https://www.dropbox.com/s/kmp05jee7icdfy6/Lilydoc-2.17.16.pdf

You need to use Adobe Reader 9 or later, as third party PDF readers can't cope 
with PDF portfolios.
 


reply via email to___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilydoc-2.17.17.pdf

2013-05-01 Thread MING TSANG
Thank you Nick.



>Date: Thu, 02 May 2013 07:51:15 +1000
>From: Nick Payne 
>To: MING TSANG 
>Cc: "lilypond-user@gnu.org" 
>Subject: Re: lilydoc-2.17.17.pdf
>Message-ID: <51818e53.9060...@internode.on.net>
>Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
>On 02/05/13 06:26, MING TSANG wrote:
>> *From*:     Nick Payne
>> *Subject*:     Re: Newbie problems
>> *Date*:     Tue, 16 Apr 2013 06:38:03 +1000
>> *User-agent*:     Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 
>> Thunderbird/17.0.5
>>
>>
>>> Hi Nick,
>>>
>>> I don't know if you generated lilypond fully indexed PDF portfolio? 
>>>  Will  v2.17.17 be available soon or where can I find it if it is 
>>> available?   Google search find lilydoc-2.17.16.pdf but not 
>>> lilydoc-2.17.17.pdf.
>>>
>>> I find the lilydoc-2.17.16.pdf portfolio very useful for finding 
>>> pertain to lilypond.
>>
>
>Yes, I did create it but forgot to upload it. Now available here (56Mb): 
>https://www.dropbox.com/sh/z268uzzrwd77o9f/cBb-4_Fx-P/Lilydoc-2.17.17.pdf
>-- next part --
>An HTML attachment was scrubbed...
>URL: 
><http://lists.gnu.org/archive/html/lilypond-user/attachments/20130502/8be75cb0/attachment.html>
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


numbered notes

2013-05-01 Thread MING TSANG
Hi lily user:

  Is it possible to modify the following code. I like to display notes in 
numbered equivalent. eg. key c\major
f   = 4 - if possible there is a "." below the number e.g. *
f'  =4 - e.g. 4
f'' =4 - if possible to display a "." on top of the number e.g.$
      
Thanks,
Ming.



\version "2.17.0"
\include "english.ly"
numbr = #(make-engraver (acknowledgers
((note-head-interface engraver grob source)
(let* (
(context (ly:translator-context engraver))
(tonic-pitch (ly:context-property context 'tonic))
(tonic-index (ly:pitch-notename tonic-pitch))
(event (ly:grob-property grob 'cause))
(grob-pitch (ly:event-property event 'pitch))
(grob-index (ly:pitch-notename grob-pitch))
(delta (modulo (- grob-index tonic-index) 7))
(name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta))
(newgrob (ly:engraver-make-grob engraver 'TextScript event)))
(set! (ly:grob-property newgrob 'text) name)
musicI= \relative c {\key c\major c4 d e f g a b2  |\break }
musicII= \relative c' {\key c\major c4 d e f g a b2  |\break }
musicIII = \relative c'' { \key c\major c4 d e f g a b2  |\break }
\score{
\new Staff \with {\consists #numbr }
  {\musicI \musicII  \musicIII}
\layout {}
}<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


lilypond scheme-sandbox

2013-05-02 Thread MING TSANG



Hi lily user:
I try lilypond scheme-sandbox.  The highlight did not correspond to what 
chapter 1 - scheme tutorial (extending.pdf) said: "2" is suppose displays on a 
line, but it is not.  Please refer to the copy of the run.

Thanks for the help,
Ming


Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Tsang>lilypond scheme-sandbox
GNU LilyPond 2.16.2
Processing `C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/ly/scheme
-sandbox.ly'
Parsing...
guile> (define a 2)
guile> a
2
guile> (display a)
2guile> (display a)(newline)
2guile>
guile> (display a)(display "\n")
2guile>
guile> (set! a 12345)
guile> a
12345
guile> (display a) (newline)
12345guile>
guile> (display a)(newline)
12345guile>
guile>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics and Punctuations Alignment Issue?

2013-05-02 Thread MING TSANG
Hi David:

Thank you for the align grob.

The chinese character is double byte.  Please refer to lyric d & f : 
correspondent Chinese character to d is ok but the Chinese character at f is 
off a bit.  Is it possible to make f the same as d?  The difference at d the 
'," is single byte while at f the "o" is double byte.

Thank you for your help.
Ming.



>Message: 4
>Date: Thu, 2 May 2013 13:25:12 -0500
>From: David Nalesnik 
>To: Jun Wang 
>Cc: "lilypond-user@gnu.org" 
>Subject: Re: Lyrics and Punctuations Alignment Issue?
>Message-ID:
>    
>Content-Type: text/plain; charset="utf-8"
>
>Oops,
>
>Attached wrong version.
>
>\version
 "2.16"
>
>#(define (align grob)
>  (let* ((stil (ly:grob-property grob 'stencil))
>         (stil-X (ly:stencil-extent stil X))
>         (text (ly:grob-property grob 'text))
>         (punct-R (char-set #\, #\" #\; #\! #\. #\space))
>         (punct-L (char-set #\"))
>         ; determine X-extent of text stencil without punctuation at end
>         (text-L (string-trim-right text punct-R))
>         (text-L-stil (grob-interpret-markup grob text-L))
>         (text-L-stil-X (ly:stencil-extent text-L-stil X))
>         (displacement (/ (- (cdr text-L-stil-X) (cdr stil-X)) 2))
>         ; determine X-extent of text stencil without punctuation at start
>         (text-R (string-trim text punct-L))
> 
        (text-R-stil (grob-interpret-markup grob text-R))
>         (text-R-stil-X (ly:stencil-extent text-R-stil X))
>         (displacement (+ displacement
>                          (/ (- (cdr stil-X) (cdr text-R-stil-X)) 2
>
>     (- (ly:self-alignment-interface::aligned-on-x-parent grob)
>        displacement)))
>
>\paper {
>  ragged-right = ##f
>}
>
>\relative c' {
>  \time 3/4 e4 e4. e8
>  d4 e d c2.
>}
>
>\addlyrics {
>  \override LyricText #'X-offset = #align
>  "\"\"\"I" am,, so
>  lone -- "ly!,\"" said "she    !!!\""
>}
>-- next part --
>An HTML attachment was scrubbed...
>URL: 
><http://lists.gnu.org/archive/html/lilypond-user/attachments/20130502/ab4ad73c/attachment.html>
>
>--
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>End of lilypond-user Digest, Vol 126, Issue 13
>**
>
>
><>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics and Punctuations Alignment Issue?

2013-05-02 Thread MING TSANG
Hi David,

Here is the .ly file that generates the png file in previous email.  This file 
is UTF-8 encoded.

Thank for looking the solution,
Ming. 



>
> From: David Nalesnik 
>To: MING TSANG  
>Cc: "lilypond-user@gnu.org"  
>Sent: Thursday, May 2, 2013 7:43:09 PM
>Subject: Re: Lyrics and Punctuations Alignment Issue?
> 
>
>
>Hi Ming,
>
>
>
>On Thu, May 2, 2013 at 6:04 PM, MING TSANG  wrote:
>
>Hi David:
>>
>>
>>Thank you for the align grob.
>>
>>
>>The chinese character is double byte.  Please refer to lyric d & f : 
>>correspondent Chinese character to d is ok but the Chinese character at f is 
>>off a bit.  Is it possible to make f the same as d?  The difference at d the 
>>'," is single byte while at f the "o" is double byte.
>>
>>
>>Thank you for your help.
>>Ming.
>
>
>I've worked with multiple byte characters before (with difficulty), and I 
>think I could help.  The way I dealt with them was to create a list of 
>characters to recognize.  (For reference: 
>http://www.mail-archive.com/lilypond-user@gnu.org/msg68583/example_%284%29.ly) 
> The method isn't pretty**
>
>
>In order for me to help, though, I'll need to see the file that created your 
>image.  What are the UTF-8 encodings of the special punctuation characters?
>
>
>**At one point, I was referred to the functions documented at 
>http://www.gnu.org/software/guile-gnome/docs/glib/html/Unicode-Manipulation.html#Unicode-Manipulation,
> which look like they would ease working with such characters.  However, I was 
>never able to figure out how to get these functions available to LilyPond.  
>Does anyone reading this know how it would be done?
>
>
>Thanks,
>David
>
>
>
>\version "2.16"

#(define (align grob)
  (let* ((stil (ly:grob-property grob 'stencil))
 (stil-X (ly:stencil-extent stil X))
 (text (ly:grob-property grob 'text))
 (punct-R (char-set #\, #\" #\; #\! #\. #\space))
 (punct-L (char-set #\"))
 ; determine X-extent of text stencil without punctuation at end
 (text-L (string-trim-right text punct-R))
 (text-L-stil (grob-interpret-markup grob text-L))
 (text-L-stil-X (ly:stencil-extent text-L-stil X))
 (displacement (/ (- (cdr text-L-stil-X) (cdr stil-X)) 2))
 ; determine X-extent of text stencil without punctuation at start
 (text-R (string-trim text punct-L))
 (text-R-stil (grob-interpret-markup grob text-R))
 (text-R-stil-X (ly:stencil-extent text-R-stil X))
 (displacement (+ displacement
  (/ (- (cdr stil-X) (cdr text-R-stil-X)) 2

 (- (ly:self-alignment-interface::aligned-on-x-parent grob)
displacement)))

\paper {
  ragged-right = ##f
}

\relative c' {
  \time 3/4 e4 e4. e8
  d4 e d c2.
}

\addlyrics {
  \override LyricText #'X-offset = #align
  "\"I" am so lone -- "ly,\"" said she
}
\addlyrics {
  \override LyricText #'X-offset = #align
  樂無  極! 寶  名, 貝  名。 啊?
}
\addlyrics {
  \override LyricText #'X-offset = #align
  a  b c d e  f g
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics and Punctuations Alignment Issue?

2013-05-03 Thread MING TSANG
David, 

Thank you very much.  I try to do two punctuation to the left, but I cannot 
make it work.  Any help is appreciated.  Please refer to "a" and "c" from the 
.png

Thank again,
Ming.



>
> From: David Nalesnik 
>To: Jun Wang  
>Cc: MING TSANG ; "lilypond-user@gnu.org" 
> 
>Sent: Friday, May 3, 2013 9:00:52 PM
>Subject: Re: Lyrics and Punctuations Alignment Issue?
> 
>
>
>Hi Ming and Jun,
>
>
>This should work for the special period character.  If there are any other 
>punctuation marks you need at the ends of words, add them as strings to the 
>variable called "punct-right."  Note: punctuation which goes to the left is 
>handled differently.  If you need additional characters, add them to the 
>variable "punct-L" as characters--i.e. preceded by #\
>
>
>If you need any multi-byte characters for punctuation which goes to the left, 
>the function will need to be adapted.  Easy enough to do--just let me know.
>
>
>HTH,
>David
>
>
>%
>\version "2.16"
>
>
>#(define (drop-punctuation-right str)
>  (let ((punct-right '("," ";" ":" "?" "\"" "'" "!" "。")))
>    (let loop ((elt punct-right))
>      (if (null? elt)
>          #f
>          (if (string-suffix? (car elt) str)
>              (string-drop-right str (string-length (car elt)))
>              (loop (cdr elt)))
>
>
>#(define (drop-all-punctuation-right str)
>  (let ((core (drop-punctuation-right str)))
>    (if core
>        (drop-all-punctuation-right core)
>        str)))
>
>
>#(define (align grob)
>  (let* ((stil (ly:grob-property grob 'stencil))
>         (stil-X (ly:stencil-extent stil X))
>         (text (ly:grob-property grob 'text))
>         (punct-L (char-set #\" #\`))
>         ; determine X-extent of text stencil without punctuation at end
>         (text-L (drop-all-punctuation-right text))
>         (text-L-stil (grob-interpret-markup grob text-L))
>         (text-L-stil-X (ly:stencil-extent text-L-stil X))
>         (displacement (/ (- (cdr text-L-stil-X) (cdr stil-X)) 2))
>         ; determine X-extent of text stencil without punctuation at start
>         (text-R (string-trim text punct-L))
>         (text-R-stil (grob-interpret-markup grob text-R))
>         (text-R-stil-X (ly:stencil-extent text-R-stil X))
>         (displacement (+ displacement
>                          (/ (- (cdr stil-X) (cdr text-R-stil-X)) 2
>
>
>     (- (ly:self-alignment-interface::aligned-on-x-parent grob)
>        displacement)))
>
>
>\paper {
>  ragged-right = ##f
>}
>
>
>\relative c' {
>  \time 3/4 e4 e4. e8
>  d4 e d c2.
>}
>
>
>\addlyrics {
>  \override LyricText #'X-offset = #align
>  "\"I" am so lone -- "ly,\"" said she
>}
>\addlyrics {
>  \override LyricText #'X-offset = #align
>  樂無  極! 寶  名, 貝  名。 啊?
>}
>\addlyrics {
>  \override LyricText #'X-offset = #align
>  a b c d e f g
>}
>
>\version "2.16"

#(define (drop-punctuation-right str)
  (let ((punct-right '("," ";" ":" "?" "]" ")" "!" "。"))) % I updated this line
(let loop ((elt punct-right))
  (if (null? elt)
  #f
  (if (string-suffix? (car elt) str)
  (string-drop-right str (string-length (car elt)))
  (loop (cdr elt)))

#(define (drop-all-punctuation-right str)
  (let ((core (drop-punctuation-right str)))
(if core
(drop-all-punctuation-right core)
str)))


#(define (drop-punctuation-left str)		%line 19   I added line 19 - 32  and change all -right to -left
  (let ((punct-left '("[" "(" )))		% I modify  
(let loop ((elt punct-left))
  (if (null? elt)
  #f
  (if (string-suffix? (car elt) str)
  (string-drop-left str (string-length (car elt)))
  (loop (cdr elt)))

#(define (drop-all-punctuation-left str)
  (let ((core (drop-punctuation-left str)))
(if core
(drop-all-punctuation-left core)
str)))	%line 32



#(define (align grob)
  (let* ((stil (ly:grob-property grob 'stencil))
 (stil-X (ly:stencil-extent stil X))
 (text (ly:grob-property grob 'text))
 (punct-L (char-set #\" #\`))
 ; determine X-extent of text stencil without punctuation at end
 (text-L (drop-all-punctuation-right text))
 (text-L-stil (grob-interpret-markup grob text-L))
 (text-L-stil-X (ly:stencil-extent tex

Re: Lyrics and Punctuations Alignment Issue?

2013-05-04 Thread MING TSANG
Jun, Thank you.  I add a few punctuation to your code.

David,  I don't know scheme. That's why I did a lousy job. I add few more 
punctuation to the Jun's latest code.  It works.

Thank you both. I have been looking this for a long time.

Ming.



>
> From: Jun Wang 
>To: David Nalesnik ; MING TSANG  
>Cc: "lilypond-user@gnu.org"  
>Sent: Saturday, May 4, 2013 7:28:46 AM
>Subject: RE: Lyrics and Punctuations Alignment Issue?
> 
>
>
> 
>Ming and David,
>
>
>I modified a bit more (see attached code), It seems to be working.
>
>
>Thanks
>Jun 
>
>
>
>
>Date: Fri, 3 May 2013 22:06:22 -0500
>Subject: Re: Lyrics and Punctuations Alignment Issue?
>From: david.nales...@gmail.com
>To: tsan...@rogers.com
>CC: wj1...@hotmail.com; lilypond-user@gnu.org
>
>
>Ming,
>
>
>
>
>
>
>
>On Fri, May 3, 2013 at 9:08 PM, MING TSANG  wrote:
>
>David, 
>>
>>
>>Thank you very much.  I try to do two punctuation to the left, but I cannot 
>>make it work.  Any help is appreciated.  Please refer to "a" and "c" from the 
>>.png
>
>
>As I explained in my email, if you need additional punctuation you need to add 
>it to the respective variables.
>
>
>--David
>
>%
\version "2.16"

#(define (drop-punctuation-right str)
  (let ((punct-right '("." "," ";" ":" "?" "!" "\"" "'" "。" "]" ")" "?" "!" "," ":" ";")))
(let loop ((elt punct-right))
  (if (null? elt)
  #f
  (if (string-suffix? (car elt) str)
  (string-drop-right str (string-length (car elt)))
  (loop (cdr elt)))

#(define (drop-all-punctuation-right str)
  (let ((core (drop-punctuation-right str)))
(if core
(drop-all-punctuation-right core)
str)))

#(define (drop-punctuation-left str)
  (let ((punct-left '("\"" "“" "[" "(")))
(let loop ((elt punct-left))
  (if (null? elt)
  #f
  (if (string-prefix? (car elt) str)
  (string-drop str (string-length (car elt)))
  (loop (cdr elt)))

#(define (drop-all-punctuation-left str)
  (let ((core (drop-punctuation-left str)))
(if core
(drop-all-punctuation-left core)
str)))


#(define (align grob)
  (let* ((stil (ly:grob-property grob 'stencil))
 (stil-X (ly:stencil-extent stil X))
 (text (ly:grob-property grob 'text))
 ; determine X-extent of text stencil without punctuation at end
 (text-L (drop-all-punctuation-right text))
 (text-L-stil (grob-interpret-markup grob text-L))
 (text-L-stil-X (ly:stencil-extent text-L-stil X))
 (displacement (/ (- (cdr text-L-stil-X) (cdr stil-X)) 2))
 ; determine X-extent of text stencil without punctuation at start
 (text-R (drop-all-punctuation-left text))
 (text-R-stil (grob-interpret-markup grob text-R))
 (text-R-stil-X (ly:stencil-extent text-R-stil X))
 (displacement (+ displacement
  (/ (- (cdr stil-X) (cdr text-R-stil-X)) 2

 (- (ly:self-alignment-interface::aligned-on-x-parent grob)
displacement)))

\paper {
  ragged-right = ##f
}

\relative c' {
  \time 3/4 e4 e4. e8
  d4 e d c d e
}

\addlyrics { \set stanza = "1. "
  \override LyricText #'X-offset = #align
  "\"I" am so lone -- "ly,\"" said she
}
\addlyrics { \set stanza = "2. "
  \override LyricText #'X-offset = #align
  [樂  極] (寶  名) 貝?  名。 啊:  明;  天!
}
\addlyrics { \set stanza = "3. "
  \override LyricText #'X-offset = #align
  a b c d e f g h i
}
\addlyrics { \set stanza = "4. "
  \override LyricText #'X-offset = #align
  (樂  極) "\"寶"  名 貝  名. 啊,  明?  天!
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics and Punctuations Alignment Issue?

2013-05-04 Thread MING TSANG
David, 

Yes, left and right  UTF-8 parenthese - UTF-8.

Thanks,
Ming



>
> From: David Nalesnik 
>To: MING TSANG  
>Cc: Jun Wang ; "lilypond-user@gnu.org" 
> 
>Sent: Saturday, May 4, 2013 4:05:37 PM
>Subject: Re: Lyrics and Punctuations Alignment Issue?
> 
>
>
>Ming,
>
>
>
>
>On Sat, May 4, 2013 at 11:16 AM, MING TSANG  wrote:
>
>Jun, Thank you.  I add a few punctuation to your code.
>>
>>
>>David,  I don't know scheme. That's why I did a lousy job. I add few more 
>>punctuation to the Jun's latest code.  It works.
>>
>>
>>Thank you both. I have been looking this for a long time.
>
>
>Nice to hear!  By the way, did you mean to add the parentheses at "a" and :b" 
>to your lists?
>
>
>-David 
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Fw: numbered notes

2013-05-09 Thread MING TSANG
Hi lily users:

Is it possible to adapt the following numbr (at end of this email) which 
display number notes to display additional info as to the following table?

Thanks in advance,
Ming. 

Whole (semibreve):  1 - - -Dotted whole:   1 - - - - -Double dotted: 1 
- - - - - - Half (minim):   1 -Dotted half:1 - -  
Double dotted: 1 - - · Quarter (crotchet): 1  Dotted quarter: 1·
 Double dotted: 1·· Eighth (quaver): 1 Dotted eighth: 1· Double 
dotted: 1·· 16th (semiquaver):  1 =


- Forwarded Message -
>From: MING TSANG 
>To: "lilypond-user@gnu.org"  
>Sent: Wednesday, May 1, 2013 10:17:42 PM
>Subject: numbered notes
> 
>
>
>Hi lily user:
>
>
>  Is it possible to modify the following code. I like to display notes in 
>numbered equivalent. eg. key c\major
>f   = 4 - if possible there is a "." below the number e.g. *
>f'  =4 - e.g. 4
>f'' =4 - if possible to display a "." on top of the number e.g.$
>      
>Thanks,
>Ming.
>
>
>
>
>
>
>\version "2.17.0"
>\include "english.ly"
>numbr = #(make-engraver (acknowledgers
>((note-head-interface engraver grob source)
>(let* (
>(context (ly:translator-context engraver))
>(tonic-pitch (ly:context-property context 'tonic))
>(tonic-index (ly:pitch-notename tonic-pitch))
>(event (ly:grob-property grob 'cause))
>(grob-pitch (ly:event-property event 'pitch))
>(grob-index (ly:pitch-notename grob-pitch))
>(delta (modulo (- grob-index tonic-index) 7))
>(name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta))
>(newgrob (ly:engraver-make-grob engraver 'TextScript event)))
>(set! (ly:grob-property newgrob 'text) name)
>musicI= \relative c {\key c\major c4 d e f g a b2  |\break }
>musicII= \relative c' {\key c\major c4 d e f g a b2  |\break }
>musicIII = \relative c'' { \key c\major c4 d e f g a b2  |\break }
>\score{
>\new Staff \with {\consists #numbr }
>  {\musicI \musicII  \musicIII}
>\layout {}
>}
>
><>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: numbered notes

2013-05-09 Thread MING TSANG
Hi, Jun:

Yes, I mean jianpu.   That web page was from Silas S. Brown.  He told me that 
jianpy.ly is accepting jianpu based on the table.  Lilypond will not display 
jianpu.  I was told if I want to have jianpu display together I have to enter 
the code twice, one with lilypond and one with jianpu.  I just want to enter 
lilypond code and have option to display jianpu without manually translates it.

Thanks,
Ming.



>
> From: Jun Wang 
>To: MING TSANG ; "lilypond-user@gnu.org" 
> 
>Sent: Thursday, May 9, 2013 7:30:04 PM
>Subject: RE: numbered notes
> 
>
>
> 
>Do you mean JianPu ?
>I came cross this before 
>http://people.ds.cam.ac.uk/ssb22/mwrhome/jianpu-ly.html
>
>
>Thanks
>Jun
>
>
>
>
>Date: Thu, 9 May 2013 15:43:43 -0700
>From: tsan...@rogers.com
>Subject: Fw: numbered notes
>To: lilypond-user@gnu.org
>
>
>Hi lily users:
>
>
>Is it possible to adapt the following numbr (at end of this email) which 
>display number notes to display additional info as to the following table?
>
>
>Thanks in advance,
>Ming. 
>
>
>Whole (semibreve):  1 - - -Dotted whole:   1 - - - - -Double dotted: 1 
>- - - - - - Half (minim):   1 -Dotted half:1 - -  
>Double dotted: 1 - - · Quarter (crotchet): 1  Dotted quarter: 1·   
>  Double dotted: 1·· Eighth (quaver): 1 Dotted eighth: 1· 
>Double dotted: 1·· 16th (semiquaver):  1 =
>
>
>- Forwarded Message -
>>From: MING TSANG 
>>To: "lilypond-user@gnu.org"  
>>Sent: Wednesday, May 1, 2013 10:17:42 PM
>>Subject: numbered notes
>> 
>>
>>
>>Hi lily user:
>>
>>
>>  Is it possible to modify the following code. I like to display notes in 
>>numbered equivalent. eg. key c\major
>>f   = 4 - if possible there is a "." below the number e.g. *
>>f'  =4 - e.g. 4
>>f'' =4 - if possible to display a "." on top of the number e.g.$
>>      
>>Thanks,
>>Ming.
>>
>>
>>
>>
>>
>>
>>\version "2.17.0"
>>\include "english.ly"
>>numbr = #(make-engraver (acknowledgers
>>((note-head-interface engraver grob source)
>>(let* (
>>(context (ly:translator-context engraver))
>>(tonic-pitch (ly:context-property context 'tonic))
>>(tonic-index (ly:pitch-notename tonic-pitch))
>>(event (ly:grob-property grob 'cause))
>>(grob-pitch (ly:event-property event 'pitch))
>>(grob-index (ly:pitch-notename grob-pitch))
>>(delta (modulo (- grob-index tonic-index) 7))
>>(name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta))
>>(newgrob (ly:engraver-make-grob engraver 'TextScript event)))
>>(set! (ly:grob-property newgrob 'text) name)
>>musicI= \relative c {\key c\major c4 d e f g a b2  |\break }
>>musicII= \relative c' {\key c\major c4 d e f g a b2  |\break }
>>musicIII = \relative c'' { \key c\major c4 d e f g a b2  |\break }
>>\score{
>>\new Staff \with {\consists #numbr }
>>  {\musicI \musicII  \musicIII}
>>\layout {}
>>}
>>
>>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


re; ANN: Frescobaldi 2.0.10

2013-05-12 Thread MING TSANG
I use the following link from the caption subject
http://code.google.com/p/lilykde/downloads/list


I got the following error message.
Frescobaldi Setup 2.0.10.exeUnknown network error.



Ming.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\repeat tremolo

2015-08-09 Thread MING TSANG
Hi lilyponder,
I am trying to code \repeat tremolo to produce the following IMAGE_0. All I get 
is missing slanted heavy lines.  How to code \repeat tremolo so that I can 
produce the same as the IMAGE_1. 
%start\version "2.18.2"
global = {  \key c \major  \time 4/4  \clef bass}
{\global  8^^ r8 r4 \grace { \tuplet 3/2{ c,16 e,16 g,16 } } q8^^ r8 r4 | 
%m80  \repeat tremolo 2 { c, c,,}  | %m81  8 r8 r2. %m82}%end
Immanuel,Ming
IMAGE_0


IMAGE_!


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \repeat tremolo

2015-08-09 Thread MING TSANG
Thomas,Thank you very much.Immanuel,Ming
  From: Thomas Morley 
 To: MING TSANG  
Cc: Lilypond-user Mailinglist  
 Sent: Sunday, August 9, 2015 8:53 AM
 Subject: Re: \repeat tremolo
   


2015-08-09 14:18 GMT+02:00 MING TSANG :



Hi lilyponder,
I am trying to code \repeat tremolo to produce the following IMAGE_0. All I get 
is missing slanted heavy lines.  How to code \repeat tremolo so that I can 
produce the same as the IMAGE_1. 
%start\version "2.18.2"
global = {  \key c \major  \time 4/4  \clef bass}
{\global  8^^ r8 r4 \grace { \tuplet 3/2{ c,16 e,16 g,16 } } q8^^ r8 r4 | 
%m80  \repeat tremolo 2 { c, c,,}  | %m81  8 r8 r2. %m82}%end
Immanuel,Ming
IMAGE_0


IMAGE_!

Try:

\version "2.19.24"

{
    \clef bass
    \once \override Beam.springs-and-rods = #ly:spanner::set-spacing-rods
    \once \override Beam.minimum-length = 8.5
    \once \override Beam.positions = #'(-4 . -5.5)
    \once \override Beam.gap = #2
    \repeat tremolo 16 { c,32 c,,}
}

HTH,
  Harm 



  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


missing glissando

2015-08-10 Thread MING TSANG
Lilyponders,
I code a "\override Glissando.style = #'trill", but there is no glissando 
display on staff
http://lilybin.com/05mbl7/1 


output from above snippet:


original score shown:

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: missing glissando

2015-08-10 Thread MING TSANG
Dominic,  Thank you very much for catching the missing "\arpeggio" command.I 
have always coding the chord - the "bottom note first". I notice the advantage 
in this case. Can I mixed coding "top note first" with "bottom note 
first"?Immanuel,Ming

| From: | Dominic |
| Subject: | Re: missing glissando |
| Date: | Mon, 10 Aug 2015 16:49:17 -0700 (MST) |

This will work:


/\version "2.18.2"
\language "english"
{
  \clef bass c2._> \override Glissando.style = #'trill c4 \glissando | %m81
  \clef treble 8 r2 \bar"|." %m82
  }/

You forgot to put the actual "\glissando" command. Also, I swapped the order
of the notes in the final chord so that the glissando would attach to the
upper note.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/missing-glissando-tp179449p179450.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OT: Beauty of programming languages

2015-09-12 Thread MING TSANG
I'm 68 years old and an IBM mainframe programmer using COBOL. Now retired.
I've been using Lilypond since v1.12. One of the reason I choose lilypond 
because it supports UTF-8 for lyrics. Now I am gladly using V2.18.2 and 
V2.19.26.
I sing in a choir.  Time and time, we were given photocopy music sheet and they 
are hard to read.  I started transcribe the photocopy music sheet by using 
lilypond for my own use.  Few months thereafter, choir member ask for printed 
copy of lilypond generated pdf. I am greatly obliged.    
Few months ago copyright subject come up. I bought a song book contains 10 STAB 
choir songs.  I transcribe one of them and use for whole choir. Is this legal?  
Immanuel,Ming. 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


download 2.19.28

2015-10-02 Thread MING TSANG
I try to download to-day and I got the following message.

Also it seem there there is no activity on user mailinglist.Immanuel,Ming

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: download 2.19.28

2015-10-03 Thread MING TSANG
I follow the link from brian Barker, I saw lots of entry for Oct 03.
BUT, on lilypond-user Archives I only see one entry on Oct 3 mark at 1.07 am
I receive the latest from subscription lilypond-user digest:
lilypond-user Digest, Vol 155, Issue 25

 

 From: Brian Barker 
 To: Ming Tsang  
 Sent: Saturday, October 3, 2015 8:53 AM
 Subject: Re: download 2.19.28
   
At 01:15 03/10/2015 +, you wrote:
>Also it seem there is no activity on user mailinglist.

Interestingly, most or all of these messages - including your own - 
have not appeared on the archive at lists.gnu.org, but they do appear at
http://www.mail-archive.com/lilypond-user@gnu.org/ .

Brian Barker - privately  



   
|   |
|   |   |   |   |   |
| lilypond-user Archiveslilypond-user ArchivesArchives are refreshed every 30 
minutes - for details, please visit the main index. You can also download the 
archives in mbox format. [All Lists] 2015-10:  [Date]  [Thread]  |
|  |
| View on lists.gnu.org | Preview by Yahoo |
|  |
|   |


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


code \acciaccatura e'8 broke the manual \break

2015-10-09 Thread MING TSANG
It didn't show up at lilypond-user Mailinglist.   Try again
- Forwarded Message -
  From: MING TSANG 
 To: Lilypond-user Mailinglist  
 Sent: Thursday, October 8, 2015 7:10 PM
 Subject: code \acciaccatura e'8 broke the manual \break
   
Dear lilyponders,
Please refer to .png.Is this a bug? How can I resolve it.


Attach is the lily file
Immanuel,Ming

  \version "2.19.28"
\language "english"



global = {
  \key d \major
  \numericTimeSignature
  \time 3/4
  \tempo "喜樂地,讚美地" 4=127
}

x = b'8\rest
z = b'4\rest
zi = d4\rest
ss➎➊   = { b'4 cs''4 d''4 |}
ss➎➋   = { a'2. |}
ss➎➌   = { b'4 a'4 fs'4 |}
ss➎➍   = { e'4 d'4 e'4 |}
sa➎➎   = { d'2. |}
sa➎➏   = R2.
sa➎➐   = R2.
sa➎➑   = R2.
sa➎➒   = R2.
sa➏➓   = R2.


soprano =   {
  \global
 r2.
  \ss➎➊   \ss➎➋   \ss➎➌   \ss➎➍   \sa➎➎   \break
  \sa➎➏   \sa➎➐   \sa➎➑   \sa➎➒   \sa➏➓   \break

}


r➄➀ = { <<{b'8( cs''8 d''8[ cs''8] d''8 e''8)}\\{fs'2.}>> |}
r➄➁ = { <<{fs''4 d''4 a'4}\\{a'4 fs'2}>> |}
r➄➂ = { \z 2 |}
r➄➃ = { \z 2 |}
r➄➄ = { \z d'8([ e'8] g'8 a'8) |}

r➄➅  = { 2. |}
r➄➅i = { \acciaccatura e'8  2. |}

r➄➆ = { 4( 4 4) |}
r➄➇ = { 2. |}
r➄➈ = \r➄➆
r➅➉ = { <<{e''4 d''8([ cs''8] a'8 e'8)}\\{g'2.}>> |}


right =   {
  
  \global
  r2.^\markup"no \grace or \acciaccatura with manual \break"
\r➄➀   \r➄➁   \r➄➂   \r➄➃   \r➄➄
\r➄➅   \r➄➆   \r➄➇   \r➄➈   \r➅➉
}



righti =   {
  
  \global
  r2.^\markup"Use \grace or \acciaccatura with manual \break - break no longer work "
\r➄➀   \r➄➁   \r➄➂   \r➄➃   \r➄➄
\r➄➅i   \r➄➆   \r➄➇   \r➄➈   \r➅➉
}

<<
\new Staff \soprano
\new Staff \right
>>

<<
\new Staff \soprano
\new Staff \righti
>>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: code \acciaccatura e'8 broke the manual \break

2015-10-10 Thread MING TSANG
Thank you Thomas & Jacques
  From: Thomas Morley 
 To: MING TSANG  
Cc: Lilypond-user Mailinglist  
 Sent: Saturday, October 10, 2015 5:19 AM
 Subject: Re: code \acciaccatura e'8 broke the manual \break
   


2015-10-10 4:35 GMT+02:00 MING TSANG :



It didn't show up at lilypond-user Mailinglist.   Try again
- Forwarded Message -
  From: MING TSANG 
 To: Lilypond-user Mailinglist  
 Sent: Thursday, October 8, 2015 7:10 PM
 Subject: code \acciaccatura e'8 broke the manual \break
   
Dear lilyponders,
Please refer to .png.Is this a bug? How can I resolve it.


Attach is the lily file
Immanuel,Ming

I'd say it's another instance of issue 34. Workaround is to synchronize 
acciaccatura/appogiatura/grace.

Tiny example below, sollution is commented:

<<
  {
    d'1 \break
    %\grace s8
    d'1 
  }
  {
    d'1 
    \acciaccatura d'8 
    d'1  
  }
>>


HTH,
  Harm 


  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


strange error message - cannot open .ly file

2015-10-29 Thread MING TSANG
Hi lilyponders:
Frecobaldi can open the file, yet when I hit to run lilypond, I got strange 
error message:
Starting lilypond-windows.exe 2.19.29 [06_prayer-willing_禱願.ly]...Processing 
`K://06_prayer-willing_�/�.ly'Parsing...warning: cannot open file: 
`K://06_prayer-willing_�/�.ly'K:/粤曲/06_prayer-willing_?願.ly:1: warning: no 
\version statement found, please add\version "2.19.29"for future 
compatibilitySuccess: compilation successfully completedCompleted successfully 
in 0.7".

The lily file ..\version "2.19.29"
\language "italiano"
\header {  title = "禱願"  subtitle = "Prayer Willing"  poet = "雨打芭蕉"  % Remove 
default LilyPond tagline  tagline = ##f}
\paper {  #(set-paper-size "letter")}
\layout {  \context {    \Voice    \consists "Melody_engraver"    \override 
Stem #'neutral-direction = #'()  }}
global = {  \key do \major  \numericTimeSignature  \time 2/4  \tempo 4=100}
chordNames = \chordmode {  \global  % Chords follow here.  }
melody = \relative do'' {  \global  mi''4. re8 |%m01  do8. re16 sol16 |%m02  }
verse = \lyricmode {  % Lyrics follow here.  }
\score {  <<    \new ChordNames \chordNames    \new Staff { \melody }    
\addlyrics { \verse }  >>  \layout { }  \midi { }}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: strange error message - cannot open .ly file

2015-10-30 Thread MING TSANG
Thank you David,simon, Jacques & Thomas:
Turn out it was the file name that cause the problem.As suggest by David, 1..  
I rename the .ly file not using any utf-8 code and it complies fine.2..  I 
change the first utf-8 character  "禱" to another "主" and the file complies fine 
as well3.. the file name with utf-8 "禱" when comply generate the strange error 
-- no version statement found.
Question:  can be be resolved? Or nothing we can do?
Immanuel,ming. 
  From: David Wright 
 To: MING TSANG  
Cc: Lilypond-user Mailinglist  
 Sent: Friday, October 30, 2015 9:38 AM
 Subject: Re: strange error message - cannot open .ly file
   
On Fri 30 Oct 2015 at 00:01:44 (+), MING TSANG wrote:
> Hi lilyponders:

Hi, please post text, not HTML, and if you can't avoid that, please
post source code etc as attachments rather than inline.



> Frecobaldi can open the file, yet when I hit to run lilypond, I got strange
> error message:
> 
> Starting lilypond-windows.exe 2.19.29 [06_prayer-willing_禱願.ly]...
> Processing `K://06_prayer-willing_�/�.ly'
> Parsing...
> warning: cannot open file: `K://06_prayer-willing_�/�.ly'
> K:/粤曲/06_prayer-willing_?願.ly:1: warning: no \version statement found,
> please add
> \version "2.19.29"
> for future compatibility
> Success: compilation successfully completed
> Completed successfully in 0.7".

Well I can't see any evidence that LP compiled anything: nothing of
any substance occurs before the "Success" line.

So it looks as if your filenames are defeating either the operating
system or the application that you're using. It might be worth using
filenames containing only ASCII characters to see if the problem
goes away. Using Unicode *within* the source should be OK: I get some
likely-looking glyphs when I compile your source in 2.18.2.

Cheers,
David.


  \version "2.19.30"

\language "italiano"

\header {
  title = "禱願"
  subtitle = "Prayer Willing"
  poet = "雨打芭蕉"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper {
  #(set-paper-size "letter")
}

\layout {
  \context {
\Voice
\consists "Melody_engraver"
\override Stem #'neutral-direction = #'()
  }
}

global = {
  \key do \major
  \numericTimeSignature
  \time 2/4
  \tempo 4=100
}

chordNames = \chordmode {
  \global
  % Chords follow here.
  
}

melody =   {
  \global
  mi''4. re''8 |%m01
  do''8 re''16 sol''16 mi''16 re''16 mi''16 sol''  |%m02
  
}

verse = \lyricmode {
  % Lyrics follow here.
  
}

\score {
  <<
\new ChordNames \chordNames
\new Staff { \melody }
\addlyrics { \verse }
  >>
  \layout { }
  \midi { }
}
\version "2.19.30"

\language "italiano"

\header {
  title = "禱願"
  subtitle = "Prayer Willing"
  poet = "雨打芭蕉"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper {
  #(set-paper-size "letter")
}

\layout {
  \context {
\Voice
\consists "Melody_engraver"
\override Stem #'neutral-direction = #'()
  }
}

global = {
  \key do \major
  \numericTimeSignature
  \time 2/4
  \tempo 4=100
}

chordNames = \chordmode {
  \global
  % Chords follow here.
  
}

melody =   {
  \global
  mi''4. re''8 |%m01
  do''8 re''16 sol''16 mi''16 re''16 mi''16 sol''  |%m02
  
}

verse = \lyricmode {
  % Lyrics follow here.
  
}

\score {
  <<
\new ChordNames \chordNames
\new Staff { \melody }
\addlyrics { \verse }
  >>
  \layout { }
  \midi { }
}
\version "2.19.30"

\language "italiano"

\header {
  title = "禱願"
  subtitle = "Prayer Willing"
  poet = "雨打芭蕉"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper {
  #(set-paper-size "letter")
}

\layout {
  \context {
\Voice
\consists "Melody_engraver"
\override Stem #'neutral-direction = #'()
  }
}

global = {
  \key do \major
  \numericTimeSignature
  \time 2/4
  \tempo 4=100
}

chordNames = \chordmode {
  \global
  % Chords follow here.
  
}

melody =   {
  \global
  mi''4. re''8 |%m01
  do''8 re''16 sol''16 mi''16 re''16 mi''16 sol''  |%m02
  
}

verse = \lyricmode {
  % Lyrics follow here.
  
}

\score {
  <<
\new ChordNames \chordNames
\new Staff { \melody }
\addlyrics { \verse }
  >>
  \layout { }
  \midi { }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Invalid UTF-8 string passed to pango_layout_set_text()

2015-11-12 Thread MING TSANG
Hi, lilyponders:
I ran the attach file and got the following.Question: can this be solved? How? 
Appreciate help given.
Starting lilypond.exe 2.19.31 [test_ymt-曾煒明.ly]...Processing 
`K:/LILY_POND/test_ymt-��.ly'Parsing...Interpreting music...Preprocessing 
graphical objects...Finding the ideal number of pages...(lilypond.exe:1892): 
Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'Fitting music on 1 page...(lilypond.exe:1892): 
Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'(lilypond.exe:1892): Pango-WARNING **: Invalid 
UTF-8 string passed to pango_layout_set_text()warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'(lilypond.exe:1892): Pango-WARNING 
**: Invalid UTF-8 string passed to pango_layout_set_text()warning: no glyph for 
character U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for 
character U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for 
character U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for 
character U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for 
character U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for 
character U+FFFD in font `C:/Windows/fonts/times.ttf'Drawing 
systems...(lilypond.exe:1892): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'warning: no glyph for character U+FFFD in font 
`C:/Windows/fonts/times.ttf'(lilypond.exe:1892): Pango-WARNING **: Invalid 
UTF-8 string passed to pango_layout_set_text()warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'warning: no glyph for character 
U+FFFD in font `C:/Windows/fonts/times.ttf'Layout output to 
`./tmp-lilypond-Q4O2W4'...Converting to `test_ymt-��.pdf'...Deleting 
`./tmp-lilypond-Q4O2W4'...Success: compilation successfully completedCompleted 
successfully in 1.9".\version "2.19.31"


%\include "include_ymt.ily"
%filename
date = #(strftime "%Y-%m-%d" (localtime (current-time)))
#( define comml( object->string (command-line )))
#( define loc  ( + (string-rindex comml #\space ) 2 ))
#( define commllen ( - (string-length comml ) 2 ))
#( define filen( substring comml loc commllen ))
%%{
#(define (footnote-filename)
  (define (periodize i l)
(if (null? l) i (periodize (string-append i "." (car l)) (cdr l
  (let* ((comml (object->string (command-line)))
 (loc (+ (string-rindex comml #\space) 2))
 (commllen (- (string-length comml) 2))
 (filen (substring comml loc commllen))
 (filesplit (string-split filen #\.))
 (filehead (if (eq? 1 (length filesplit))
   (car filesplit)
   (periodize (car filesplit)
  (cdr (reverse (cdr (reverse filesplit
(string-append filehead ".ly")))

#(define filN (footnote-filename))
%
samplePath =
  #'((moveto 0 0)
 (lineto -1 3)
 (lineto -1 3)
 (lineto 1 1)
 (curveto 3 3 3 2 1 4)
 (closepath))

ymt = \ma

does not save file automatically after "run" lilypond "

2015-12-29 Thread MING TSANG
I run lilypond 2.19.34 with frescobaldi 2.18.2Upon exit frescobaldi ask to save 
file and I comply.  But pdf is not saved.   I saw a lot additional info that I 
did not see when running frescobaldi 2.18.1 and lilypond 2.19.34  Need help.

Starting lilypond-windows.exe 2.19.34 [eye-hath-not-seen.ly]...Processing 
`c:/users/user/appdata/local/temp/frescobaldi-sa6eb4/tmp_ief1m/eye-hath-not-seen.ly'Parsing...Interpreting
 music...MIDI output to `eye-haveath-not-seen-soprano.mid'...Interpreting 
music...c:/users/user/appdata/local/temp/frescobaldi-sa6eb4/tmp_ief1m/eye-hath-not-seen.ly:517:5:
 warning: cannot find Voice `alto'  \rehearsalMidi "alto" "soprano sax" 
\verseOneMIDI output to `eye-hath-not-seen-alto.mid'...Interpreting 
music...c:/users/user/appdata/local/temp/frescobaldi-sa6eb4/tmp_ief1m/eye-hath-not-seen.ly:525:5:
 warning: cannot find Voice `tenor'  \rehearsalMidi "tenor" "tenor sax" 
\verseOneMIDI output to `eye-hath-not-seen-tenor.mid'...Interpreting 
music...c:/users/user/appdata/local/temp/frescobaldi-sa6eb4/tmp_ief1m/eye-hath-not-seen.ly:533:5:
 warning: cannot find Voice `bass'  \rehearsalMidi "bass" "tenor sax" 
\verseOneMIDI output to `eye-hath-not-seen-bass.mid'...Interpreting 
music...[8][16][24][32][40][48][56][64][72][80]Preprocessing graphical 
objects...Interpreting music...MIDI output to `eye-hath-not-seen.mid'...Finding 
the ideal number of pages...Fitting music on 5 or 6 pages...Drawing 
systems...Layout output to `./tmp-lilypond-PI8z5c'...(list 'abs-fontsize-markup 
'auto-footnote-markup 'bold-markup 'box-markup 'bracket-markup 'caps-markup 
'center-align-markup 'center-column-markup 'circle-markup 
'column-lines-markup-list 'column-markup 'combine-markup 'concat-markup 
'conditional-circle-markup-markup 'dir-column-markup 'dynamic-markup 
'ellipse-markup 'fill-line-markup 'fill-with-pattern-markup 'finger-markup 
'first-visible-markup 'fontCaps-markup 'fontsize-markup 'footnote-markup 
'fraction-markup 'general-align-markup 'halign-markup 'hbracket-markup 
'hcenter-in-markup 'huge-markup 'italic-markup 'justified-lines-markup-list 
'justify-line-markup 'justify-markup 'large-markup 'larger-markup 
'left-align-markup 'left-column-markup 'line-markup 'lower-markup 
'magnify-markup 'map-markup-commands-markup-list 'medium-markup 
'normal-size-sub-markup 'normal-size-super-markup 'normal-text-markup 
'normalsize-markup 'number-markup 'on-the-fly-markup 'oval-markup 
'overlay-markup 'override-lines-markup-list 'override-markup 'overtie-markup 
'pad-around-markup 'pad-markup-markup 'pad-to-box-markup 'pad-x-markup 
'page-link-markup 'parenthesize-markup 'pattern-markup 'put-adjacent-markup 
'raise-markup 'replace-markup 'right-align-markup 'right-column-markup 
'roman-markup 'rotate-markup 'rounded-box-markup 'sans-markup 'scale-markup 
'small-markup 'smallCaps-markup 'smaller-markup 'sub-markup 'super-markup 
'teeny-markup 'text-markup 'tie-markup 'tiny-markup 'translate-markup 
'translate-scaled-markup 'transparent-markup 'typewriter-markup 
'underline-markup 'undertie-markup 'upright-markup 'vcenter-markup 
'whiteout-markup 'with-color-markup 'with-dimensions-markup 'with-link-markup 
'with-url-markup 'wordwrap-internal-markup-list 'wordwrap-lines-markup-list 
'wordwrap-markup)(list 'abs-fontsize-markup 'auto-footnote-markup 'bold-markup 
'box-markup 'bracket-markup 'caps-markup 'center-align-markup 
'center-column-markup 'circle-markup 'column-lines-markup-list 'column-markup 
'combine-markup 'concat-markup 'conditional-circle-markup-markup 
'dir-column-markup 'dynamic-markup 'ellipse-markup 'fill-line-markup 
'fill-with-pattern-markup 'finger-markup 'first-visible-markup 'fontCaps-markup 
'fontsize-markup 'footnote-markup 'fraction-markup 'general-align-markup 
'halign-markup 'hbracket-markup 'hcenter-in-markup 'huge-markup 'italic-markup 
'justified-lines-markup-list 'justify-line-markup 'justify-markup 'large-markup 
'larger-markup 'left-align-markup 'left-column-markup 'line-markup 
'lower-markup 'magnify-markup 'map-markup-commands-markup-list 'medium-markup 
'normal-size-sub-markup 'normal-size-super-markup 'normal-text-markup 
'normalsize-markup 'number-markup 'on-the-fly-markup 'oval-markup 
'overlay-markup 'override-lines-markup-list 'override-markup 'overtie-markup 
'pad-around-markup 'pad-markup-markup 'pad-to-box-markup 'pad-x-markup 
'page-link-markup 'parenthesize-markup 'pattern-markup 'put-adjacent-markup 
'raise-markup 'replace-markup 'right-align-markup 'right-column-markup 
'roman-markup 'rotate-markup 'rounded-box-markup 'sans-markup 'scale-markup 
'small-markup 'smallCaps-markup 'smallerConverting to 
`eye-hath-not-seen.pdf'...Deleting `./tmp-lilypond-PI8z5c'...-markup 
'sub-markup 'super-markup 'teeny-markup 'text-markup 'tie-markup 'tiny-markup 
'translate-markup 'translate-scaled-markup 'transparent-markup 
'typewriter-markup 'underline-markup 'undertie-markup 'upright-markup 
'vcenter-markup 'whiteout-markup 'with-color-markup 'with-dimensions-markup 
'wit

Re: does not save file automatically after "run" lilypond "

2015-12-30 Thread MING TSANG
hi, Jacques, Robert, Simon, David, Thomas, Michael Gerdau,Johan Vroman:
Thank you for the responses. It helps.  Now I save .ly file before execute 
lilypond - midi pdf files are saved.
Looking forward for lilypond v2.19.35
Immanuel,Ming
 

  From: Jacques Menu 
 To: MING TSANG  
Cc: Jacques Menu ; Lilypond-user Mailinglist 

 Sent: Wednesday, December 30, 2015 4:15 AM
 Subject: Re: does not save file automatically after "run" lilypond "
   
Hello Ming,
Can’t say without your LP source code.
JM

Le 30 déc. 2015 à 07:08, MING TSANG  a écrit :
I run lilypond 2.19.34 with frescobaldi 2.18.2Upon exit frescobaldi ask to save 
file and I comply.  But pdf is not saved.   I saw a lot additional info that I 
did not see when running frescobaldi 2.18.1 and lilypond 2.19.34  Need help.

Starting lilypond-windows.exe 2.19.34 [eye-hath-not-seen.ly]...Processing 
`c:/users/user/appdata/local/temp/frescobaldi-sa6eb4/tmp_ief1m/eye-hath-not-seen.ly'Parsing...Interpreting
 music...MIDI output to `eye-haveath-not-seen-soprano.mid'...Interpreting 
music...c:/users/user/appdata/local/temp/frescobaldi-sa6eb4/tmp_ief1m/eye-hath-not-seen.ly:517:5:
 warning: cannot find Voice `alto'  \rehearsalMidi "alto" "soprano sax" 
\verseOneMIDI output to `eye-hath-not-seen-alto.mid'...Interpreting 
music...c:/users/user/appdata/local/temp/frescobaldi-sa6eb4/tmp_ief1m/eye-hath-not-seen.ly:525:5:
 warning: cannot find Voice `tenor'  \rehearsalMidi "tenor" "tenor sax" 
\verseOneMIDI output to `eye-hath-not-seen-tenor.mid'...Interpreting 
music...c:/users/user/appdata/local/temp/frescobaldi-sa6eb4/tmp_ief1m/eye-hath-not-seen.ly:533:5:
 warning: cannot find Voice `bass'  \rehearsalMidi "bass" "tenor sax" 
\verseOneMIDI output to `eye-hath-not-seen-bass.mid'...Interpreting 
music...[8][16][24][32][40][48][56][64][72][80]Preprocessing graphical 
objects...Interpreting music...MIDI output to `eye-hath-not-seen.mid'...Finding 
the ideal number of pages...Fitting music on 5 or 6 pages...Drawing 
systems...Layout output to `./tmp-lilypond-PI8z5c'...(list 'abs-fontsize-markup 
'auto-footnote-markup 'bold-markup 'box-markup 'bracket-markup 'caps-markup 
'center-align-markup 'center-column-markup 'circle-markup 
'column-lines-markup-list 'column-markup 'combine-markup 'concat-markup 
'conditional-circle-markup-markup 'dir-column-markup 'dynamic-markup 
'ellipse-markup 'fill-line-markup 'fill-with-pattern-markup 'finger-markup 
'first-visible-markup 'fontCaps-markup 'fontsize-markup 'footnote-markup 
'fraction-markup 'general-align-markup 'halign-markup 'hbracket-markup 
'hcenter-in-markup 'huge-markup 'italic-markup 'justified-lines-markup-list 
'justify-line-markup 'justify-markup 'large-markup 'larger-markup 
'left-align-markup 'left-column-markup 'line-markup 'lower-markup 
'magnify-markup 'map-markup-commands-markup-list 'medium-markup 
'normal-size-sub-markup 'normal-size-super-markup 'normal-text-markup 
'normalsize-markup 'number-markup 'on-the-fly-markup 'oval-markup 
'overlay-markup 'override-lines-markup-list 'override-markup 'overtie-markup 
'pad-around-markup 'pad-markup-markup 'pad-to-box-markup 'pad-x-markup 
'page-link-markup 'parenthesize-markup 'pattern-markup 'put-adjacent-markup 
'raise-markup 'replace-markup 'right-align-markup 'right-column-markup 
'roman-markup 'rotate-markup 'rounded-box-markup 'sans-markup 'scale-markup 
'small-markup 'smallCaps-markup 'smaller-markup 'sub-markup 'super-markup 
'teeny-markup 'text-markup 'tie-markup 'tiny-markup 'translate-markup 
'translate-scaled-markup 'transparent-markup 'typewriter-markup 
'underline-markup 'undertie-markup 'upright-markup 'vcenter-markup 
'whiteout-markup 'with-color-markup 'with-dimensions-markup 'with-link-markup 
'with-url-markup 'wordwrap-internal-markup-list 'wordwrap-lines-markup-list 
'wordwrap-markup)(list 'abs-fontsize-markup 'auto-footnote-markup 'bold-markup 
'box-markup 'bracket-markup 'caps-markup 'center-align-markup 
'center-column-markup 'circle-markup 'column-lines-markup-list 'column-markup 
'combine-markup 'concat-markup 'conditional-circle-markup-markup 
'dir-column-markup 'dynamic-markup 'ellipse-markup 'fill-line-markup 
'fill-with-pattern-markup 'finger-markup 'first-visible-markup 'fontCaps-markup 
'fontsize-markup 'footnote-markup &

dingbat special characters of frescobaldi 18.2

2016-02-07 Thread MING TSANG
lilyponders:Recently I purchase a laptops with window 10 home version 
installed.  Anything I have to do in window 10 in order to have the same 
dingbats special character shown as in window 7?Immanuel,Ming



The special characters of dingbats in window 10 home version did not show as in 
window 7
dingbats special characters of frescobaldi 18.2 in window 7


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: dingbat special characters of frescobaldi 18.2

2016-02-07 Thread MING TSANG
Sorry, the frescobaldi version should be 1.18.1 for window 7 and 1.18.2 for 
window 10 home version.

  From: MING TSANG 
 To: Lilypond-user Mailinglist  
 Sent: Sunday, February 7, 2016 11:57 PM
 Subject: dingbat special characters of frescobaldi 18.2
   
lilyponders:Recently I purchase a laptops with window 10 home version 
installed.  Anything I have to do in window 10 in order to have the same 
dingbats special character shown as in window 7?Immanuel,Ming



The special characters of dingbats in window 10 home version did not show as in 
window 7
dingbats special characters of frescobaldi 18.2 in window 7




  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: dingbat special characters of frescobaldi 18.2

2016-02-07 Thread MING TSANG
Sorry again:   frescobaldi version is 2.18.1 in window 7and 2.18.2 in window 10 
home versionImmanuel,Ming

  From: MING TSANG 
 To: Lilypond-user Mailinglist  
 Sent: Monday, February 8, 2016 12:09 AM
 Subject: Re: dingbat special characters of frescobaldi 18.2
   
Sorry, the frescobaldi version should be 1.18.1 for window 7 and 1.18.2 for 
window 10 home version.

  From: MING TSANG 
 To: Lilypond-user Mailinglist  
 Sent: Sunday, February 7, 2016 11:57 PM
 Subject: dingbat special characters of frescobaldi 18.2
  
lilyponders:Recently I purchase a laptops with window 10 home version 
installed.  Anything I have to do in window 10 in order to have the same 
dingbats special character shown as in window 7?Immanuel,Ming



The special characters of dingbats in window 10 home version did not show as in 
window 7
dingbats special characters of frescobaldi 18.2 in window 7




   

  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


lilypond-windows.exc vs lilypond-exc

2016-02-22 Thread MING TSANG
Hi, lily ponders:
There is lilypond-windows.exc and lilypond.exc in \usr\bin.  What is the 
difference?  I have window 10 - which one should I use?
Immanuel,Ming___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-windows.exc vs lilypond-exc

2016-02-23 Thread MING TSANG
Helge:   Thank you for the explanation.
Phil:  Thank you for the link.  Since I am not running lilypond in command 
mode. I use frescobaldi as front  end to  execute lilypond.  I run both 
lilypond-windows.exc and lilypond.exc and I don't see any difference. I can see 
the log file under frescobaldi.
Immanuel,Ming  From: Phil Holmes 
 To: Helge Kruse ; MING TSANG  
Cc: Lilypond-user Mailinglist 
 Sent: Tuesday, February 23, 2016 4:02 AM
 Subject: Re: lilypond-windows.exc vs lilypond-exc
   
- Original Message - 
From: "Helge Kruse" 
To: "MING TSANG" 
Cc: "Lilypond-user Mailinglist" 
Sent: Tuesday, February 23, 2016 4:59 AM
Subject: Re: lilypond-windows.exc vs lilypond-exc


> There is lilypond.exe and lilypond-windows.exe in the Lilypond edition
> for Microsoft Windows.
> You use lilypond.exe when you want to capture the output of the
> program, e.g. error messages.
> lilypond-windows.exe opens a new window, outputs the messages in this
> windows and closes it finally.I usually make mistakes and want to see
> the messages, so I use always lilypond.exe
>
> Regards
> Helge

This is covered quite nicely in the documentation:

http://lilypond.org/doc/v2.19/Documentation/usage/command_002dline-usage

"Note to Windows users: By default lilypond.exe outputs all progress 
information to the command window,lilypond-windows.exe does not and returns 
a prompt, with no progress information, immediately at the command line. 
The'-dgui' 
option can be used in this case to redirect output to a log file."

--
Phil Holmes 



  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Exited with return code -1073741819.

2016-02-25 Thread MING TSANG
I  transcribe a score SA-TB + piano contains 118 measures.  I enter the last 
measure and I got the error message.If I comment out measure #118, the compile 
went OK.   I double check measure 118 and there is no code error.   What is the 
error message "Exited with return code -1073741819." mean ?  What to do to 
resolve. I am running frescobaldi -lilypond in window 10.
Immanuel,Ming. 

Starting lilypond-windows.exe 2.19.36 
[I-will-sing-of-my-redeemer_here-is-love.ly]...Processing 
`c:/users/user/appdata/local/temp/frescobaldi-uvdpao/tmpvmyku8/I-will-sing-of-my-redeemer_here-is-love.ly'Parsing...Interpreting
 music...MIDI output to 
`I-will-sing-of-my-redeemer_here-is-love-soprano.mid'...Interpreting 
music...MIDI output to 
`I-will-sing-of-my-redeemer_here-is-love-alto.mid'...Interpreting music...MIDI 
output to `I-will-sing-of-my-redeemer_here-is-love-tenor.mid'...Interpreting 
music...MIDI output to 
`I-will-sing-of-my-redeemer_here-is-love-bass.mid'...Interpreting 
music...[8][16][24][32][40][48][56][64][72][80][88][96][104][112]Exited with 
return code -1073741819.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re:difference of code construct (Malte Meyn)

2016-03-19 Thread MING TSANG
Malte:
Than you very much for your response.I don't play piano. I only transcribe from 
score sheet which has measure shown (in original) as lilypond displayed.I copy 
and paste the lilybin to the emaill. It must be the email default it to change 
the link into html. I don't know to avoid this..The (B) output displays extra 
empty measure, while (A) output does not. I am wondering why it does that?I use 
variable the way I am using is because I am trying to re-use the code for other 
measure in the piece ( 10 measures).I look up the  acronym from wikipedia     
   - WTF, an acronym for "What the fuck?", an expression of disbelief
If that is what you mean, I don't appreciate the language. I appreciate you 
help.Immanuel,Ming.

  

--

Message: 4
Date: Fri, 18 Mar 2016 15:04:09 +0100
From: Malte Meyn 
To: lilypond-user@gnu.org
Subject: Re: difference of code construct
Message-ID: <56ec0ad9.5070...@maltemeyn.de>
Content-Type: text/plain; charset=UTF-8; format=flowed



Am 18.03.2016 um 14:25 schrieb MING TSANG:
> Hi, lilyponder:
> I have a question about coding construct. Please refer to lilybin  attachment
>  LilyPond Score
>
> |  |
> |  |  |  |  |  |
> | LilyPond ScoreLilyPond Score made using LilyBin. |
> |  |
> | View on lilybin.com | Preview by Yahoo |
> |  |
> |  |
>
>
> Immanuel,Ming

WTF are you doing there?

First of all, I hate HTML mails but the text version doesn?t provide the 
lilybin link.

Then you use dozens of variables with numbers as names which makes the 
code very confusing.

The variable ? contains only one rest which is forced to a certain 
pitch. This is why you see no difference in the output: Two of these 
rests are there but both of them are forced to the center of the staff. 
This forced positioning shouldn?t be necessary because LilyPond?s 
default output looks the same but is more robust concerning 
transposition etc.

off-topic: The second chord in m. 2 isn?t playable on the piano if you 
don?t have giant hands (I don?t know a single pianist who can play 
that). Are you sure that this is correct?



--

  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


difference of code construct

2016-03-19 Thread MING TSANG
Hi, lilyponder:
I have a question about coding construct. Please refer to lilybin  attachment
 LilyPond Score

|   |
|   |   |   |   |   |
| LilyPond ScoreLilyPond Score made using LilyBin. |
|  |
| View on lilybin.com | Preview by Yahoo |
|  |
|   |


Immanuel,Ming___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: difference of code construct

2016-03-19 Thread MING TSANG
Thomas, Benjamin, David, Andrew and Malte:
Thank you all for taking time to help and suggestion of coding practise. The 
reason I use "enclosed numeric" for variables is that I thought of using this 
way I can reuse the measure (bar) throughout the piece.  If I detected  an 
error, I only need to update one place.  I did try copy and paste method before 
and if I found error, I had to search where I had pasted the code to make 
correction. If this is a "bug", how to proceed?If this is not an appropriate 
coding practise, please give me some sample that I can follow? My object is to 
reuse the measure(s) other than copy-&-paste method. 
Thanks again,Ming.

  From: Thomas Morley 
 To: lilypond-user  
Cc: Benjamin Strecker ; MING TSANG ; 
David Wright 
 Sent: Saturday, March 19, 2016 3:14 PM
 Subject: Re: difference of code construct
   
2016-03-19 17:26 GMT+01:00 David Wright :
> On Fri 18 Mar 2016 at 16:42:45 (-0400), Benjamin Strecker wrote:
>> I was a little curious about the difference in the output, but I'm afraid I
>> can't offer a solution, only some observations after looking at it.
>>
>> In my tinkering, it seemed to be associated with the time signature.  In
>> the example below (and attached), I get the same behavior you do, where the
>> second score has the left-hand part continuing past the apparent end of its
>> voice(s).  Additionally, there is inconsistency about the beaming of the
>> eighth notes between the two scores.  However, if I change the time
>> signature to 4/4 (and change R2. to R1 in the right hand), both scores
>> produce the same output.
>>
>> Would anyone be able to elaborate if this is expected behavior?
>
> I too cleaned up the example (which is a masterclass in obfucsation)
> to get down to the bare bones. I would have thought that the answer
> lies in NM (2.19.36) §5.1.3 pp571-2. The staff which ends with ">>"
> gets the pair of instantiated voices killed off, whereas the one
> ending ">> r" has already returned to its old voice when it finishes.
>
> But this idea doesn't hold using crochets instead of quavers. So
> perhaps, as you pointed out, the difference in beaming has something
> to do with it, or is a symptom of some underlying difference.
>
> (The attached example is the same with 2.18 and 2.19)
>
> Cheers,
> David.



The << ... // ... >>-construct creates new Voices. Thus you can boil it down to:

right = \new Staff { \time 3/4 R2.*3 }
left =  \new Staff { r4 d'8 e' r4 }
leftI = \new Staff { r4 \new Voice { d'8 e' } r4 }

%% workarounds
%% (1) manual beaming
leftII = \new Staff { r4 \new Voice { d'8[ e'] } r4 }
%% (2) Continuing the Voice via \context
%%    doesn't work for << ... // ... >> of course
leftIII = \new Staff { r4 \context Voice { d'8 e' } r4 }

<< \right \left \leftI \leftII \leftIII >>


Somehow Lilypond is confused if the the new Voice is created at a
critical measurePosition, critical for the auto-beamer.
leftII/III demonstrate workarounds.

I'd call it a bug, please report.
The only previous version I found, which doesn't add extra-measures is 2.14.2

Cheers,
  Harm

  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Newbie needs help - how to set beats for midi output

2010-08-17 Thread MING TSANG
Lilypond user community:

I started to use lilypond window (XP)  version 2.13. ( I am a newbie to 
lilyPond). The following is lilypond  text file I managed to compose.  I have 
question ato ask for assistance.

1. How can I create two voices for pianoRHMusic and pianoLHMusic? 
I want to generate piano  accompainment not just repeat soprano/alto 
tenor/bass.
2. the speed of generated midi file is very slow. How can I adjust it?
I try to put  \midi {\tempo 4=120  }but I got the following 
error:: 


C:/Documents and Settings/Administrator/Desktop/LILY_POND/la-men.ly:99:8: 
error: syntax error,  unexpected \tempo
\midi {
\tempo 4=120 }
3. How can I just generate soprano or tenor midi for practice singing? 
4. How can I combine soprano and alto into one treble clef staff?
5.  Is there any window version for mup2ly?
I have many mup score text files. I like to convert it to lilypond text 
file.
 The learning curve for lilypond is hard. In times, I might like it.   The 
reason I try to switch from mup to lilypond is because mup cannot  generate 
Chinese character lyrics, but lilypond can. A must for me.   Currently I do cut 
and past after the score sheet and then enter chinese  character separately in 
words.
6. From a sample lilyPond demo file, where does the "Music engraving by 
lilyPond 
2.12.3 -- www.lilypond.org" generated? 


Thanks,
Lyndon

Sample lilypond text file

\header {
  title = "A-men : 阿 們 頌 "
  enteredby="ymingT"
  maintainer="han...@xs4all.nl"

  texidoc = "
heavily mutilated Edition Peters Morgenlied by Schubert"

}

\version "2.12.0"

ignoreMelisma =\set ignoreMelismata = ##t
ignoreMelismaOff = \unset ignoreMelismata 

#(set-global-staff-size 21)

\paper  {
%#(set-global-staff-size (* 5.8 mm))
  indent = #(* mm 4)
  line-width = #(* mm 140)
  interscoreline = 2.\mm
  between-system-space = 15\mm
  ragged-bottom = ##t 
}
#(set-global-staff-size 17)
\paper {
indent = 3.0\cm
short-indent = 1.5\cm
}
sopranoMusic = \relative c' { \key f \major a'1 g2. r4 bes1 a2. r4 c2( bes4 g 
f2 
e )f1 f ~ f f  }
%sopranoLyrics = \lyricmode { A- men a- men a- men a- men }
firstVerse = \lyricmode { \set stanza = " " A- men a- men a- men a- men } 
secondVerse = \lyricmode {\set stanza = " " 阿 們 阿 們 阿_ 們 阿 們 }

altoIMusic = \relative c' { \key f \major f1 e2. r4 e1 f2. r4 f2( d2 c1 )c1 d1( 
des) c1 }
altoILyrics = \lyricmode { A- men a- men a- men a- men }
altoIIMusic = \relative c' { \key c \major c1 d }
altoIILyrics = \lyricmode { A -- two }

tenorMusic = \relative c  { \clef "bass" \key f \major c1 c2. r4 c1 c2. r4 f,2 
( 
g4 bes4 a2 g2 )a1 bes1 ~ bes1 a1 }
tenorLyrics = \lyricmode { A- men a- men a- men a- men }

bassMusic = \relative c { \clef "bass" \key f \major f1 c2. r4 c'1 c2. r4 a,2 ( 
bes2 c1 )f1 bes,1 ~ bes1 f1 }
bassLyrics = \lyricmode { " "  "" a- men a- men a- men }

pianoRHMusic = \relative c' { \key f \major a'1 g2. r4 bes1 a2. r4 c2( bes4 g 
f2 
e )f1 f ~ f f  }
pianoLHMusic = \relative c { \key f \major c1 c2. r4 c1 c2. r4 f,2 ( g4 bes4 a2 
g2 )a1 bes1 ~ bes1 a1 }


\score {
\new GrandStaff = "GrandStaff_score" <<  %1
\new ChoirStaff = "ChoirStaff_choir" <<  %7
\new Staff = "Staff_soprano" {
\set Staff.instrumentName = #" "
\new Voice = "soprano"
\sopranoMusic
}
 \new Lyrics \lyricsto "soprano" { \firstVerse }
\new Lyrics \lyricsto "soprano" { \secondVerse }
 \new GrandStaff = "GrandStaff_altos" \with { \accepts Lyrics } <<   %8
 \new Staff = "Staff_altoI" {
 \set Staff.instrumentName = #" "
 \new Voice = "altoI"
 \altoIMusic
 }
% \new Lyrics \lyricsto "altoI" { \altoILyrics }
\new Lyrics \lyricsto "altoI" { \firstVerse }
\new Lyrics \lyricsto "altoI" { \secondVerse }
>>  %8
\new Staff = "Staff_tenor" {
 \set Staff.instrumentName = #" "
\clef "treble_8"
\new Voice = "tenor"
\tenorMusic
}
%\new Lyrics \lyricsto "tenor" { \tenorLyrics }
 \new Lyrics \lyricsto "tenor" { \firstVerse }
\new Lyrics \lyricsto "tenor" { \secondVerse }
\new Staff = "Staff_bass" {
\set Staff.instrumentName = #" "
\new Voice = "bass"
\bassMusic
 }
%\new Lyrics \lyricsto "bass" { \bassLyrics }
 \new Lyrics \lyricsto "bass" { \firstVerse }
\new Lyrics \lyricsto "bass" { \secondVerse }
>>  %7
 \new PianoStaff << %6  
 \set PianoStaff.instrumentName = #" "
 \new Staff { \pianoRHMusic }
 \new Staff {
 \clef bass
 \pianoLHMusic
 }
 >> %6
>>  %1
\layout { }
\midi { }
}___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


no sound produce for bass staff

2010-09-02 Thread MING TSANG




- Forwarded Message 
From: MING TSANG 
To: lilypond-user-requ...@gnu.org
Sent: Wed, September 1, 2010 12:07:34 PM
Subject: no sound produce for bass staff


The following is a new .ly file.  I am new to lilypond (I start to use  
lilypond 
three week ago). I have questions to ask for assistance:

1..  I did not hear panio left hand midi sound. Is there special options to set?
2.   Is it possible to hide no note measures ie. full staff.  Bar 1 to 16  only 
soprano melody? Other alto, tenor and bass are empty. Full choir  music starts 
on bar 17 (ie SATB parts).  Please note in coding, I put 16  s1 for alto, tenor 
and bass so that choir (SATB) starts at bar 17.   

3.   I got waring message : 警告: Cannot find glyph accidentals.M2   Please  
refer 
to red text below. How to include Feta fonts? I thopught it is the  default 
fonts for lilypond. 

4. I will try \score block to generate choir  parts. Marek:  Thank you for your 
kind assistance.  Is there any template for this? 


Vít  Baisa : I like your lilypond youtube idea.  It will be great for me as  
well.   I try to use lilypond to generate choir parts midi file for  choir 
member to practice.  Visual display with midi will be great,  particularly as 
youtube.  Please update me if you have successfully  implement this. I would 
appreciate with thanks to adopt the same  technique as well.

Below is my lilypond file:
<><><><><><><><><>
\version "2.12.0"

\header {
%  #(before-title-space 10\mm) 
  title = "主阿我要更愛你:More Love To Thee"
  subtitle = " "
  poet = "Zunda Chen"
  composer = "陳傳這 曲"
  meter = \markup { "B" \flat \musicglyph #"accidentals.M2"  "4/4" } 
  
  enteredby="ymingT"
  maintainer="ymingT"
  texidoc = ""
}

ignoreMelisma =\set ignoreMelismata = ##t
ignoreMelismaOff = \unset ignoreMelismata 

#(set-global-staff-size 23)

\paper  {
%#(set-global-staff-size (* 5.8 mm))
  indent = #(* mm 0)
  line-width = #(* mm 180)
  interscoreline = 2.\mm
  between-system-space = 36\mm
  ragged-bottom = ##t 
}
#(set-global-staff-size 23)
 
\include "english.ly"
TimeKey = { \time 4/4  \key g \minor }   % \partial 4
SopMusic   = \relative c' {
R1^\markup{Andante Graccoso} | R1 | R1 | a'1\rest \fermata |
%bar 01-04
 d,4^\markup{Soprano Solo or Soprano}  f4 bf4 d4 | d4. c8 c2 | f,4 a4 c4 
ef4 
| ef4. d8 d2 | %bar 05-08
f4. f8 ef(^\> d) c( bf) | a2 g2\! | ef'4. d8 c8(^\> bf8) a8( g8) | g2 f2\! 
|   %bar 09-12
bf2^\markup{ cresc.} c4 bf4 | ef4. e8^\f f4. bf,8 |%bar 13-14
d2^\markup{ rit. }^\> c2\! | bf2.\fermata r4 |%bar 15-16
d4. d8 ef8 d8 c8 bf8 |%bar 17
bf2 a2 | %bar 18
ef'4. ef8 f8 ef8 d8 cs8 |%bar 19
d2. r4 |%bar 20
g4. d8 ef8 f8 ef8 d8 |%bar 21
d2 g,2 |%bar 22
c4. c8  bf8 bf8 a8 g8 | f2. r4 |%bar 23-24
  }
AltoMusic  = \relative c' {
\override NoteHead #'color = #blue
s1 s1 s1 s1 s1 s1 s1 s1 s1 s1 |%bar 01-10
s1 s1 s1 s1 s1 s1 |%bar 11-16
f4. f8 g8 f8 ef8 d8 |%bar 17
f2 ef2 | %bar 18
g4. g8 a8 g8 f8 f8 |%bar 19
f2. s4 |%bar 20
g4. g8 g8 g8 g8 g8 |%bar 21
e2 ef2 |%bar  22
e4. ef8 ef8 ef8 ef8 ef8 | f2. s4 |%bar 23-24
  }
TenorMusic = \relative c  {
s1 s1 s1 s1 s1 s1 s1 s1 s1 s1 |%bar 01-10
s1 s1 s1 s1 s1 s1 |%bar 11-16
bf'4. bf8 bf bf bf bf | bf2 c2 |%bar 17-18
c4. c8 c8 c8 bf8 a8 | bf2. r4 | %bar 19-20
b4. bf8 bf8 bf8 bf8 d8 | c2 c2 |%bar 21-22
g4. g8 g g g g | f2. r4 |%bar 23-24
  }
BassMusic  = \relative c  {
\override NoteHead #'color = #red
s1 s1 s1 s1 s1 s1 s1 s1 s1 s1 |%bar 01-10
s1 s1 s1 s1 s1 s1 | %bar 11-16
bf4. bf8 bf bf bf bf | d2 f2 |%bar 17-18
f4. f8 f8 f8 f8 f8 | bf,2. s4 |%bar 19-20
g4. g8 g8 g8 g8 b8 | c2 c2 |%bar 21-22
c4. c8 c c c c | d2. s4 |%bar 23-24
 }

PianoRHand = \relative c' {
<< {d'8 bf8 ef8 d8 a'8 g8 bf8 a8} \\ {

Fw: no sound produce for bass staff

2010-09-02 Thread MING TSANG




- Forwarded Message 
From: MING TSANG 
To: Phil Holmes 
Sent: Thu, September 2, 2010 2:17:56 PM
Subject: Re: no sound produce for bass staff


Thank you for your speedy assistance.

1. I can hear bass until bar 16 and after that I cannot hear even I see the 
base 
in midi. I use "notatio prayer" & "window media prayer". I install VanBasco 
to-day and I hear bass clear until bar 16, after that the volume suddenly drops 
- hardly can hear. 


2. I try this and works wonderfully. Thank you for the tips.

3.  C.4 The Feta fonts has accidentals.M2 of Lilypond 2.6.6 manual.  Right now 
I 
draw a \flat on the title and it looks big. I thought accidentals.M2 will give 
me smaller flat music picture.

Thanks,
Ming.







From: Phil Holmes 
To: MING TSANG ; lilypond-user@gnu.org
Sent: Thu, September 2, 2010 9:34:46 AM
Subject: Re: no sound produce for bass staff

  
HTML post so I'm top-posting to reply - my  newsreader won't bottom-post 
properly.
 
1.  I hear the piano left hand clearly on my  machine, and I can see the line 
in 
the midi file.
 
2. See "Hiding stave" in the reference, and change  your layout block to:
 
 \layout { 
\context  {
\RemoveEmptyStaffContext
\override  VerticalAxisGroup #'remove-first = ##t
}
   }

3.  I don't believe there is an accidentals.M2  glyph.  What are you trying to 
draw?

--
Phil Holmes
 
 
- Original Message - 
>From: MING TSANG 
>To: lilypond-user@gnu.org 
>Sent: Thursday, September 02, 2010 2:02PM
>Subject: no sound produce for bassstaff
>
>
>
>
>
>
>- Forwarded Message 
>From: MING TSANG 
>To: lilypond-user-requ...@gnu.org
>Sent: Wed, September 1, 2010 12:07:34PM
>Subject: no sound producefor bass staff
>
>
>The following is a new .ly file.  I am new to lilypond (I start touse 
>lilypond three week ago). I have questions to ask forassistance:
>
>1..  I did not hear panio left hand midi sound. Isthere special options to 
>set?
>2.  Is it possible to hide no notemeasures ie. full staff.  Bar 1 to 16 
>only 
>soprano melody? Other alto,tenor and bass are empty. Full choir music 
>starts 
>on bar 17 (ie SATBparts).  Please note in coding, I put 16 s1 for alto, 
>tenor and bass sothat choir (SATB) starts at bar 17.   
>
>3.  I got waring message :警告: Cannot find glyph accidentals.M2   Please 
>refer to red textbelow. How to include Feta fonts? I thopught it is the 
>default fonts forlilypond. 
>
>4. I will try \score block to generate choir parts. Marek: Thank you for 
>your kind assistance.  Is there any template for this? 
>
>
>Vít Baisa : I like your lilypond youtube idea.  It will begreat for me as 
>well.   I try to use lilypond to generate choirparts midi file for choir 
>member to practice.  Visual display with midiwill be great, particularly 
>as 
>youtube.  Please update me if you havesuccessfully implement this. I would 
>appreciate with thanks to adopt the sametechnique as well.
>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: no sound produce for bass staff

2010-09-02 Thread MING TSANG
Additional info pertain to #1 below.

On bar 15 I remove "^\markup{rit.}^\>   \!   " from the .ly file and re-run 
lilypond. The generated midi now can play bass staff till the end .

Question: Why the "rit. >" tune down the volume (almost to zero) of the bass 
staff.


<><><><><>

Thank you for your speedy  assistance.


1. I can hear bass until bar 16 and after that I cannot hear even I see the 
base 
in midi. I use "notatio prayer" & "window media prayer". I install VanBasco 
to-day and I hear bass clear until bar 16, after that the volume suddenly drops 
- hardly can hear. 


2. I try this and works wonderfully. Thank you for the tips.

3.  C.4 The Feta fonts has accidentals.M2 of Lilypond 2.6.6 manual.  Right now 
I 
draw a \flat on the title and it looks big. I thought accidentals.M2 will give 
me smaller flat music picture.

Thanks,
Ming.







From: Phil Holmes 
To: MING TSANG  ; lilypond-user@gnu.org
Sent: Thu, September 2, 2010 9:34:46 AM
Subject: Re: no sound produce for bass staff

  
HTML post so I'm top-posting to reply - my  newsreader won't bottom-post 
properly.
 
1.  I hear the piano left hand clearly on my  machine, and I can see the line 
in 
the midi file.
 
2. See "Hiding stave" in the reference, and change  your layout block to:
 
 \layout { 
\context  {
\RemoveEmptyStaffContext
\override  VerticalAxisGroup #'remove-first = ##t
}
   }

3.  I don't believe there is an accidentals.M2  glyph.  What are you trying to 
draw?

--
Phil Holmes
 
 
- Original Message - 
>From: MING TSANG 
>To: lilypond-user@gnu.org 
>Sent: Thursday, September 02, 2010 2:02PM
>Subject: no sound produce for bassstaff
>
>
>
>
>
>
>- Forwarded Message 
>From: MING TSANG 
>To: lilypond-user-requ...@gnu.org
>Sent: Wed, September 1, 2010 12:07:34PM
>Subject: no sound producefor bass staff
>
>
>The following is a new .ly file.  I am new to lilypond (I start touse 
>lilypond three week ago). I have questions to ask forassistance:
>
>1..  I did not hear panio left hand midi sound. Isthere special options to 
>set?
>2.  Is it possible to hide no notemeasures ie. full staff.  Bar 1 to 16 
>only 
>soprano melody? Other alto,tenor and bass are empty. Full choir music 
>starts 
>on bar 17 (ie SATBparts).  Please note in coding, I put 16 s1 for alto, 
>tenor and bass sothat choir (SATB) starts at bar 17.   
>
>3.  I got waring message :警告: Cannot find glyph accidentals.M2   Please 
>refer to red textbelow. How to include Feta fonts? I thopught it is the 
>default fonts forlilypond. 
>
>4. I will try \score block to generate choir parts. Marek: Thank you for 
>your kind assistance.  Is there any template for this? 
>
>
>Vít Baisa : I like your lilypond youtube idea.  It will begreat for me as 
>well.   I try to use lilypond to generate choirparts midi file for choir 
>member to practice.  Visual display with midiwill be great, particularly 
>as 
>youtube.  Please update me if you havesuccessfully implement this. I would 
>appreciate with thanks to adopt the sametechnique as well.
>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: no sound produce for bass staff

2010-09-03 Thread MING TSANG
bar 22
8 g'' bf g bf g a bf |%bar 23
8 c'' f c f ef d c |%bar 24
 }
 
VerseOne   = \lyricmode { 
主 啊! 我 要 | 更 愛 你, | 主 啊! 我 要 | 親 近 你 | 凡 事 照 主 |
指 示, | 合 主 你 的 | 旨 意, | 有 時 遭 | 遇 試 煉, 求 | 主 扶 持; |
懇 求 聖 靈 充 滿 | 心 內 | 忠 心 將 福 音 傳 | 開, | 雖 然 魔 鬼 設 計 |
陷 害, | 靠 我 主 永 不 失 | 敗, |
}
%VerseTwo   = \lyricmode { voice two  } 
%VerseThree = \lyricmode { }
%VerseFour  = \lyricmode { |

\score {
  \new GrandStaff = "GrandStaff_score" <<
\new ChoirStaff <<
  \tempo 4 =  90
  \set Score.markFormatter = #format-mark-box-numbers
  \new Staff <<
\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\clef "treble"
%\new Voice = "Sop"  { \voiceOne  \TimeKey \SopMusic }
%\new Voice = "Alto" { \voiceTwo  \TimeKey \AltoMusic }
% \new Lyrics \lyricsto "Sop" { \VerseOne   }
%\new Lyrics \lyricsto "Sop" { \VerseTwo   }
%\new Lyrics \lyricsto "Sop" { \VerseThree }
%\new Lyrics \lyricsto "Sop" { \VerseFour  }
  >>
  \new Staff <<
\clef "bass"
%\new Voice = "Tenor" { \voiceOne \TimeKey \TenorMusic }
%\new Voice = "Bass"  { \voiceTwo \BassMusic  }
  >>
>>
\new PianoStaff <<
  \new Staff = "RH" { \TimeKey  \PianoRHand }
  \new Staff = "LH" { \TimeKey \clef bass \PianoLHand } 
>>
  >>
  \layout {
\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
}
  }
  \midi { }
} 



From: Kaz Kylheku 
To: MING TSANG 
Cc: lilypond-user@gnu.org
Sent: Fri, September 3, 2010 12:40:56 AM
Subject: Re: no sound produce for bass staff


On Thu, 2 Sep 2010 20:48:20 -0700  (PDT), MING TSANG  wrote:  
>Additional info pertain to #1 below.

Also, is there anything in the .log file?

If LilyPond is doing something unexpected, always check
for any diagnostics.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: no sound produce for bass staff

2010-09-03 Thread MING TSANG
Thank you,  Kaz:
 By adding \mf to bar 14 after the "cresc." on bar 13,  I can hear bass notes 
to 
the end now.  I have to remember this whenever I code/use "cresc.".





From: Kaz Kylheku 
To: MING TSANG 
Cc: Phil Holmes ; lilypond-user@gnu.org
Sent: Fri, September 3, 2010 10:36:29 AM
Subject: Re: no sound produce for bass staff


Maybe it's because you've put in a decrescendo, which is not followed by any 
other dynamics to restore the volume!
Try adding, say, \mf for mezzo-forte after the decrescendo.
 
On Fri, 3 Sep 2010 06:00:30 -0700 (PDT), MING TSANG  
wrote: 

Kaz:  I think there is a problem for "c2\>  d\!" construct for midi output. 
 Please refer tored and blue text below.  I experiment the coding.
>
>1.   I comment out LINE AA and use LINE BB I run lilypond, the generated midi 
>clearly produce both piano RH and LH sound til the end.
>2.   I comment out LINE BB and use LINE AA  I run lilypond, the generated midi 
>only produce midi sound for piano RH & LH until bar 14. Starting on bar 15 
>onward, I can only hear piano RH, but piano LH sound disappear.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


humber as easy note head

2010-09-06 Thread MING TSANG
I ran the following snippet and an error occurs (please refer to red text 
below)Please help.


Numbers as easy note heads
Easy notation note heads use the note-names property of the NoteHead object to 
determine what appears inside the note head.  By overriding this property, it 
is 
possible to print numbers representing the scale-degree. 

A simple engraver can be created to do this for every note head object it sees. 
#(define Ez_numbers_engraver
   (list
(cons 'acknowledgers
  (list
   (cons 'note-head-interface
 (lambda (engraver grob source-engraver)
   (let* ((context (ly:translator-context engraver))
  (tonic-pitch (ly:context-property context 'tonic))
  (tonic-name (ly:pitch-notename tonic-pitch))
  (grob-pitch
   (ly:event-property (event-cause grob) 'pitch))
  (grob-name (ly:pitch-notename grob-pitch))
  (delta (modulo (- grob-name tonic-name) 7))
  (note-names
   (make-vector 7 (number->string (1+ delta)
 (ly:grob-set-property! grob 'note-names note-names

#(set-global-staff-size 26)

\layout {
  ragged-right = ##t
  \context {
\Voice
\consists \Ez_numbers_engraver
  }
}

\relative c' {
  \easyHeadsOn
  c4 d e f
  g4 a b c \break

  \key a \major
  a,4 b cis d
  e4 fis gis a \break

  \key d \dorian
  d,4 e f g
  a4 b c d
}



This is a console shell for running LilyPond and related commands. Enter %help 
to see the available special commands.
> %lilypond %args "C:\Documents and 
>Settings\Administrator\Desktop\LILY_POND\numbers.ly"
正在處理 ‘C:/Documents and Settings/Administrator/Desktop/LILY_POND/numbers.ly’
分析中...
C:/Documents and Settings/Administrator/Desktop/LILY_POND/numbers.ly:36:14: 錯誤: 
syntax error, unexpected SCM_IDENTIFIER, expecting STRING
\consists 
  \Ez_numbers_engraver

Interpreting music... 
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `numbers.ps'...
轉換為 ‘./numbers.pdf’...
錯誤: failed files: "C:\\Documents and 
Settings\\Administrator\\Desktop\\LILY_POND\\numbers.ly"
Processing time: 14 seconds
> 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: numbers as easy note head

2010-09-07 Thread MING TSANG
I am using 2.12.3-1.  When will 2.13.11 be released as stable version? In the 
mean time can I down 2.13.11 and install in window xp co-exist with 2.16.3-1 on 
the same computer?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: numbers as easy note head

2010-09-07 Thread MING TSANG
Thank you for the info pertain to 2.13.32 - particularly about the numbers as 
note head feature. This feature will help our choir member to learn singing 
parts.

I download 2.13.32 and 2.6.5 and install the same on my XP window computer - 
now 
I have v2.12.3; v2.13.32 & v2.6.5.I install 2.6.5 because I want to run 
mup2ly.  I have dozens of mup coded music text file I wish I can convert to 
lilypond.

However, I have trouble running 2.13.32. I drag & drop a .ly file to 
lilypond.exe (v2.13.32), but cannot find the output midi, ps and pdf files. I 
cannot locate the log file also.  Where can I specify the output files location 
for lilypond - any version? 


I am using jEdit4 with lilypond tool.  I have trouble using jEdit4 for v2.13.32 
and v2.6.5. That is why I use drag and drop.  How can I make jEdit4 to run 
various version of lilypond?

Looking forward to hear the good news. Just want to led you know that I am new 
to lilypond and to-day is my 4th week of using lilypond.





From: Martin Tarenskeen 
To: MING TSANG 
Cc: lilypond-user mailinglist 
Sent: Tue, September 7, 2010 4:50:49 PM
Subject: Re: numbers as easy note head



On Tue, 7 Sep 2010, MING TSANG wrote:

> I am using 2.12.3-1.  When will 2.13.11 be released as stable version? In the 
>mean time can I down 2.13.11 and install in
> window xp co-exist with 2.16.3-1 on the same computer?


Current released development version is 2.13.32. You can download it from the 
Lilypond website. The next stable version will be numbered 2.14.x and will be 
released as soon as a relatively small number of critical bugs have been fixed 
in the 2.13.x versions.

(Correct me if I'm wrong)

-- 
Martin Tarenskeen___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: numbers as easy note head

2010-09-11 Thread MING TSANG
I have trouble using two versions of lilypond, therefor i decided to use 
2.13.32.

I have additional help required:

1.. How can I increase the notehead size so that the number as easy note head 
are easily readable?  I use "#(set-global-staff-size 26", but the whole score 
is 
enlarged. I like just to en enlarge the voices staff (ie soprano, alto, tenor & 
bass) only and the piano staffs are normal size.
2.. How can I hide or eliminate the measure for the last bar of a system?  This 
number is repeated at the next system anyway.
3.. How can I attach '\ff' and "\makup{Deciso}" to a pitch (note)? 





____
From: MING TSANG 
To: Martin Tarenskeen ; Carl Sorensen 

Cc: lilypond-user mailinglist 
Sent: Tue, September 7, 2010 9:53:03 PM
Subject: Re: numbers as easy note head


Thank you for the info pertain to 2.13.32 - particularly about the numbers as 
note head feature. This feature will help our choir member to learn singing 
parts.

I download 2.13.32 and 2.6.5 and install the same on my XP window computer - 
now 
I have v2.12.3; v2.13.32 & v2.6.5.I install 2.6.5 because I want to run 
mup2ly.  I have dozens of mup coded music text file I wish I can convert to 
lilypond.

However, I have trouble running 2.13.32. I drag & drop a .ly file to 
lilypond.exe (v2.13.32), but cannot find the output midi, ps and pdf files. I 
cannot locate the log file also.  Where can I specify the output files location 
for lilypond - any version? 


I am using jEdit4 with lilypond tool.  I have trouble using jEdit4 for v2.13.32 
and  v2.6.5. That is why I use drag and drop.  How can I make jEdit4 to run 
various version of lilypond?

Looking forward to hear the good news. Just want to led you know that I am new 
to lilypond and to-day is my 4th week of using lilypond.





From: Martin Tarenskeen 
To: MING TSANG 
Cc: lilypond-user mailinglist 
Sent: Tue, September 7, 2010 4:50:49 PM
Subject: Re: numbers as easy note head



On  Tue, 7 Sep 2010, MING TSANG wrote:

> I am using 2.12.3-1.  When will 2.13.11 be released as stable version? In the 
>mean time can I down 2.13.11 and install in
> window xp co-exist with 2.16.3-1 on the same computer?


Current released development version is 2.13.32. You can download it from the 
Lilypond website. The next stable version will be numbered 2.14.x and will be 
released as soon as a relatively small number of critical bugs have been fixed 
in the 2.13.x versions.

(Correct me if I'm wrong)

-- 
Martin Tarenskeen___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Jedit with lilypond tools

2010-09-21 Thread MING TSANG
I use jedit with lilypond tool. I also use lilypond 2.13.33 The console has the 
following message. However, I cannot locate the .pdf file.  I do a search on 
c:\ 
drive and cannot find the file.  I see the midi file.  One additional question: 
on v2.12 after running lilypond, I can see three files - .mid; .ps and .pdf. 
V2.13.33 only has two files created - .mid and .pdf; why?

<><><><><><><><>
> %lilypond %args "C:\Documents and 
>Settings\Administrator\Desktop\LILY_POND\the-lord-is-in-his-holy-temple.ly"
正在處理 ‘C:/Documents and 
Settings/Administrator/Desktop/LILY_POND/the-lord-is-in-his-holy-temple.ly’
分析中...
Interpreting music... [8][16]
Preprocessing graphical objects...
Interpreting music... 
將 MIDI 輸出至 ‘the-lord-is-in-his-holy-temple.mid’...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `the-lord-is-in-his-holy-temple.ps'...
轉換為 ‘./the-lord-is-in-his-holy-temple.pdf’...
success: Compilation successfully completed
Processing time: 9 seconds
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Jedit with lilypond tools

2010-09-22 Thread MING TSANG
Thank you Phil.  

I put the line in to .ly   Now .PS file is created but there is still no .PDF 
file generated.






From: Phil Holmes 
To: MING TSANG ; lilypond-user@gnu.org
Sent: Wed, September 22, 2010 12:38:34 PM
Subject: Re: Jedit with lilypond tools

  
In answer to your question about .ps files, the  document entitled "New 
features 
in 2.13 since 2.12" says:
 
"Intermediate .ps files which are created by  LilyPond during compilation are 
now deleted by default. To keep them, add the  following line to your input 
files:
#(ly:set-option  'delete-intermediate-files #f)"

--
Phil Holmes
 
 
- Original Message - 
>From: MING TSANG 
>To: lilypond-user@gnu.org 
>Sent: Wednesday, September 22, 2010 3:28AM
>Subject: Jedit with lilypond tools
>
>
>I use jedit with lilypond tool. I also use lilypond 2.13.33 The consolehas 
>the following message. However, I cannot locate the .pdf file.  I doa 
>search 
>on c:\ drive and cannot find the file.  I see the midifile.  One 
>additional 
>question: on v2.12 after running lilypond, I cansee three files - .mid; 
>.ps 
>and .pdf. V2.13.33 only has two files created -.mid and .pdf;why?
>
><><><><><><><><>
>>%lilypond %args "C:\Documents and
>>Settings\Administrator\Desktop\LILY_POND\the-lord-is-in-his-holy-temple.ly"
>正在處理‘C:/Documents and
>Settings/Administrator/Desktop/LILY_POND/the-lord-is-in-his-holy-temple.ly’
>分析中...
>Interpretingmusic... [8][16]
>Preprocessing graphical objects...
>Interpretingmusic... 
>將 MIDI 輸出至 ‘the-lord-is-in-his-holy-temple.mid’...
>Finding theideal number of pages...
>Fitting music on 1 page...
>Drawingsystems...
>Layout output to `the-lord-is-in-his-holy-temple.ps'...
>轉換為‘./the-lord-is-in-his-holy-temple.pdf’...
>success: Compilation successfullycompleted
>Processing time: 9 seconds
>

 ___
>lilypond-usermailinglist
>lilypond-user@gnu.org
>http://lists.gnu.org/mailman/listinfo/lilypond-user
>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-24 Thread MING TSANG
Kaz, 
thank you. I don't know how to run lilypond on CMD EXE. Can you provide some 
command line script?

I try the alternative method as suggested. I got the following message:
  "GS.EXE entry point not found -- the procedure entry point 
gsapi_delete_insta...@4 could not be located in the dynamic link library 
gs-8.70.dll"

For the past few days I have been rebooting window xp several times.


Mark Polesky:  thank you for pointing me to contact jedit users. I have send 
them an email and waiting for their response. 





From: Kaz Kylheku 
To: MING TSANG 
Cc: lilypond-user@gnu.org
Sent: Thu, September 23, 2010 11:02:24 PM
Subject: Re: Help needed - missing .pdf file after running lilypond  
sucessfully.


This mailing list is about Lilypond.
What happens if you run just the lilypond executable?
In windows you can open a CMD.EXE window on the folder and run lilypond on the 
file. If the executable is not in your %PATH%, you will have to use the full 
path.
Alternately, you should be able, in Explorer, to right click on the .ly file 
and 
invoke the "Generate PDF" command from the popup menu.
Be sure that no program has any of the output files (MIDI, PDF, ...) open, 
because this may prevent Lilypond from being able to write to the files. 
(Install a real OS to avoid that problem).
If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe 
the surrounding tools are "eating" the PDF.
Also, when was the last time you rebooted that Windows? At least once every few 
days is a good idea.
 
On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG  wrote:
Here below is jedit console message display. According to the message a .ps 
file 
is generated and a .pdf is generated as well.  However I find the .ps file but 
no .pdf file on the folder where the .ly file resides.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Jedit with lilypond tools

2010-09-24 Thread MING TSANG
Thank you Bertalan.  I did a search on c: drive for the .pdf file and cannot 
locate it anywhere.





From: Bertalan Fodor (LilyPondTool) 
To: MING TSANG 
Cc: lilypond-user@gnu.org
Sent: Fri, September 24, 2010 6:35:14 AM
Subject: Re: Jedit with lilypond tools

  Perhaps that version of LilyPond puts the PDF in a different directory than 
the .ly file is in

MING TSANG wrote: 
I use jedit with lilypond tool. I also use lilypond 2.13.33 The console has the 
following message. However, I cannot locate the .pdf file.  I do a search on 
c:\ 
drive and cannot find the file.  I see the midi file.  One additional question: 
on v2.12 after running lilypond, I can see three files - .mid; .ps and .pdf. 
V2.13.33 only has two files created - .mid and .pdf; why?
>
><><><><><><><><>
>> %lilypond %args "C:\Documents and 
>>Settings\Administrator\Desktop\LILY_POND\the-lord-is-in-his-holy-temple.ly"
>正在處理 ‘C:/Documents and 
>Settings/Administrator/Desktop/LILY_POND/the-lord-is-in-his-holy-temple.ly’
>分析中...
>Interpreting music... [8][16]
>Preprocessing graphical objects...
>Interpreting music... 
>將 MIDI 輸出至 ‘the-lord-is-in-his-holy-temple.mid’...
>Finding the ideal number of pages...
>Fitting music on 1 page...
>Drawing systems...
>Layout output to `the-lord-is-in-his-holy-temple.ps'...
>轉換為 ‘./the-lord-is-in-his-holy-temple.pdf’...
>success: Compilation successfully completed
>Processing time: 9 seconds
>
>

 ___ lilypond-user mailing list 
lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Fw: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-24 Thread MING TSANG
the following reply all did't go thru. Now I try again, just send ti lilypond 
users.



- Forwarded Message 
From: MING TSANG 
To: Kaz Kylheku 
Cc: lilypond-user@gnu.org
Sent: Fri, September 24, 2010 8:58:11 AM
Subject: Re: Help needed - missing .pdf file after running lilypond  
sucessfully.


Kaz, 
thank you. I don't know how to run lilypond on CMD EXE. Can you provide some 
command line script?

I try the alternative method as suggested. I got the following message:
  "GS.EXE entry point not found -- the procedure entry point 
gsapi_delete_insta...@4 could not be located in the dynamic link library 
gs-8.70.dll"

For the past few days I have been rebooting window xp several times.


Mark Polesky:  thank you for pointing me to contact jedit users. I have send 
them an email and waiting for their response.  






From: Kaz Kylheku 
To: MING TSANG 
Cc: lilypond-user@gnu.org
Sent: Thu, September 23, 2010 11:02:24 PM
Subject: Re: Help needed - missing .pdf file after running lilypond  
sucessfully.


This mailing list is about Lilypond.
What happens if you run just the lilypond executable?
In windows you can open a CMD.EXE window on the folder and run lilypond on the 
file. If the executable is not in your %PATH%, you will have to use the full 
path.
Alternately, you should be able, in Explorer, to right click on the .ly file 
and 
invoke the "Generate PDF" command from the popup menu.
Be sure that no program has any of the output files (MIDI, PDF, ...) open, 
because this may prevent Lilypond from being able to write to the files. 
(Install a real OS to avoid that problem).
If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe 
the surrounding tools are "eating" the PDF.
Also, when was the last time you rebooted that Windows? At least once every few 
days is a good idea.
 
On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG  wrote:
Here below is jedit console message display. According to the message a .ps 
file 
is generated and a .pdf is generated as well.  However I find the .ps file but 
no .pdf file on the folder where the .ly file resides.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG)

2010-09-24 Thread MING TSANG
Fr. Gordon,

The jedit version is 4.3.2; lilypond is v2.13.33.  I see the viewer icon. I 
single click it and it displays nothing. It is because the .pdf file is not 
created even though the jedit console says it did generate a .pdf file.

Ming.






From: Father Gordon Gilbert 
To: tsan...@rogers.com; Lilypondusers Group 
Sent: Fri, September 24, 2010 1:36:56 PM
Subject: Re:Help needed - missing .pdf file after running lilypond sucessfully. 
(MING TSANG)

Hi!

I have used Lilypondtool both on Windoze, and on Ubuntu, and the toolbar 
immediately above the open file has little icons for everything you need.  One 
of them is a tiny sheet of paper representing the PDF option.  Do you have that 
on your version?  If so, simply click that (once not twice) and your PDF should 
appear in a separate window in jEdit's native PDF viewer.  Especially if your 
compilation creates a ./ file name as I see it does.

Hope this helps.

Gordon+

-- 
Fr. Gordon Gilbert
Penetanguishene, ON ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fw: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-24 Thread MING TSANG
Hi, neuro:

I think you problem can be resolved. Please refer to vol94 issue 94 message 3 
from Phil Holmes. If you are not absolutely need .ps, don't try.   


My problem is after I added as suggested from Phil Holmes, I got the .ps file 
and I lost .pdf file. I comment out the  line "#(ly:set-option 
'delete-intermediate-files #f)" and re-run lilypond, but I lost both .ps and 
.pdf since. It has been a couple of days.  I have been asking help from 
lilypond 
users to resolve. I now wait for help from lily4jedif user.

Lilypond users:
I run Command line lilypond (CMD.EXE) as 

c:Documents and Settings\Administrator\Desktop\LILY_POND>lilypond -f --pdf 
more-love-to-thee.ly


and I get the following error message:
GNU LilyPond 2.6.5

error: Incorrect lilypond version: 2.13.32 (2.3.22, 2.6.5)

Can anyone show me how can I set up CMD to run v2.13.33? I uninstall v2.6.5 and 
install v3.13.33 -  how come I am still running v2.6.5.

Thanks everyone,
Ming.






____
From: neuro黃學仁 
To: MING TSANG 
Cc: lilypond-user@gnu.org
Sent: Fri, September  24, 2010 2:09:48 PM
Subject: Re: Fw: Help needed - missing .pdf file after running lilypond 
sucessfully.

Dear Dr. Tsang


You might want to check out
lilypond --help

Actually, I have met similar, (or more precisely, reverse,) problems
when I run 2.13.33 last month.

It seems, lilypond have output a pdf file, without a ps file as the ps
file was converted to pdf, when I run 2.13.33 last month, as
lilypond musicfile.ly
(The output files shoud be both ps and pdf, in my expectation.)

So, to specifically assign the output to be a ps file, according to the --help,
I run
lilypond -f --ps musicfile.ly

So, you might want to run
lilypond -f --pdf musicfile.ly
for specifically assign the pdf in your situation.

options are
-f --ps
-f --pdf
-f --png


good luck ^_^

neuro 黃
neu...@gmail.com

===

2010/9/25 MING TSANG :
> the following reply all did't go thru. Now I try again, just send ti
> lilypond users.
>
> - Forwarded Message 
> From: MING TSANG 
> To: Kaz Kylheku 
> Cc: lilypond-user@gnu.org
> Sent: Fri, September 24, 2010 8:58:11 AM
> Subject: Re: Help needed - missing .pdf file after running lilypond
> sucessfully.
>
> Kaz,
> thank you. I don't know how to run lilypond on CMD EXE.  Can you provide some
> command line script?
>
> I try the alternative method as suggested. I got the following message:
>   "GS.EXE entry point not found -- the procedure entry point
> gsapi_delete_insta...@4 could not be located in the dynamic link library
> gs-8.70.dll"
>
> For the past few days I have been rebooting window xp several times.
>
>
> Mark Polesky:  thank you for pointing me to contact jedit users. I have send
> them an email and waiting for their response.
>
> 
> From: Kaz Kylheku 
> To: MING TSANG 
> Cc: lilypond-user@gnu.org
> Sent: Thu, September 23, 2010 11:02:24 PM
> Subject: Re: Help needed - missing .pdf file after running lilypond
> sucessfully.
>
> This mailing list is about Lilypond.
>
> What happens if you run just the lilypond executable?
>
> In windows you can open a CMD.EXE window on the folder and run lilypond on
> the file. If the executable is not in your %PATH%, you will have to use the
> full path.
>
> Alternately, you should be able, in Explorer, to right click on the .ly file
> and invoke the "Generate PDF" command from the popup menu.
>
> Be sure that no program has any of the output files (MIDI, PDF, ...) open,
> because this may prevent Lilypond from being able to write to the files.
> (Install a real OS to avoid that problem).
>
> If you follow this procedure and get a  PDF, there is no Lilypond problem.
> Maybe the surrounding tools are "eating" the PDF.
>
> Also, when was the last time you rebooted that Windows? At least once every
> few days is a good idea.
>
>
>
> On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG 
> wrote:
>
> Here below is jedit console message display. According to the message a .ps
> file is generated and a .pdf is generated as well.  However I find the .ps
> file but no .pdf file on the folder where the .ly file resides.
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-26 Thread MING TSANG
Carl,

I mess up Mark Polesky and Carl Sorensen as Mark Sorensen.  Sorry!
What does it mean "top post in lilypond"?

The following code produce large numbers when using noteHeadOn with number.  
When I copy the same Ez_numbers_engraver and EzNum onto my other .ly file I did 
not get the larger number effect. I have no idea what's wrong.

Ming.

<><><> .ly file
\version "2.13.33"
#(ly:set-option 'delete-intermediate-files #f)
\header {
%  #(before-title-space 10\mm) 
  title = "The Lord Is In His Holy Temple"
  subtitle = "主在聖殿中 "
  poet = "詞"
  composer = " 曲"
  meter = \markup { "D" "4/4" } 
  
  enteredby="ymingT"
  maintainer="ymingT"
  texidoc = ""
}

ignoreMelisma =\set ignoreMelismata = ##t
ignoreMelismaOff = \unset ignoreMelismata 
#(define Ez_numbers_engraver
   (list
(cons 'acknowledgers
  (list
   (cons 'note-head-interface
 (lambda (engraver grob source-engraver)
   (let* ((context (ly:translator-context engraver))
  (tonic-pitch (ly:context-property context 'tonic))
  (tonic-name (ly:pitch-notename tonic-pitch))
  (grob-pitch
   (ly:event-property (event-cause grob) 'pitch))
  (grob-name (ly:pitch-notename grob-pitch))
  (delta (modulo (- grob-name tonic-name) 7))
  (note-names
   (make-vector 7 (number->string (1+ delta)
 (ly:grob-set-property! grob 'note-names note-names

#(set-global-staff-size 20)

EzNum = {
 \override Staff.StaffSymbol #'staff-space = #2.25
 \override Staff.StaffSymbol #'line-thickness = #1.25
 \override Staff.NoteHead #'font-size = #+2.75
 \override Staff.Clef #'font-size = #+2.25
 \override Staff.TimeSignature #'font-size = #+2.25
 \override Staff.Accidental #'font-size = #+2.25
 \easyHeadsOn
 \override Voice.NoteHead #'font-size = #-0.25
}
\paper  {
%#(set-global-staff-size (* 5.8 mm))
  indent = #(* mm 0)
  line-width = #(* mm 180)
  interscoreline = 2.\mm
  between-system-space = 36\mm
  ragged-bottom = ##t 
}

\include "english.ly"
TimeKey = { \time 4/4  \key d \major  }   % \partial 4
SopMusic   = \relative c' { 
\EzNum  
fs2 fs4 fs | fs( g) fs2 |%bar 01-02
a2 a4 a | a( b) a2 |%bar 03-04
g4. g8 g4 g | fs2 r4 b4 |%bar 05-06
a4 fs d e | fs2 fs4( g) |%bar 07-08
e1 | d2 r4 d4 |%bar 09-10
d2 r4 d4 | d2 r4 d4 |%bar 11-12
d2 cs2 | d1 |%bar 13-14
d1 | d1 |%bar 15-16
  }
AltoMusic  = \relative c' {
\EzNum 
\override NoteHead #'color = #blue
d2 d4 d | d2 d2 |%bar 01-02
fs2 fs4 fs | fs2 fs |%bar 03-04
g4. g8 e4 e | cs2 s4 d4 |%bar 05-06
d4 d d d | d2 d |%bar 07-08
d2( cs2) | a2 s4 a4 |%bar 09-10
b2 s4 d4 | a2 s4 a4 |%bar 11-12
b2 a2 | a1 |%bar 13-14
b1 | a1 |%bar 15-16
  }
TenorMusic = \relative c  {
\EzNum 
a'2 a4 a4 | a4( b4) a2 |%bar 01-02
c2 cs?4 cs4 | c4( d4) cs2 |%bar 03-04
b4. b8 b4 b4 | as2 r4 g4 |%bar 05-06
a4 a4 b4 b4 | a2 a2 |%bar 07-08
a2( g2) | fs2 r4 fs4 |%bar 09-10
fs2 r4 fs4 | fs2 r4 fs4 |%bar 11-12
g2 g2 | fs1 |%bar 13-14
g1 | fs1 |%bar 15-16
  }
BassMusic  = \relative c  {
\EzNum
\override NoteHead #'color = #red
d2 d4 d4 | d2 d2 |%bar 01-02
d2 d4 d4 | d2 d2 |%bar 03-04
e4. e8 e4 e4 | fs2 s4 g4 |%bar 05-06
f4 d4 b4 g4 | a2 a2 |%bar 07-08
a1 | d2 s4 cs4 |%bar 09-10
b2 s4 b4 | a2 s4 a4 | %bar 11-12
g2 a2 | d1 |%bar 13-14
d1 | d1 |%bar 15-16
 }

PianoRHand = \relative c' {
<< {d'8 bf8 ef8 d8 a'8 g8 bf8 a8} \\ {f,2\mf df'2} >> |

  1   2   3   4   5   6   7   >