Re: \parenthesize macro bug?

2012-07-28 Thread Gagi Petrovic
This works perfectly, thank you David!

On 27 July 2012 11:30, David Kastrup  wrote:

> Gagi Petrovic  writes:
>
> > Dear ponders, i just wanted to create a macro for the use of
> > \parenthesize, doing:
> >
> >
> > pa = \parenthesize
> >
> > But whenever i compile the file, i get an error message saying the
> > line after this macro has an "unexpected STRING". After removing the
> > macro, everything is fine. Is anyone experiencing the same problem?
>
> \parenthesize _calls_ the function.
>
> > P.S. using 2.14.2 on OS 10.6.8
>
> pa = #parenthesize
>
> should likely work.
>
> --
> David Kastrup
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
+31 6 1259 8681 |
LinkedIn
 | gagipetrovic.nl
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-user Digest, Vol 116, Issue 62

2012-07-28 Thread MING TSANG
David Kastrup,

Thank you for the link.  I only knew English and Chinese, no German; but I 
manage to copy the namer.  It works.  I am a cobol programmer and not able to 
adapt this "namer" to print number-pitch.   Appreciate if you can help modify 
it to print number-pitch.  


The "namer" is much better than manually attach finger number as suggested from 
Wim van Dommelen. e.g.   c8-1 b4-7 a4-6 e'8-3 c''4.-1 b'4-7  etc.   For a 
simple and short score this is fine, but for 120 bars score is a chore.  

 
Blessing in+,
Ming


>
>
>Date: Fri, 27 Jul 2012 19:10:07 -0700 (PDT)
>From: MING TSANG 
>To: lilypond-usermailinglist 
>Subject: number-pitch printed on top / below of staff
>Message-ID:
>    <1343441407.82855.yahoomail...@web88610.mail.bf1.yahoo.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi, lily users:
>
>Is it possible to print printed number-pitch on top or below the staff?? Some 
>user helped me to generate numbered note heads.?? I like the note head as 
>default note heads, but the transcribe number printed on top or below staff.
>
>attach png shows numbered note head.
>
>?
>Blessing in+,
>Ming.
>-- next part --
>An HTML attachment was scrubbed...
>URL: 
>
>-- next part --
>A non-text attachment was scrubbed...
>Name: 2012-07-27_220251.png
>Type: image/png
>Size: 8828 bytes
>Desc: not available
>URL: 
>
>
>--
>
>Message: 4
>Date: Sat, 28 Jul 2012 05:08:53 +0200
>From: David Kastrup 
>To: lilypond-user@gnu.org
>Subject: Re: number-pitch printed on top / below of staff
>Message-ID: <87obn0vayi@fencepost.gnu.org>
>Content-Type: text/plain; charset=iso-8859-1
>
>MING TSANG  writes:
>
>> Hi, lily users:
>>
>> Is it possible to print printed number-pitch on top or below the
>> staff?? Some user helped me to generate numbered note heads.?? I like
>> the note head as default note heads, but the transcribe number printed
>> on top or below staff.
>>
>> attach png shows numbered note head.
>
>Take a look at the slides (and/or the talk) of
>http://chemnitzer.linux-tage.de/2012/vortraege/900>.  Something
>like that (just note names instead of numbers, but changing that is
>trivial) has been the last demonstration of the talk.
>
>-- 
>David Kastrup
>
>
>
>
>--
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>End of lilypond-user Digest, Vol 116, Issue 62
>**
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-user Digest, Vol 116, Issue 62

2012-07-28 Thread David Kastrup
MING TSANG  writes:

> David Kastrup,
>
> Thank you for the link.  I only knew English and Chinese, no German;
> but I manage to copy the namer.  It works.  I am a cobol programmer
> and not able to adapt this "namer" to print number-pitch.   Appreciate
> if you can help modify it to print number-pitch. 

Well, there is a string "CDEFGAH" in the code.  Replacing that with
"1234567" should likely do what you want.

-- 
David Kastrup

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


Re: LilyPond developer&user meeting in Waltrop, August 24th to 28th

2012-07-28 Thread Graham Percival
On Fri, Jul 27, 2012 at 06:31:31PM +0200, David Kastrup wrote:
> Graham Percival  writes:
> 
> > Ok, what else... you've mentioned "more people able to roll
> > releases", which would be a fantastic way to increase our bus
> > factor.
> 
> I think we really need to get a dedicated net-accessible computer for
> that at some point of time.

I've mused about getting a free amazon web services AWS micro
instance, but that's not powerful enough.  GUB uses a lot of
resources, so I think we're stuck using desktop computers for now
unless we want to pay $20 a month.  On the plus side, computers
keep on getting cheaper and more powerful.

> > [1] which, in the US or Canada, would absolutely suck, but I now
> > suspect is better than my connection in central Glasgow.
> 
> No idea.  It is 1Mbit/s DSL.  Not really enough for remote GUI sessions,
> but I guess we'll be able to make it work for most purposes.

oh, ssh is plenty of playing with GUB.

- Graham

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


Re: LilyPond developer&user meeting in Waltrop, August 24th to 28th

2012-07-28 Thread Rodolfo Zitellini
On Fri, Jul 20, 2012 at 10:40 PM, David Kastrup  wrote:
>
> Hello,
>
> before further delaying the announcement due to minor issues (for
> example, OpenStreetMap wants to have the meeting occur in an electrical
> power transformer array), here is the web site with the information.
> I'll add forgotten information by and by, but the important thing is to
> get the travel information and the dates and give feedback about who
> wants to come and when, and what sleeping arrangements should be made.
>
> Location is Waltrop near Dortmund in Germany, date is August 24th to
> 28th.  Here is the web site, and the agenda for starters.
>
> http://news.lilynet.net/?LilyPond-meeting-in-Waltrop>
>
> Agenda
>
> A number of core LilyPond contributors have agreed to come. Apart from
> myself, Graham, Mike, possibly John, Valentin (?), Janek, Marc, Thomas
> Morley will be present. Depending on their travel dates, I will try to
> arrange workshops and discussion groups for particular topics. It is
> likely that we will have more basic programming tutorials and exchanges
> at the weekend to accommodate weekend travellers. We definitely should
> get several people able to roll releases, and more able to run the
> regression tests on issues.
>
> Tutorial topics might be working on the parser, Scheme programming,
> integrating Guile with C++, LilyPond architecture, advanced LilyPond
> constructs (output definitions, contexts, translators, listeners,
> \dots), Texinfo writing, productivity with Emacs.
>
> Of course, performing music is also possible. I can offer a variety of
> accordions (though only one with piano keys), a guitar and basic MIDI
> and recording equipment. So it would also be an option to compare ways
> of getting MIDI into LilyPond.
>
> Of course, the common consumption of solid and liquid forms of
> sustenance is also scheduled.
>
>
> --
> David Kastrup
>
> ___
> lilypond-devel mailing list
> lilypond-de...@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-devel

Hi All!
is the meeting open to all users? I would be very interested in
coming, as I would love to learn a bit more of the program's internals
and how to interact with scheme. I can also help a bit for the
releases (my c++ is a bit rusty, but well...) and I have no fear of
the build system (well, mostly, but I had to compile stuff much more
involved than Lilypond)
Another thing I would like to talk about is using Lilypond in a
professional print environment. In my University we are starting a new
series of printed music books ("Musik aus Schweizer Klöstern") and
Lily will be the tool for engraving all the music (well, "will be" at
90%, you never know what can happen in environments like this, but we
are already making the layout of the next three books in Lily) - so
discussions on long term archival of the music sources, how to setup a
workflow with other people and like are all interesting to me.
Ciao!
Rodolfo

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


Automatic beam problem

2012-07-28 Thread Daniel Raufison

Hello,

The automatic beam placing does not work, as I expect it. Please have a 
look at the last line of this score:


https://github.com/broepi/broepi-piano-scores/blob/master/Centurion.pdf?raw=true

This song is in 4/4. In bar 9 and 10 the beams are drawn over a half 
group but I want the beams connecting at most a group forming a quarter 
(for a better view).


Shouldn't the following two statements do what I want? Unforunatley, it 
does not work.


\set Timing.baseMoment = #(ly:make-moment 1 4)
\set Timing.beatStructure = #'(1 1 1 1)

The source code for the above score is here: 
https://github.com/broepi/broepi-piano-scores/blob/master/Centurion.ly


What did I miss?

Thank you and musical regards ;)
Daniel

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


Re: Automatic beam problem

2012-07-28 Thread Trevor Daniels

Daniel Raufison wrote Saturday, July 28, 2012 8:16 PM

> Shouldn't the following two statements do what I want? Unforunatley, it 
> does not work.
> 
> \set Timing.baseMoment = #(ly:make-moment 1 4)
> \set Timing.beatStructure = #'(1 1 1 1)

You need to reset beamExceptions:

\set Timing.beamExceptions = #'()

These take priority over beatStructure.

Alternatively just insert manual beams if only a couple of bars
are affected.

This part of the manual is in need of a rewrite to avoid
this common error.

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


Vertical spacing: Was between-system-space deprecated?

2012-07-28 Thread ivan . k . kuznetsov


I am interested in controlling the vertical spacing
within systems.

I recently migrated from 2.12.2 to 2.15.39 .


In my one lilypond score, the spacing between
systems changed greatly between the PDFs built with
these two versions


Online documentation v2.12, has a section that specifically
discusses this:

  4.4.2 Vertical spacing between systems

and discusses the use of the following four variables:

  between-system-space = 1.5\cm
  between-system-padding = #1
  ragged-bottom=##f
  ragged-last-bottom=##f


I started looking at the 2.14 documentation (the most
recent I could find at http://lilypond.org) and the title
of 4.4.2 was changed to:

   4.4.2 Explicit staff and system positioning

(which generally means the same thing) though now this
section includes no mention of the 
between-system-space and between-system-padding
variables.


Are these four variables considered deprecated?

Thanks;








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


Vertical spacing: Was between-system-space deprecated?

2012-07-28 Thread wjm

You wrote:-
+++
I am interested in controlling the vertical spacing
within systems.
I recently migrated from 2.12.2 to 2.15.39 .
In my one lilypond score, the spacing between
systems changed greatly between the PDFs built with
these two versions
Online documentation v2.12, has a section that specifically
discusses this:
  4.4.2 Vertical spacing between systems
and discusses the use of the following four variables:
  between-system-space = 1.5\cm
  between-system-padding = #1
  ragged-bottom=##f
  ragged-last-bottom=##f
I started looking at the 2.14 documentation (the most
recent I could find at http://lilypond.org) and the title
of 4.4.2 was changed to:
   4.4.2 Explicit staff and system positioning
(which generally means the same thing) though now this
section includes no mention of the
between-system-space and between-system-padding
variables.
Are these four variables considered deprecated?
Thanks;

Greetings Ivan,
Did you use convert.ly to 'upgrade' your lilypond score?

The following link might provide the information you require:-

http://lilypond.org/doc/v2.15/Documentation/notation-big-page.html#flexible-vertical-spacing-within-systems

That is section 4.4.1 - See Section 4.4.2 as well

Note that it is for LP v 2.15.41 but it should apply to 2.15.39

Hope this helps
Regards
Bill

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


Re: Vertical spacing: Was between-system-space deprecated?

2012-07-28 Thread Trevor Daniels

ivan.k.kuznet...@gmail.com wrote Saturday, July 28, 2012 9:27 PM

> I started looking at the 2.14 documentation (the most
> recent I could find at http://lilypond.org) 

Please use the documentation for 2.15.41:

http://www.lilypond.org/doc/v2.15/Documentation/notation

You'll find the documentation for 2.15 to the right of the
home page, under Quick links.

Vertical spacing in 2.14 and 2.15 is completely different from
2.12.  You'll need to read section 4.1.4 rather than 4.4.2 in
the Notation Reference.

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


Complex chords with splayed stems - Script-positioning

2012-07-28 Thread Thomas Morley
Hi,

after an idea by Mike Solomon
-> http://lists.gnu.org/archive/html/lilypond-user/2011-12/msg00421.html
I've worked on complex chords with splayed stems.
Seems to work so far.

But if I add an articulation it moves to an unexpected NoteHead.
TextScript doesn't move!

I tried to set an explicit grob-parent, without success.

Any hints?


Cheers,
  Harm

%

\version "2.15.39"

\paper {
indent = 25
print-all-headers = ##t
}

#(define ((positioning-done l1 l2) grob)
  (if (< (ly:grob-property grob 'duration-log) 1)
#f
(let* ((nh (ly:grob-array->list (ly:grob-object grob 'note-heads)))
   (default-nh-x-width (interval-length (ly:stencil-extent
(ly:note-head::print grob) X)))
   (accidental-grobs (map (lambda (x) (ly:grob-object x
'accidental-grob)) nh))
   (sys (ly:grob-parent (ly:grob-parent (ly:grob-parent grob X) X) X))
   (nh-ref-pts (map (lambda (x) (ly:grob-relative-coordinate x
sys X)) nh))
   (acc-ref-pts
 (map
   (lambda (x) (if (ly:grob? x)
(ly:grob-relative-coordinate x sys X) #f))
 accidental-grobs)))

  ;; note-heads
  (for-each
(lambda (x y z)
  (ly:grob-translate-axis! x (* y z) X))
nh (iota (length nh)) l1)

  ;; accidentals
  (for-each
(lambda (a b c d add)
(if (null? a)
  #f
  (ly:grob-translate-axis! a (- (* b c) d default-nh-x-width add) X)))
accidental-grobs (iota (length nh)) l1 acc-ref-pts l2)))
0.0)

#(define (splayed-stem-stencil grob)
  (if (< (ly:grob-property grob 'duration-log) 1)
#f
(let* ((pc (ly:grob-parent (ly:grob-parent grob X) X))
   (nc (ly:grob-parent grob Y))
   (dir (ly:grob-property grob 'direction))
   (half-space (* 0.5 (ly:staff-symbol-staff-space grob)))
   (thick (* (ly:grob-property grob 'thickness)
 (ly:staff-symbol-line-thickness grob)))
   (y1 (* half-space (ly:stem::calc-stem-begin-position grob)))
   (y2 (- (* half-space (ly:stem::calc-stem-end-position
grob)) (* 2 thick)))
   (nh (ly:grob-array->list (ly:grob-object grob 'note-heads)))
   (x (ly:grob-relative-coordinate (car nh) pc X))
   (first-nh-staff-pos (ly:grob-property (car nh) 'staff-position))
   (targets-staff-pos (map (lambda (x) (ly:grob-property x
'staff-position)) nh))
   (sorted-targets-staff-pos (sort targets-staff-pos <))
   (beam (ly:grob-object grob 'beam))
   (beam-corr (if (and (= dir -1) (ly:grob? beam)) -1 1))
   (corr-add (if (and (>= first-nh-staff-pos (car
sorted-targets-staff-pos)) (= dir 1))
   (/ (- first-nh-staff-pos (car
sorted-targets-staff-pos)) 2)
   (/ (- first-nh-staff-pos (car (reverse
sorted-targets-staff-pos))) 2)))
   (stem-y-corr (map (lambda (x)  (+  (/ (- x
first-nh-staff-pos) 2) corr-add)) targets-staff-pos))
   (stencil (apply
  ly:stencil-add
  (map (lambda (nh y)
 (let ((my-x (car (ly:grob-extent nh pc X
   (make-line-stencil thick x (* beam-corr
y2) my-x (+  y y1
   nh stem-y-corr
stencil)))

#(define (new-flag-stencil grob)
(let* ((stil (ly:flag::print grob))
   (stem (ly:grob-parent grob X))
   (dir (ly:grob-property stem 'direction))
   (thick (* (ly:grob-property stem 'thickness)
 (ly:staff-symbol-line-thickness grob)))
   (x-ext (ly:stencil-extent stil X))
   (y-ext (ly:stencil-extent stil Y))
   (line-stil (make-line-stencil thick (car x-ext) (car y-ext)
(car x-ext) (cdr y-ext)))
   (new-stil (ly:stencil-translate-axis
 (ly:stencil-combine-at-edge
   stil
   X LEFT
   line-stil 0)
 (* dir (- (interval-length y-ext) (* 3
thick))) Y)))
new-stil))

#(define (new-X-extent grob)
;; TODO Better spacing
  (let* ((x-ext (ly:grob-property grob 'X-extent)))
  (ly:grob-set-property! grob 'X-extent (cons (* 2 (car x-ext)) (* 2
(cdr x-ext))

splayedStemChord =
#(define-music-function (parser location l1 l2 mus)
   (list? list? ly:music?)
#{
\once \override Flag #'stencil = #new-flag-stencil
\once \override Score.NoteColumn #'before-line-breaking = #new-X-extent
\once \override Stem #'positioning-done = #(positioning-done l1 l2)
\once \override Stem #'stencil = #splayed-stem-stencil


\once \override Score.Script #'before-line-breaking =
  #(lambda (grob)
 (let* ((nc (ly:grob-parent grob X))
(nh (ly:grob-array->list (ly:grob-object nc 'note-heads
   (set! (ly:grob-parent grob X)
 (car nh

 $mus
#})

%--

Re: Complex chords with splayed stems - Script-positioning

2012-07-28 Thread David Nalesnik
Hi Harm,

This is cool!

The problem is in the definition of splayedStemChord: NoteHead is the
X-parent of Script, so you're missing a step en route to NoteColumn.
Also, it turns out you need to override 'after-line-breaking rather
than 'before-line-breaking.

> splayedStemChord =
> #(define-music-function (parser location l1 l2 mus)
>(list? list? ly:music?)
> #{
> \once \override Flag #'stencil = #new-flag-stencil
> \once \override Score.NoteColumn #'before-line-breaking = 
> #new-X-extent
> \once \override Stem #'positioning-done = #(positioning-done l1 l2)
> \once \override Stem #'stencil = #splayed-stem-stencil
>
>
> \once \override Score.Script #'before-line-breaking =
>   #(lambda (grob)
>  (let* ((nc (ly:grob-parent grob X))
> (nh (ly:grob-array->list (ly:grob-object nc 
> 'note-heads
>(set! (ly:grob-parent grob X)
>  (car nh
>
>  $mus
> #})

Try this:

splayedStemChord =
#(define-music-function (parser location l1 l2 mus)
   (list? list? ly:music?)
#{
\once \override Flag #'stencil = #new-flag-stencil
\once \override Score.NoteColumn #'before-line-breaking = #new-X-extent
\once \override Stem #'positioning-done = #(positioning-done l1 l2)
\once \override Stem #'stencil = #splayed-stem-stencil


\once \override Score.Script #'after-line-breaking =
  #(lambda (grob)
 (let* ((note-head (ly:grob-parent grob X))
(nc (ly:grob-parent note-head X))
(nh (ly:grob-array->list (ly:grob-object nc 'note-heads
   (set! (ly:grob-parent grob X)
 (car nh

 $mus
#})

HTH,
David

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


Re: Complex chords with splayed stems - Script-positioning

2012-07-28 Thread Thomas Morley
2012/7/29 David Nalesnik :
> Hi Harm,
>
> This is cool!
>
> The problem is in the definition of splayedStemChord: NoteHead is the
> X-parent of Script, so you're missing a step en route to NoteColumn.
> Also, it turns out you need to override 'after-line-breaking rather
> than 'before-line-breaking.

Hi David,

overriding 'before-line-breaking returns the NoteColumn as X-parent of Script:

\once \override Score.Script #'before-line-breaking =
  #(lambda (grob)
 (let* ((nc (ly:grob-parent grob X))
(nh (ly:grob-array->list (ly:grob-object nc 'note-heads

   (newline)(display "nc-- ")(display nc)
   (set! (ly:grob-parent grob X)
 (car nh

log:
GNU LilyPond 2.15.39
Processing `splayed-stems-post.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
nc-- #
...

so I didn't rethink it.

The approach via 'after-line-breaking works!


Many thanks,
  Harm

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


Enc2ly: converter from Encore to Lilypond (GPLv3+)

2012-07-28 Thread Felipe Castro
Hello people,

I have written a little program to convert from that infamous format, Encore, 
so 
that I may use many scores available on the web, without much effort to retype 
everything in lilypond.

Here it is:
http://enc2ly.sourceforge.net/en/

Hope it may be useful for some of you.

Regards,
Felipe Castro.


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


Re: Complex chords with splayed stems - Script-positioning

2012-07-28 Thread David Nalesnik
Hi Harm,

> overriding 'before-line-breaking returns the NoteColumn as X-parent of Script:

Aha--so it does.

> The approach via 'after-line-breaking works!
>
>
> Many thanks,
>   Harm

Glad I could help!

-David

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


Re: Complex chords with splayed stems - Script-positioning

2012-07-28 Thread Nick Payne

On 29/07/12 07:14, Thomas Morley wrote:

Hi,

after an idea by Mike Solomon
-> http://lists.gnu.org/archive/html/lilypond-user/2011-12/msg00421.html
I've worked on complex chords with splayed stems.
Seems to work so far.


When I build your example on 2.15.41, all the stems are missing. Happens 
both with your original code and David's suggested amendment.


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


Re: Complex chords with splayed stems - Script-positioning

2012-07-28 Thread David Nalesnik
Hi Nick,

>
> When I build your example on 2.15.41, all the stems are missing. Happens
> both with your original code and David's suggested amendment.
>

Yes, this happened for me too on 2.15.41.  It works on 2.15.39,
2.15.40, and 2.15.42, though.

-David

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


Re: number-pitch printed on top / below of staff

2012-07-28 Thread MING TSANG
Hi, David,

Thank you for your info of adaption to generate number-pitch.
Questions:
1.  How do I put the number-pitch above the staff?
2.  How to make the font size smaller?
3.  How to align all number-pitch horizontally?


Below is a snippet & png:

\version "2.15.0" 
\include "english.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 "1234567" (ly:pitch-notename pitch))
(assoc-ref 
'((-1/2 . "b") (0 . "") (1/2 . "#"))
(ly:pitch-alteration pitch)
(if (string= name "Hb")
(set! name "B"))
(set! (ly:grob-property newgrob 'text) name) 
mbk = \break
global = {\key c\major  \time 4/4  \tempo 4 = 100}
sopranonotes = \relative c''
{ \global 
%  r2.^\markup{\box A}  r8 e,8-3 | c'4.-1 ( b8-7) a4-6 b8-7 c8-1 | b4.-7 g8-5 
g2-5 | a4.-6 a8-6 g8-5 f8-4 e8-3 d8-2 | c4.-1 d8-2 e4.-3 e8-3 |\mbk
r2.^\markup{\box A}  r8 e,8 | c'4. ( b8) a4 b8 c8 | b4. g8 g2 | a4. a8 g8 f8 e8 
d8 | c4. d8 e4. e8 |\mbk
\bar "||"  \label #'lastPage
} 
harmonies = {
\chordmode {
s1 a1:m  e1:m  f2 g2  c2 e:7
}
}
SSlyricsA = \lyricmode { \set fontSize = #'1.0
%\set stanza = #"1. " 
願  聖  靈  此  刻  充  滿  我, 觸  摸  心  裡  的  一  切  苦  楚, 真
}
\score {
\new ChoirStaff <<
<<
\context ChordNames { 
\harmonies 
}
>> 
\new Staff << 
\global 
\new Voice = "soprano"  \with {\consists #namer }<< 
{   \sopranonotes}
>>
>>
\new Lyrics \lyricsto "soprano" { \SSlyricsA   }
>>
\layout {
\context {  }
}
\midi {
\context { }
}
}
 
Blessing in+,
Ming.


>
> From: David Kastrup 
>To: MING TSANG  
>Cc: "lilypond-user@gnu.org"  
>Sent: Saturday, July 28, 2012 9:00:30 AM
>Subject: Re: lilypond-user Digest, Vol 116, Issue 62
> 
>MING TSANG  writes:
>
>> David Kastrup,
>>
>> Thank you for the link.  I only knew English and Chinese, no German;
>> but I manage to copy the namer.  It works.  I am a cobol programmer
>> and not able to adapt this "namer" to print number-pitch.   Appreciate
>> if you can help modify it to print number-pitch. 
>
>Well, there is a string "CDEFGAH" in the code.  Replacing that with
>"1234567" should likely do what you want.
>
>-- 
>David Kastrup
>
>
><>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


New question - Threepenny Opera. Urgent, please help!

2012-07-28 Thread Rosel Labone

Hello oh helpful, lovely people of LilyPond Land!

I just purchased two Kurt Weill pieces but they are in the wrong key. I need 
them transposed before next Saturday, or I need someone who already has them in 
the correct key??

The pieces are:

Pirate Jenny - needs to be transposed from A minor a tone lower, to G minor
Solomon Song - need to be transposed to F# major

I can forward you the PDFs if you can help me out...

This is a matter of some urgency and anyone who can help will have my undying 
devotion!

Thank you in advance,

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


forced bream overridden by acciatura?

2012-07-28 Thread Helge Kruse
I am typesetting a modern piece with a lot of meter changes. 
Additionally I want to keep the original layout while I am editing the 
score. Therefor I defined a timeline and a breaks block. I got a mystic 
warning that puzzled me:


warning: forced break was overridden by some other event, should you be 
using bar checks?


Bar checks did not gave any help. I experimented with block comments to 
identify the line(s) that caused the warning. Finally I found that this 
warning vanishes when I don't use the \acciatura after the \break.


- Can I keep my concept of manual breaks and avoid this warning? The 
acciatura is part of the music and should not be removed.

- Is there a way to isolate this without try and error?

Regards,
Helge


\version "2.15.38"


timeline = {
  %49
  \time 12/8s8*12 | \bar "||"
  %50
  \time 9/8s8*9 | s8*9 | s8*9 |
}

breaks = {
  %49
  s8*12 |
  s8*9 | \break
}

up = \relative c' {
  %49
  dis4. e fis g |
  %50 9/8
  a! g fis |
  \acciaccatura{b8}a4. g fis8 g a |
% without  \acciaccatura there is no warning:
%  a4. g fis8 g a |
}

\score {
  \new Staff=up { << \timeline \breaks \up >> }
}


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