Re: Using lyrics in a markup

2011-01-18 Thread Marc Hohl

Am 15.01.2011 21:51, schrieb Neil Puttock:

On 15 January 2011 19:01, Marc Hohlm...@hohlart.de  wrote:


Now I wonder whether it is possible to create a kind of text book by
including the lyrics in a markup, perhaps with a scheme function which
replaces the  --  by .

Is it possible to store the text in a variable?

[...]

For simplicity I've ignored hyphens, but it shouldn't be too difficult
to add them (or use their position in the list of strings to restore
the hyphenated words).


This is what I got so far:

\version 2.13.46

words = \lyricmode { This is my ex -- am -- ple text }

#(define (lyrics-list lyrics)
Return a flat list containing all syllables and hyphens from  
@code{lyrics}.

   (let ((extracted-list
  (if (ly:music? lyrics)
  (if (memq (ly:music-property lyrics 'name) '(LyricEvent 
HyphenEvent))
  (begin (if (eq? (ly:music-property lyrics 'name) 
'LyricEvent)

 (list (ly:music-property lyrics 'text))
 (list --)))
  (let ((elt (ly:music-property lyrics 'element))
(elts (ly:music-property lyrics 'elements)))
(if (ly:music? elt)
(lyrics-list elt)
(if (null? elts)
'()
(map (lambda(x)
(lyrics-list x))
 elts)
  '(
 (flatten-list extracted-list)))


text = #(lyrics-list words)

melody = \relative c' { c4 d e f | g a c2 }

\new Voice { \melody }
\addlyrics { \words }

#(markup* (make-line-markup text))

The function liyrics-list extracts the syllables and the hyphens.

The second part (eliminating the hyphens in the list and concatenate the 
surrounding

syllables) seems a bit harder, but I try to find a solution.

Regards,

Marc

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


Re: Error in glyphs: glyphs with filled loops at different feta font sizes

2011-01-18 Thread Phil Holmes
Compiling the glitch.ly at 17.82 on 2.13.46 on Windows produces perfect 
output, so it's either specific to an OS, a machine, or a Lilypond build.


--
Phil Holmes


- Original Message - 
From: Frank Steinmetzger war...@gmx.de

To: lilypond-user@gnu.org
Sent: Tuesday, January 18, 2011 4:35 AM
Subject: Error in glyphs: glyphs with filled loops at different feta font 
sizes



Hello List,

I am having a problem here with Lilypond 2.12.3 on Gentoo Linux. I use a 
size

of 14.14 for my own things, so I haven’t noticed it yet. But now I’ve come
across someone else’s documents, which are set at 17.82. There the loop at 
the
tip of the G clef is filled out. And at size 15.87 it’s the 4/4 time 
signatury

glyph that displays incorrectly. Can you tell me how to avoid this?

I attached a screenie of the sizes in question and the ly they were made 
with.


I have tried all sizes that are stated in the comment of the attached file.
The filled loop also occurs at 11.22, 20 and 22.45. At 25.2 I noticed that 
the

clef’s centre diagonal line has an error at its lower end (the inside of the
curve is thicker). Thus I discovered this error in the others as well.

Only 12.6 and 14.14 seem to really look normal.
I tested it with Okular, Gnome’s PDF viewer and KPDF, they all showed the
error. But still I’m attaching the PDF for size 17.82 to test it.
--
Gruß | Greetings | Qapla'
Emacs is a great operating system, which only lacks a good editor.






___
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: Using lyrics in a markup

2011-01-18 Thread jakob lund
2011/1/18 Marc Hohl m...@hohlart.de:
 Am 15.01.2011 21:51, schrieb Neil Puttock:

 On 15 January 2011 19:01, Marc Hohlm...@hohlart.de  wrote:

 Now I wonder whether it is possible to create a kind of text book by
 including the lyrics in a markup, perhaps with a scheme function which
 replaces the  --  by .

 Is it possible to store the text in a variable?

 [...]

 For simplicity I've ignored hyphens, but it shouldn't be too difficult
 to add them (or use their position in the list of strings to restore
 the hyphenated words).

 This is what I got so far:

 \version 2.13.46

 words = \lyricmode { This is my ex -- am -- ple text }

 #(define (lyrics-list lyrics)
 Return a flat list containing all syllables and hyphens from
  @code{lyrics}.
   (let ((extracted-list
          (if (ly:music? lyrics)
              (if (memq (ly:music-property lyrics 'name) '(LyricEvent
 HyphenEvent))
                  (begin (if (eq? (ly:music-property lyrics 'name)
 'LyricEvent)
                             (list (ly:music-property lyrics 'text))
                             (list --)))
                  (let ((elt (ly:music-property lyrics 'element))
                        (elts (ly:music-property lyrics 'elements)))
                    (if (ly:music? elt)
                        (lyrics-list elt)
                        (if (null? elts)
                            '()
                            (map (lambda(x)
                                    (lyrics-list x))
                             elts)
              '(
     (flatten-list extracted-list)))


 text = #(lyrics-list words)

 melody = \relative c' { c4 d e f | g a c2 }

 \new Voice { \melody }
 \addlyrics { \words }

 #(markup* (make-line-markup text))

 The function liyrics-list extracts the syllables and the hyphens.


Cool!


 The second part (eliminating the hyphens in the list and concatenate the
 surrounding
 syllables) seems a bit harder, but I try to find a solution.

That's a nice scheme exercise... The following would work (but not if
there are consecutive hyphens)

#(define (reduce-hyphens text)
 ;; Define initial first-word 'wd' and remaining-words 'wds'
 (let eat ((wd (car text)) (wds (cdr text)))
 (cond
   ;; Last syllable reached: Terminate recursion
   ((null? wds) (list wd))
   ((and (equal? -- (car wds)) (not (null? (cdr wds
;; The first remaining word is a hyphen AND there
is a syllable after that
;; Concatenate that syllable onto wd, and recurse
(eat (string-concatenate (list wd (cadr wds))) (cddr wds)))
   ;; Not a hyphen, just use wd as the first word on
the list, and then recurse.
   (else (cons wd (eat (car wds) (cdr wds)))

#(define (lyrics-text lyrics) (reduce-hyphens (lyrics-list lyrics)))

text = #(lyrics-text words)

Cheers
Jakob.


 Regards,

 Marc

 ___
 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: Using lyrics in a markup

2011-01-18 Thread Jan-Peter Voigt

Hello List,

this is a very cool snippet! I also thought of trying this excersize ... 
perhaps tomorrow ;-)

I think it should be posted to LSR!
There is one thing I tried: If you have markups in your lyrics:

words = \lyricmode { This is my ex -- am -- ple \markup { \italic text } }

this function will fail.
Perhaps someone is willing to play this scheme-game a bit further?

Best regards,
Jan-Peter


On 18.01.2011 12:56, jakob lund wrote:

2011/1/18 Marc Hohlm...@hohlart.de:

Am 15.01.2011 21:51, schrieb Neil Puttock:

On 15 January 2011 19:01, Marc Hohlm...@hohlart.dewrote:


Now I wonder whether it is possible to create a kind of text book by
including the lyrics in a markup, perhaps with a scheme function which
replaces the  --  by .

Is it possible to store the text in a variable?

[...]

For simplicity I've ignored hyphens, but it shouldn't be too difficult
to add them (or use their position in the list of strings to restore
the hyphenated words).

This is what I got so far:

\version 2.13.46

words = \lyricmode { This is my ex -- am -- ple text }

#(define (lyrics-list lyrics)
Return a flat list containing all syllables and hyphens from
  @code{lyrics}.
   (let ((extracted-list
  (if (ly:music? lyrics)
  (if (memq (ly:music-property lyrics 'name) '(LyricEvent
HyphenEvent))
  (begin (if (eq? (ly:music-property lyrics 'name)
'LyricEvent)
 (list (ly:music-property lyrics 'text))
 (list --)))
  (let ((elt (ly:music-property lyrics 'element))
(elts (ly:music-property lyrics 'elements)))
(if (ly:music? elt)
(lyrics-list elt)
(if (null? elts)
'()
(map (lambda(x)
(lyrics-list x))
 elts)
  '(
 (flatten-list extracted-list)))


text = #(lyrics-list words)

melody = \relative c' { c4 d e f | g a c2 }

\new Voice { \melody }
\addlyrics { \words }

#(markup* (make-line-markup text))

The function liyrics-list extracts the syllables and the hyphens.


Cool!


The second part (eliminating the hyphens in the list and concatenate the
surrounding
syllables) seems a bit harder, but I try to find a solution.

That's a nice scheme exercise... The following would work (but not if
there are consecutive hyphens)

#(define (reduce-hyphens text)
  ;; Define initial first-word 'wd' and remaining-words 'wds'
  (let eat ((wd (car text)) (wds (cdr text)))
  (cond
;; Last syllable reached: Terminate recursion
((null? wds) (list wd))
((and (equal? -- (car wds)) (not (null? (cdr wds
 ;; The first remaining word is a hyphen AND there
is a syllable after that
 ;; Concatenate that syllable onto wd, and recurse
 (eat (string-concatenate (list wd (cadr wds))) (cddr wds)))
;; Not a hyphen, just use wd as the first word on
the list, and then recurse.
(else (cons wd (eat (car wds) (cdr wds)))

#(define (lyrics-text lyrics) (reduce-hyphens (lyrics-list lyrics)))

text = #(lyrics-text words)

Cheers
Jakob.


Regards,

Marc

___
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




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


Re: Error in glyphs: glyphs with filled loops at different feta font sizes

2011-01-18 Thread Jan Warchoł
I'm using Adobe Reader on Windows XP SP3 machine.
Your pdf glitches17.82 displays wrong indeed (however the errors in
the display are different with different zoom).
Compiling the ly gives perfect output (in attachment).

cheers,
Janek

2011/1/18 Phil Holmes m...@philholmes.net

 Compiling the glitch.ly at 17.82 on 2.13.46 on Windows produces perfect 
 output, so it's either specific to an OS, a machine, or a Lilypond build.

 --
 Phil Holmes


 - Original Message - From: Frank Steinmetzger war...@gmx.de
 To: lilypond-user@gnu.org
 Sent: Tuesday, January 18, 2011 4:35 AM
 Subject: Error in glyphs: glyphs with filled loops at different feta font 
 sizes


 Hello List,

 I am having a problem here with Lilypond 2.12.3 on Gentoo Linux. I use a size
 of 14.14 for my own things, so I haven’t noticed it yet. But now I’ve come
 across someone else’s documents, which are set at 17.82. There the loop at the
 tip of the G clef is filled out. And at size 15.87 it’s the 4/4 time signatury
 glyph that displays incorrectly. Can you tell me how to avoid this?

 I attached a screenie of the sizes in question and the ly they were made with.

 I have tried all sizes that are stated in the comment of the attached file.
 The filled loop also occurs at 11.22, 20 and 22.45. At 25.2 I noticed that the
 clef’s centre diagonal line has an error at its lower end (the inside of the
 curve is thicker). Thus I discovered this error in the others as well.

 Only 12.6 and 14.14 seem to really look normal.
 I tested it with Okular, Gnome’s PDF viewer and KPDF, they all showed the
 error. But still I’m attaching the PDF for size 17.82 to test it.
 --
 Gruß | Greetings | Qapla'
 Emacs is a great operating system, which only lacks a good editor.


 


 ___
 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


glitches.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


how to add punctuation mark (or other things) at the end of lyric extender?

2011-01-18 Thread Janek Warchoł
Hi all,
i have a melisma at the end of a sentence, like here:

\version 2.13.45
{
  \new Voice { c'8 d'4 e'8( c' f'4. g2 c'8 )}
  \addlyrics { ex -- ten -- der. __ }
}

i'd like the dot to appear after the extender (like in the bottom of
the attachment).
How can this be done? Manuals seem to say nothing about this, as well
as the mailing list archive.

cheers,
Janek
attachment: extender.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


highlighting notes in pdf, synchronized pdf and midi playback

2011-01-18 Thread Janek Warchoł
Hi,

i'm pretty sure that i saw a program that could highlight objects in
compiled pdf corresponding to the selected lilypond input, but i
cannot find it now. Am i right? What was it?
Also, is there any program that would play a midi file and highlight
corresponding notes in pdf or do something similar? It would be useful
for more convenient playback of LilyPond-generated scores.
The only thing i found is
http://gitorious.org/qt-pdfviewer
http://qt-apps.org/content/show.php/PDF+MIDI+Player?content=134343
but there are no binaries and i was unable to compile the source...
I'd be grateful for any help.

cheers,
Janek

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


Re: how to add punctuation mark (or other things) at the end of lyricextender?

2011-01-18 Thread Phil Holmes
- Original Message - 
From: Janek Warchoł lemniskata.bernoull...@gmail.com

To: lilypond-user lilypond-user@gnu.org
Sent: Tuesday, January 18, 2011 12:48 PM
Subject: how to add punctuation mark (or other things) at the end of 
lyricextender?




Hi all,
i have a melisma at the end of a sentence, like here:

\version 2.13.45
{
 \new Voice { c'8 d'4 e'8( c' f'4. g2 c'8 )}
 \addlyrics { ex -- ten -- der. __ }
}

i'd like the dot to appear after the extender (like in the bottom of
the attachment).
How can this be done? Manuals seem to say nothing about this, as well
as the mailing list archive.

cheers,
Janek


Jan,

According to the normal engraving manuals, the punctuation should be 
attached to the lyric, not the extender.  e.g.


Kurt Stone: punctuation must appear in its normal position, i.e. not at the 
end of the extender
Gardner Read: If punctuation marks come after a word, the extender begins 
immediately after the [punctuation].


Ted Ross also has the illustration with the extender after the full stop.

--
Phil Holmes



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


Re: highlighting notes in pdf, synchronized pdf and midi playback

2011-01-18 Thread Federico Bruni
2011/1/18 Janek Warchoł lemniskata.bernoull...@gmail.com

 Hi,

 i'm pretty sure that i saw a program that could highlight objects in
 compiled pdf corresponding to the selected lilypond input, but i
 cannot find it now. Am i right? What was it?


It's been quite a long time since I've used it, but, IIRC, jEdit +
LilyPondTool plugin can do it.
Actually it doesn't highlight... It's a jump... a kind of reverse
point-and-click.


 Also, is there any program that would play a midi file and highlight
 corresponding notes in pdf or do something similar? It would be useful
 for more convenient playback of LilyPond-generated scores.


The most recent version of Frescobaldi uses KMid as internal midi player.
When you press Play, you can see the number and the beat of the bar being
played.

[ If you use Debian Squeeze KMid is not in the repository and you have to
compile it, see this thread:
http://groups.google.com/group/frescobaldi/browse_thread/thread/011419c8961c3b4e#]

Also, have you seen this website?
http://musescore.com/videoscores

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


Re: how to add punctuation mark (or other things) at the end of lyricextender?

2011-01-18 Thread Janek Warchoł
2011/1/18 Phil Holmes m...@philholmes.net:
 - Original Message - From: Janek Warchoł
 lemniskata.bernoull...@gmail.com
 To: lilypond-user lilypond-user@gnu.org
 Sent: Tuesday, January 18, 2011 12:48 PM
 Subject: how to add punctuation mark (or other things) at the end of
 lyricextender?

 Hi all,
 i have a melisma at the end of a sentence,
 i'd like the dot to appear after the extender (like in the bottom of
 the attachment).

 Jan,

 According to the normal engraving manuals, the punctuation should be
 attached to the lyric, not the extender.  e.g. [quotations here]

Thanks, Phil, but I already knew that the recommended practice is to
put punctuation before extender. Unfortunately i fail to see why it
should be done this way - do the books that you quote provide any
explanation?

Besides, there is another situation in which it would be useful to
attach something to the end of the extender line: to remind singer how
he/she should end a very long melisma. Consider a coloratura that
spans several measures and even crosses a page break. It would be nice
to write the syllabe again under the last note (in parentheses of
course) to aid the performer.

cheers,
Jan

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


Re: how to add punctuation mark (or other things) at the end of lyricextender?

2011-01-18 Thread Jan-Peter Voigt

Hello Janek,

I once had a situation where I wanted to put a closing 'n' somewhere on 
the extender. This is used in some more modern choir-pieces I typesetted.

So this is a little bit off your topic but perhaps its still related.
I wrote a little function:

--snip--
freetext = #(define-music-function (parser location dx dy text)(number? 
number? markup?)

  #{
\once \override TextScript #'X-extent = #'(0 . 0)
\once \override TextScript #'Y-extent = #'(0 . 0)
\once \override TextScript #'self-alignment-X = #CENTER
s1*0_\markup { \translate #(cons $dx $dy) $text }
#})
closeN = #(define-music-function (parser location dy)(number?)
  #{
\freetext #0 #$dy \markup { (n) }
#})
--snip--
with this I can place my closing 'n' somewhere in the music:
c1 ~ \closeN #-3.6 c1
This places a closing n beneath the second c. The number is to adjust 
vertical positioning and has to be searched for everytime.


Perhaps you can use something similar.

Best regards,
Jan-Peter

On 18.01.2011 15:43, Janek Warchoł wrote:

2011/1/18 Phil Holmesm...@philholmes.net:

- Original Message - From: Janek Warchoł
lemniskata.bernoull...@gmail.com
To: lilypond-userlilypond-user@gnu.org
Sent: Tuesday, January 18, 2011 12:48 PM
Subject: how to add punctuation mark (or other things) at the end of
lyricextender?

Hi all,
i have a melisma at the end of a sentence,
i'd like the dot to appear after the extender (like in the bottom of
the attachment).

Jan,

According to the normal engraving manuals, the punctuation should be
attached to the lyric, not the extender.  e.g. [quotations here]

Thanks, Phil, but I already knew that the recommended practice is to
put punctuation before extender. Unfortunately i fail to see why it
should be done this way - do the books that you quote provide any
explanation?

Besides, there is another situation in which it would be useful to
attach something to the end of the extender line: to remind singer how
he/she should end a very long melisma. Consider a coloratura that
spans several measures and even crosses a page break. It would be nice
to write the syllabe again under the last note (in parentheses of
course) to aid the performer.

cheers,
Jan

___
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: Using lyrics in a markup

2011-01-18 Thread jakob lund
2011/1/18 Jan-Peter Voigt jp.vo...@gmx.de:
 Hello List,

 this is a very cool snippet! I also thought of trying this excersize ...
 perhaps tomorrow ;-)
 I think it should be posted to LSR!
 There is one thing I tried: If you have markups in your lyrics:

 words = \lyricmode { This is my ex -- am -- ple \markup { \italic text } }

 this function will fail.
 Perhaps someone is willing to play this scheme-game a bit further?



Sure... You have to play the game, right?

To allow markups, we have to use (markup #:concat ( . . )) instead of
string-concatenate. The flatten-list function also has to be adjusted
to leave the markups intact.

There is no need to call flatten-list from inside the recursion in
lyrics-list. It probably doesn't do any harm in this case, but I
wonder if the original function (extract-named-music) is ever used on
any `heavy' nested music structures, because if so, it might be a good
idea to redefine it? (Theoretically, calling flatten-list from inside
the recursion may result in N^2 calls to flatten-list when returning N
elements from extract-named-music...)

#(define (lyrics-list lyrics)
Return only syllables and hyphens from  @code{lyrics}.
 (if (ly:music? lyrics)
 (if (memq (ly:music-property lyrics 'name) '(LyricEvent
HyphenEvent))
 (begin (if (eq? (ly:music-property lyrics 'name) 'LyricEvent)
(list (ly:music-property lyrics 'text))
(list --)))
 (let ((elt (ly:music-property lyrics 'element))
   (elts (ly:music-property lyrics 'elements)))
   (if (ly:music? elt)
   (lyrics-list elt)
   (if (null? elts)
   '()
   (map (lambda(x)
   (lyrics-list x))
elts)
 '()))

#(define (flatten-nonmarkup-list x)
  Unnest list, but don't flatten markup constructs!
  (cond ((null? x) '())
((not (pair? x)) (list x))
(else (append (if (markup? (car x))
  (list (car x))
  (flatten-nonmarkup-list (car x)))
  (flatten-nonmarkup-list (cdr x))

#(define (reduce-hyphens text)
 ;; Define initial first-word 'wd' and remaining-words 'wds'
 (let eat ((wd (car text)) (wds (cdr text)))
 (cond
   ;; Last syllable reached: Terminate recursion
   ((null? wds) (list wd))
   ((and (equal? -- (car wds)) (not (null? (cdr wds
;; The next word is a hyphen AND there is a
syllable after that hyphen
;; Concatenate the syllable after the hyphen onto
wd, and recurse
(eat (markup #:concat ((markup wd) (markup (cadr wds
 (cddr wds)))
   ;; Not a hyphen, just use wd as the first word on
the list, and then recurse.
   (else (cons wd (eat (car wds) (cdr wds)))

#(define (lyrics-text lyrics)
 (reduce-hyphens (flatten-nonmarkup-list (lyrics-list lyrics


snip

Jakob

 Best regards,
 Jan-Peter


 On 18.01.2011 12:56, jakob lund wrote:

 2011/1/18 Marc Hohlm...@hohlart.de:

 Am 15.01.2011 21:51, schrieb Neil Puttock:

 On 15 January 2011 19:01, Marc Hohlm...@hohlart.de    wrote:

 Now I wonder whether it is possible to create a kind of text book by
 including the lyrics in a markup, perhaps with a scheme function which
 replaces the  --  by .

 Is it possible to store the text in a variable?

 [...]

 For simplicity I've ignored hyphens, but it shouldn't be too difficult
 to add them (or use their position in the list of strings to restore
 the hyphenated words).

 This is what I got so far:

 \version 2.13.46

 words = \lyricmode { This is my ex -- am -- ple text }

 #(define (lyrics-list lyrics)
 Return a flat list containing all syllables and hyphens from
  @code{lyrics}.
   (let ((extracted-list
          (if (ly:music? lyrics)
              (if (memq (ly:music-property lyrics 'name) '(LyricEvent
 HyphenEvent))
                  (begin (if (eq? (ly:music-property lyrics 'name)
 'LyricEvent)
                             (list (ly:music-property lyrics 'text))
                             (list --)))
                  (let ((elt (ly:music-property lyrics 'element))
                        (elts (ly:music-property lyrics 'elements)))
                    (if (ly:music? elt)
                        (lyrics-list elt)
                        (if (null? elts)
                            '()
                            (map (lambda(x)
                                    (lyrics-list x))
                             elts)
              '(
     (flatten-list extracted-list)))


 text = #(lyrics-list words)

 melody = \relative c' { c4 d e f | g a c2 }

 \new Voice { \melody }
 \addlyrics { \words }

 #(markup* (make-line-markup 

Odd vertical spacing of lyrics

2011-01-18 Thread Mike Solomon
Hey all,

The following snippet is giving me the attached output w/ the soprano line 
shifted way up after the line break.  Is there any way to get the soprano 
correctly aligned (w/o changing the distance between systems - this minimal 
example approximates a larger one w/ many systems over several pages).

\version 2.13.47

minimal.pdf
Description: Adobe PDF document


\paper { system-system-spacing #'basic-distance = #20 }

global = {
  \key d \major
  \time 3/4
  
}

sopMusic = \relative c' {
% VERSE ONE
fis4 fis fis | \break
fis4. e8 e4
}

altoMusic = \relative c' {
% VERSE ONE
d4 d d |
d4. b8 b4 |
}

tenorMusic = \relative c' {
a4 a a |
b4. g8 g4 |
}

bassMusic = \relative c {
d4 d d |
g,4. g8 g4 |
}

sopWords = \lyricmode {

Great is Thy faith- ful- ness,
}

altoWords = \lyricmode {

Great is Thy faith- ful- ness,
}

tenorWords = \lyricmode {

Great is Thy faith- ful- ness,
}

bassWords = \lyricmode {

Great is Thy faith- ful- ness,

}

\score {
  \new ChoirStaff 
\new Lyrics = sopranos { s1 }
\new Staff = women 
  \new Voice = sopranos {
\voiceOne
 \global \sopMusic 
  }
  \new Voice = altos {
\voiceTwo
 \global \altoMusic 
  }

\new Lyrics = altos { s1 }
\new Lyrics = tenors { s1 }
\new Staff = men 
  \clef bass
  \new Voice = tenors {
\voiceOne
 \global \tenorMusic 
  }
  \new Voice = basses {
\voiceTwo  \global \bassMusic 
  }

\new Lyrics = basses { s1 }
\context Lyrics = sopranos \lyricsto sopranos \sopWords
\context Lyrics = altos \lyricsto altos \altoWords
\context Lyrics = tenors \lyricsto tenors \tenorWords
\context Lyrics = basses \lyricsto basses \bassWords
   
}

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


Re: Odd vertical spacing of lyrics

2011-01-18 Thread Carl Sorensen
On 1/18/11 8:26 AM, Mike Solomon mike...@ufl.edu wrote:

 Hey all,
 
 The following snippet is giving me the attached output w/ the soprano line
 shifted way up after the line break.  Is there any way to get the soprano
 correctly aligned (w/o changing the distance between systems - this minimal
 example approximates a larger one w/ many systems over several pages).
 
 \version 2.13.47


Mike,

When you inline files in your emails, the digest function of the mail list
breaks things up.

Please attach them instead of inlining them.

Thanks,

Carl


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


Re: how to add punctuation mark (or other things) at the end of lyric extender?

2011-01-18 Thread Marc Hohl

Am 18.01.2011 13:48, schrieb Janek Warchoł:

Hi all,
i have a melisma at the end of a sentence, like here:

\version 2.13.45
{
   \new Voice { c'8 d'4 e'8( c' f'4. g2 c'8 )}
   \addlyrics { ex -- ten -- der. __ }
}

i'd like the dot to appear after the extender (like in the bottom of
the attachment).
How can this be done? Manuals seem to say nothing about this, as well
as the mailing list archive.

Does

http://lsr.dsi.unimi.it/LSR/Item?u=1id=643

help?

Regards,

Marc

cheers,
Janek


___
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: how to add punctuation mark (or other things) at the end of lyricextender?

2011-01-18 Thread Phil Holmes
- Original Message - 
From: Janek Warchoł lemniskata.bernoull...@gmail.com



Thanks, Phil, but I already knew that the recommended practice is to
put punctuation before extender. Unfortunately i fail to see why it
should be done this way - do the books that you quote provide any
explanation?



Think you've not got this fixed - particularly with Marc's reference to the 
LSR.


The books don't say why it is to be done this way (normally they don't give 
explanations for any of the rules), simply that it's the way it's done.


--
Phil Holmes



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


Re: Odd vertical spacing of lyrics

2011-01-18 Thread Carl Sorensen
On 1/18/11 8:26 AM, Mike Solomon mike...@ufl.edu wrote:

 Hey all,
 
 The following snippet is giving me the attached output w/ the soprano line
 shifted way up after the line break.  Is there any way to get the soprano
 correctly aligned (w/o changing the distance between systems - this minimal
 example approximates a larger one w/ many systems over several pages).
 
 \version 2.13.47


Mike,

I got it to work successfully with the following change:

\new Lyrics = sopranos \with {
  \override VerticalAxisGroup #'staff-affinity = #DOWN
  } { s1 }


The lyrics were still a little bit high, however.  It's almost like there's
a blank context hiding in the middle.  But I haven't been able to get rid of
that small amount of extra space.

HTH,

Carl


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


Re: Using lyrics in a markup

2011-01-18 Thread Marc Hohl

Am 18.01.2011 16:10, schrieb jakob lund:

[...]
Sure... You have to play the game, right?

[...]
snip

Jakob

Wow, I am very impressed! The named let construct is absolutely new to me,
but allows for very elegant code.

These functions should be bundled in a snippet, or perhaps included in the
lilypond distribution?

Great work, thank you!

Regards

Marc

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


Re: Odd vertical spacing of lyrics

2011-01-18 Thread Phil Holmes
- Original Message - 
From: Mike Solomon mike...@ufl.edu

To: lilypond-user lilypond-user@gnu.org
Sent: Tuesday, January 18, 2011 3:26 PM
Subject: Odd vertical spacing of lyrics



Hey all,



The following snippet is giving me the attached output w/ the soprano line
shifted way up after the line break.  Is there any way to get the soprano
correctly aligned (w/o changing the distance between systems - this 
minimal

example approximates a larger one w/ many systems over several pages).


This looks like a regression to me.  With 2.12 I can use :

between-system-space = 5 \cm

to space out the systems as Mike is trying to do here.  If I do that, then 
the lyrics stay well-spaced to the stave.  It looks as if we've lost the 
ability to space systems out with lyrics on top the stave without the lyrics 
being wrongly positioned.  Anyone disagree?



--
Phil Holmes


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


Stem Length (in percent?)

2011-01-18 Thread Nils Gey
I hope this will be a quick answer.

I am currently preparing scores, vocal SATB, but the publisher thinks the Bass 
staff stem length are not long enough. 
Is there a way to keep the auto-length but increase the length by, maybe, a 
percent value? I think I need around 105 or 106 percent of the original length.

Nils

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


Suppress chord names from MIDI output

2011-01-18 Thread Brett McCoy
Is there a way to suppress MIDI output for \ChordName context? When I
create a staff with other parts and have chord names at the top, the
output always has a piano playing those chords and it's interfering
with the rest of the piece, plus I don't need the extra track when I
import the MIDI into a sequencer (and it uses up a MIDI track). How do
I prevent this from being in the MIDI output?

-- 
Brett W. McCoy -- http://www.electricminstrel.com

In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world.
    -- Jelaleddin Rumi

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


Re: Using lyrics in a markup

2011-01-18 Thread Graham Percival
On Tue, Jan 18, 2011 at 05:24:11PM +0100, Marc Hohl wrote:
 These functions should be bundled in a snippet, or perhaps included in the
 lilypond distribution?

Start by adding it to LSR.

Cheers,
- Graham

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


Re: Suppress chord names from MIDI output

2011-01-18 Thread James Bailey

On Jan 18, 2011, at 7:00 PM, Brett McCoy wrote:

 Is there a way to suppress MIDI output for \ChordName context? When I
 create a staff with other parts and have chord names at the top, the
 output always has a piano playing those chords and it's interfering
 with the rest of the piece, plus I don't need the extra track when I
 import the MIDI into a sequencer (and it uses up a MIDI track). How do
 I prevent this from being in the MIDI output?
 
 -- 

Have two \score blocks, one without \ChordName, but including \midi, and one 
with \layout, that includes the \ChordName context.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Suppress chord names from MIDI output

2011-01-18 Thread James Lowe
Brett

-Original Message-
From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On Behalf Of 
Brett McCoy
Sent: 18 January 2011 18:00
To: lilypond-user
Subject: Suppress chord names from MIDI output

Is there a way to suppress MIDI output for \ChordName context? When I create a 
staff with other parts and have chord names at the top, the output always has a 
piano playing those chords and it's interfering with the rest of the piece, 
plus I don't need the extra track when I import the MIDI into a sequencer (and 
it uses up a MIDI track). How do I prevent this from being in the MIDI output?

--

[James Lowe] 

See http://lsr.dsi.unimi.it/LSR/Snippet?id=438

Click on the snippet to get the .ly output

This should give you some clues and show you how to remove the midi for that 
context.

James 

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


Re: Stem Length (in percent?)

2011-01-18 Thread Xavier Scheuer
On 18 January 2011 18:15, Nils Gey den...@nilsgey.de wrote:

 I hope this will be a quick answer.

 I am currently preparing scores, vocal SATB, but the publisher thinks
 the Bass staff stem length are not long enough.
 Is there a way to keep the auto-length but increase the length by,
 maybe, a percent value? I think I need around 105 or 106 percent of
 the original length.

  \override Stem #'length-fraction = #(magstep 0.5)

It scales the length in proportion to the font size.  The argument is
the change in font size.  Since each step up is an increase of
approximately 12% of the font size, a value of 0.5 should be equal to
106 percent (default value is 0).

But I think there are other factors that influence stem length (IIRC
for example, there is a rule for low notes with stem up that say the
stem should go to the middle of the staff).

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: Using lyrics in a markup

2011-01-18 Thread Marc Hohl

Am 18.01.2011 18:56, schrieb Graham Percival:

On Tue, Jan 18, 2011 at 05:24:11PM +0100, Marc Hohl wrote:

These functions should be bundled in a snippet, or perhaps included in the
lilypond distribution?

Start by adding it to LSR.


Done.

http://lsr.dsi.unimi.it/LSR/Snippet?id=744

Regards,

Marc

Cheers,
- Graham




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


Re: shorten/lengthen left/right stem of beamed eighth

2011-01-18 Thread Damian leGassick
how about this


 { d''2 }
 \\
 { \stemUp 
   \override Beam  #'positions = #'(-1 . 1)
   a8 a' s s }
 


Damian


On 17 Jan 2011, at 22:52, -Eluze wrote:

 
 in this example there is a collision between th two first notes of both
 voices.
 
 
  { d''2 }
  \\
  { \stemUp a8 a' s s }
 
 
 how can i shorten the first stem of the 2nd voice without shortening the 2nd
 stem?
 
 i tried lots of items dealing with stems and lengths or how to shorten them:
 
 \override Stem #'(details beamed-lengths) = #'(2)  % from the snippet 
 http://lsr.dsi.unimi.it/LSR/Item?u=1id=681
 http://lsr.dsi.unimi.it/LSR/Item?u=1id=681 
 
 \override Stem #'length-fraction = #0.16
 \override Stem #'details #'beamed-lengths = #'(.2)
 \override Stem #'beamed-stem-shorten = #'( .1)
 \override Stem #'length = #'.16
 
 and i also added
 
 \override Stem  #'no-stem-extend = ##t
 
 but all unsatisfyingly - the best i could get is:
 
 
  {d''2}
  \\
  { \stemUp
\override Stem  #'no-stem-extend = ##t
\once \override Stem #'length-fraction = #0.16  b8[ a']
  }
 
 
 but in the next measure i will have a cis'' which will obviously collide
 with the beam.
 
 it seems that the stem cannot be forced to stop under the middle (b)
 staff-line.
 
 any ideas?
 
 
 
 -- 
 View this message in context: 
 http://old.nabble.com/shorten-lengthen-left-right-stem-of-beamed-eighth-tp30676236p30676236.html
 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
 
 
 ___
 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: Using lyrics in a markup

2011-01-18 Thread Jean-Charles Malahieude

Le 18/01/2011 20:21, Marc Hohl disait :

Am 18.01.2011 18:56, schrieb Graham Percival:

On Tue, Jan 18, 2011 at 05:24:11PM +0100, Marc Hohl wrote:

These functions should be bundled in a snippet, or perhaps
included in the lilypond distribution?

Start by adding it to LSR.


Done.

http://lsr.dsi.unimi.it/LSR/Snippet?id=744



Just wonderful. When you have several verses, you even may do :

\new Voice { \melody }
\addlyrics { \wordsA }
\addlyrics { \wordsB }

textA = #(lyrics-text wordsA)
textB = #(lyrics-text wordsB)

\markup{ Verse 1. }
#(markup* (make-line-markup textA))

\markup { Verse 2.}
#(markup* (make-line-markup textB))


for those who don't read music!

Thank you Marc.

Cheers,
Jean-Charles

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


Re: Suppress chord names from MIDI output

2011-01-18 Thread Michael Ellis
+1  Having two score blocks in a book block is working very nicely for me.
Cheers,
Mike


On Tue, Jan 18, 2011 at 1:12 PM, James Bailey
derhindem...@googlemail.comwrote:

 Have two \score blocks, one without \ChordName, but including \midi, and
 one with \layout, that includes the \ChordName context.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: highlighting notes in pdf, synchronized pdf and midi playback

2011-01-18 Thread Federico Bruni
Janek,

I guess that you forgot to reply to the list

Il giorno mar, 18/01/2011 alle 15.56 +0100, Janek Warchoł ha scritto:
 2011/1/18 Federico Bruni fedel...@gmail.com:
  2011/1/18 Janek Warchoł lemniskata.bernoull...@gmail.com
 
  Hi,
 
  i'm pretty sure that i saw a program that could highlight objects in
  compiled pdf corresponding to the selected lilypond input, but i
  cannot find it now. Am i right? What was it?
 
  It's been quite a long time since I've used it, but, IIRC, jEdit +
  LilyPondTool plugin can do it.
  Actually it doesn't highlight... It's a jump... a kind of reverse
  point-and-click.
 
 It must have been this... Strangely it doesn't work for me. Even the
 ordinary Point-and-click doesn't work, only edit in place.
 

maybe some LilypondTool user here can help you...

  Also, is there any program that would play a midi file and highlight
  corresponding notes in pdf or do something similar? It would be useful
  for more convenient playback of LilyPond-generated scores.
 
  The most recent version of Frescobaldi uses KMid as internal midi player.
  When you press Play, you can see the number and the beat of the bar being
  played.

To be precise, you don't see it on the .pdf
You see on the bottom left, where the MIDI controllers (play, pause,
stop) are. It's not what you are looking for.

But I wonder if it could be the first step to get the synchronized
highlighting on the PDF.  I was thinking about asking this feature
request on Frescobaldi mailing list (maybe I'll do it later).

 
 Too bad i use Windows...

Well, keep an eye open on Frescobaldi development.
Maybe next major release, 2.0, which should be released around the end
of the year, will support Mac and Windows.

Check these links:
http://frescobaldi.org/development 
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00676.html 

Also, there will be the two-way point-and-click (a feature currently
present only in LilypondTool, AFAIK).

 The thing is that i'm convincing my choir to stop using Finale, but
 they want to have that moving line which follows the playback in the
 score...
 
  Also, have you seen this website?
  http://musescore.com/videoscores
 
 Yes. It's nice, however as far as i know the synchronization is done
 by hand and not automatically. Also, highlightning whole measures
 instead of particular notes won't satisfy my fellow singers.
 
 nevertheless, thanks for help!
 Janek



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


Re: highlighting notes in pdf, synchronized pdf and midi playback

2011-01-18 Thread Janek Warchoł
2011/1/18 Federico Bruni fedel...@gmail.com

 Janek,

 I guess that you forgot to reply to the list

Yes. Sorry about that, i forgot this quite often...

 Il giorno mar, 18/01/2011 alle 15.56 +0100, Janek Warchoł ha scritto:
  2011/1/18 Federico Bruni fedel...@gmail.com:
   2011/1/18 Janek Warchoł lemniskata.bernoull...@gmail.com
   Also, is there any program that would play a midi file and highlight
   corresponding notes in pdf or do something similar? It would be useful
   for more convenient playback of LilyPond-generated scores.
  
   The most recent version of Frescobaldi uses KMid as internal midi player.
   When you press Play, you can see the number and the beat of the bar being
   played.

 To be precise, you don't see it on the .pdf
 You see on the bottom left, where the MIDI controllers (play, pause,
 stop) are. It's not what you are looking for.

 But I wonder if it could be the first step to get the synchronized
 highlighting on the PDF.  I was thinking about asking this feature
 request on Frescobaldi mailing list (maybe I'll do it later).

That would be great!
I don't feel like doing this myself since i'm not using Frescobaldi

  Too bad i use Windows...

 Well, keep an eye open on Frescobaldi development.
 Maybe next major release, 2.0, which should be released around the end
 of the year, will support Mac and Windows.

 Check these links:
 http://frescobaldi.org/development
 http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00676.html

Yes, i heard about it. As for now i can only wait.
Hopefully when i overcome problems with virtualBox i'll do something
useful for LilyPond itself.

 Also, there will be the two-way point-and-click (a feature currently
 present only in LilypondTool, AFAIK).

This would be very nice.

Thank you again for your help!
Janek

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


Re: highlighting notes in pdf, synchronized pdf and midi playback

2011-01-18 Thread Federico Bruni
Il giorno mar, 18/01/2011 alle 14.11 +0100, Janek Warchoł ha scritto:
 The only thing i found is
 http://gitorious.org/qt-pdfviewer
 http://qt-apps.org/content/show.php/PDF+MIDI+Player?content=134343
 but there are no binaries and i was unable to compile the source...
 I'd be grateful for any help. 

I think it's for Linux only.
Also, you'd better use version from gitorius, which is updated:

git clone git://gitorious.org/qt-pdfviewer/qt-pdfviewer.git


Even if it looks like a very young project, I'd like to give it a try
but I have no clue about how to install it.
It should be a Gentoo package (.ebuild).. but I use Debian.

This is the tree of files:

main.cpp
main.h
midi.cpp
pdf.cpp
qt-pdf-midi-player-0.1.ebuild
qt-pdf-midi-player.desktop
qt-pdf-midi-player.pro


Any help appreciated.
Thanks,
Federico


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


Re: highlighting notes in pdf, synchronized pdf and midi playback

2011-01-18 Thread Xavier Scheuer
2011/1/18 Janek Warchoł lemniskata.bernoull...@gmail.com

 It must have been this... Strangely it doesn't work for me. Even the
 ordinary Point-and-click doesn't work, only edit in place.

Just to make sure, you need to use LilyPondTool's built-in PDF Preview
in order to have this feature.

BTW if you want a look like Frescobaldi (could be useful), you can
Dock at Bottom the console and Dock at Right the PDF viewer.
This is explained in Valentin's video tutorial (in French!).
http://valentin.villenave.info/Tutoriel-no1-pour-LilyPond

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: Odd vertical spacing of lyrics

2011-01-18 Thread Keith OHara
Carl Sorensen c_sorensen at byu.edu writes:

 On 1/18/11 8:26 AM, Mike Solomon mikesol at ufl.edu wrote:
  
  The following snippet is giving me the attached output w/ the soprano line
  shifted way up after the line break.  Is there any way to get the soprano
  correctly aligned (w/o changing the distance between systems - this minimal
  example approximates a larger one w/ many systems over several pages).
  
  \version 2.13.47
 
 Mike,
 
 I got it to work successfully with the following change:
   [...]
 The lyrics were still a little bit high, however. 

That's an effect of using the same spacing between the center of the staff and 
the *baseline* of the lyrics whether they are above or below.  

Maybe people who set things with lyrics will create a shortcut like this:

attachDown = \with { 
  \override VerticalAxisGroup #'staff-affinity = #DOWN 
  \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing 
   #'basic-distance = #3
}


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


variant on many syllables to one note

2011-01-18 Thread Graham King
In the early sixteenth century manuscript I'm working on, the scribe has
set the first three syllables of angelorum to a single note that I'm
transcribing as a1. ~ a1. ~ a1

Is there a way, preferably compatible with \lyricmode, to tell lilypond
to align the syllables under the respective semibreves?

(So far, I've tried the suggestions for manual syllable durations and
multiple syllables to one note in the Notation Reference manual)
-- 
Graham King lilyp...@tremagi.org.uk

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


Re: Odd vertical spacing of lyrics

2011-01-18 Thread Keith OHara
James Bailey derhindemith at googlemail.com writes:

 [off-topic rant]
 ...
 [/off-topic rant]

That was quite topical, for an 'off-topic' rant.
You have to tell us how you prefer to enter the lyrics when
they are sometimes shared.  Is there one Lyrics for alto, 
one for alto-tenor-together, and one for tenor? or do you
just have alto and tenor and put skips in the tenor when they
are together?  is there an alignAboveContext involved?

The old LilyPond collapsed everything in each system to take
only the vertical space needed.  For lyrics, it seems that did
pretty much the right thing. The new LilyPond will spread things
vertically to use the space available, which reveals her 
ignorance in how things are supposed to be attached.

Lilypond lets us associate lyrics (for timing purposes, \lyricsto)
to any voice anywhere, so to have her know whether they should go
close to the next staff up or down seems to require a search for
which Staff contains the associate Voice. Another approach would
be to put a staff-affinity=#CENTER marker at the top and bottom
of each system, so the bit of code producing that warning staff-
affinities should only decrease would ensure that Lyrics have
'affinity' pointing to something within their own system.

I have been meaning to work on that centering-lyrics snippet
(and will not be hurt if somebody else steals the job) to try
to boil down the complicated overrides into a small useful set
of predefines, so we can just say: \lyricAttachDown or 
\lyricsCenter or \lyricsCollapse and remain blissfully ignorant
of the complexity underneath.


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


Re: variant on many syllables to one note

2011-01-18 Thread Ted Stanion
I'm pretty sure that adding \set melismaBusyProperties = #'() before your
notes will do what you want.

On Tue, Jan 18, 2011 at 4:09 PM, Graham King lilyp...@tremagi.org.ukwrote:

 In the early sixteenth century manuscript I'm working on, the scribe has
 set the first three syllables of angelorum to a single note that I'm
 transcribing as a1. ~ a1. ~ a1

 Is there a way, preferably compatible with \lyricmode, to tell lilypond
 to align the syllables under the respective semibreves?

 (So far, I've tried the suggestions for manual syllable durations and
 multiple syllables to one note in the Notation Reference manual)
 --
 Graham King lilyp...@tremagi.org.uk

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



align.ly
Description: Binary data
attachment: align.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond web git seems old

2011-01-18 Thread Ben Luo
Dear All,

Today I checked out lilypond web from

http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=summary

But it seems old. Is there any latest repo to pull?

Regards,

Ben Luo

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


Re: Suppress chord names from MIDI output

2011-01-18 Thread Johan Vromans
Brett McCoy idragos...@gmail.com writes:

 Is there a way to suppress MIDI output for \ChordName context? When I
 create a staff with other parts and have chord names at the top, the
 output always has a piano playing those chords and it's interfering
 with the rest of the piece, plus I don't need the extra track when I
 import the MIDI into a sequencer (and it uses up a MIDI track). How do
 I prevent this from being in the MIDI output?

There are several ways to handle this.

I always postprocess the MIDI output, eg. to split chords + 4 parts into
4 separate MIDI files, each having one part plus the chords (but with
decreased volume). It would be trivial to just leave the chords out.

Another way is using tags:

allMusic = {
  
\tag #'scoreOnly \harmonics
\sopranoStaff
... other staffs ...
  
}

%% Generate the printed score.
\score {
  \removeWithTag #'midiOnly \allMusic
  \layout { ... }
}

%% Generate the MIDI.
\score {
  \removeWithTag #'scoreOnly \unfoldRepeats \allMusic
  \midi { ... }
}

HTH,
Johan

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