(Bug?) Hidden staves take space if there are lyrics

2008-09-01 Thread Risto Vääräniemi
Hi,

It seems that if I remove the empty staves using
RemoveEmptyStaffContext everything is usually OK if there are not
lyrics. There's equal amount of space between the staves. However, if
I throw in some lyrics the spacing is messed up and the invisible
staves start taking some space. If there are lyrics you can see the
difference when you compare the space between the first and the second
stave and between the second and the third. If there's no lyrics the
spacing is normal (between 3rd and 4th staves).

Is this a known feature / issue or a new bug? Is there a workaround
for it? I tried to search the bug repository but could not find
anything similar.

-Risto


%%%
\version "2.11.56"

\paper {
ragged-right = ##t
indent = 0\mm
between-system-padding = 0\mm
}

\score {
<<
\new Staff {
c'1 c' \break
c' c' \break
c' c' \break
c' c'
}
\addlyrics { foo bar foo bar  }
\new Staff {
c'1 c'
s s
s s
c' c'
}
\addlyrics { foo bar }
>>

\layout {
\context {
\RemoveEmptyStaffContext
}
}
}
%%%
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LH fingering not working

2008-09-01 Thread James E. Bailey


Am 01.09.2008 um 01:07 schrieb Jonathan Kulp:

It was with the extra offset part.  I was putting the #' in the  
wrong place (inside the parentheses instead of out).  If I had dug  
deeper I probably could have figured it out but I just googled a  
solution instead.  I don't think it's a problem with \tweak part of  
the docs. You can't possibly envision every scenario someone might  
want to use it for.  :)


That is very well covered in LM 5, so I can understand why it wouldn't  
be duplicated.



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


arpeggio problems

2008-09-01 Thread Eluze Weehaeli
hi

when the notes of a chord are close problems with arpeggios arise
- \arpeggioNormal - the zigzag line cannot be recognised as such
- \arpeggioArrowUp - the arrow is below the chord, the zigzag line is missing
- \arpeggioArrowUp - the arrow is below the chord, the zigzag line is missing
- \arpeggioParenthesis - the parenthesis can nearly be distinguished
- \arpeggioBracket - this is the only really visible and readable arpeggio!

\version "2.11.57"
\layout { ragged-right = ##t }
{
 \arpeggioNormal < e'' g'' > 1 \arpeggio
 \arpeggioArrowUp < e'' g'' > 1 \arpeggio
 \arpeggioArrowDown < e'' g'' > 1 \arpeggio
 \arpeggioParenthesis < e'' g'' > 1 \arpeggio
 \arpeggioBracket < e'' g'' > 1 \arpeggio
}

is there a way to tweak this or is it a bug?
thanx
-eluze


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


Re: lyrics and repeat

2008-09-01 Thread Grammostola Rosea

Joseph Haig wrote:

You want to add:

versetwo = \lyricmode {
  % Second line of words here
}

and then later, where you have:

\new Staff { \melody } \addlyrics { \verse }

you want:

\new Staff { \melody }
\addlyrics { \verse }
\addlyrics { \versetwo }

Note that the lyrics are not part of the staff, but are a separate
line in themselves so you can have as many of them as you want.

Hope this helps,

Joe
  

Yes, that helps! Thanks!



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


Re: arpeggio problems

2008-09-01 Thread Eluze

sorry - i forgot to append the picture...
http://www.nabble.com/file/p19251669/arpeggio%2Bbug.png 

Eluze wrote:
> 
> hi
> 
> when the notes of a chord are close problems with arpeggios arise
> - \arpeggioNormal - the zigzag line cannot be recognised as such
> - \arpeggioArrowUp - the arrow is below the chord, the zigzag line is
> missing
> - \arpeggioArrowUp - the arrow is below the chord, the zigzag line is
> missing
> - \arpeggioParenthesis - the parenthesis can nearly be distinguished
> - \arpeggioBracket - this is the only really visible and readable
> arpeggio!
> 
> \version "2.11.57"
> \layout { ragged-right = ##t }
> {
>  \arpeggioNormal < e'' g'' > 1 \arpeggio
>  \arpeggioArrowUp < e'' g'' > 1 \arpeggio
>  \arpeggioArrowDown < e'' g'' > 1 \arpeggio
>  \arpeggioParenthesis < e'' g'' > 1 \arpeggio
>  \arpeggioBracket < e'' g'' > 1 \arpeggio
> }
> 
> is there a way to tweak this or is it a bug?
> thanx
> -eluze
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/arpeggio-problems-tp19251408p19251669.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


Re: arpeggio problems

2008-09-01 Thread Mats Bengtsson

What typesetting layout would you propose in these situations, where
the arpeggio is too short to fit in the zigzag or arrow head or ...?
Should the arpeggio be extended somewhat above and below the notes of
the chord, or ...?

As a workaround, you could add invisible note heads to the chord.

  /Mats

Quoting Eluze <[EMAIL PROTECTED]>:



sorry - i forgot to append the picture...
http://www.nabble.com/file/p19251669/arpeggio%2Bbug.png

Eluze wrote:


hi

when the notes of a chord are close problems with arpeggios arise
- \arpeggioNormal - the zigzag line cannot be recognised as such
- \arpeggioArrowUp - the arrow is below the chord, the zigzag line is
missing
- \arpeggioArrowUp - the arrow is below the chord, the zigzag line is
missing
- \arpeggioParenthesis - the parenthesis can nearly be distinguished
- \arpeggioBracket - this is the only really visible and readable
arpeggio!

\version "2.11.57"
\layout { ragged-right = ##t }
{
 \arpeggioNormal < e'' g'' > 1 \arpeggio
 \arpeggioArrowUp < e'' g'' > 1 \arpeggio
 \arpeggioArrowDown < e'' g'' > 1 \arpeggio
 \arpeggioParenthesis < e'' g'' > 1 \arpeggio
 \arpeggioBracket < e'' g'' > 1 \arpeggio
}

is there a way to tweak this or is it a bug?
thanx
-eluze


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




--
View this message in context: 
http://www.nabble.com/arpeggio-problems-tp19251408p19251669.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: lyrics and repeat

2008-09-01 Thread Grammostola Rosea

Grammostola Rosea wrote:

Joseph Haig wrote:

You want to add:

versetwo = \lyricmode {
  % Second line of words here
}

and then later, where you have:

\new Staff { \melody } \addlyrics { \verse }

you want:

\new Staff { \melody }
\addlyrics { \verse }
\addlyrics { \versetwo }

Note that the lyrics are not part of the staff, but are a separate
line in themselves so you can have as many of them as you want.

Hope this helps,

Joe
  

Yes, that helps! Thanks!

And I want to repeat on another part (chorus) in the song, but it should 
not go back to the first beginning (verses) but to the beginning of the 
chorus.
So I want to use D.S. 
http://lilypond.org/doc/v2.11/Documentation/user/music-glossary/dal-segno#dal-segno
repeat the chorus and after that start with another part (skip one bar 
of the chorus)..


|b |  |go to c|   go back to b 
(D.S.)|  ...  |c   | |



How will I do this in Lilypond?





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


Re: arpeggio problems

2008-09-01 Thread James E. Bailey
My quick and dirty solution would just be to make the chords take up  
more space with invisible notes:

\version "2.11.57"
{
\override Staff.LedgerLineSpanner #'transparent = ##t \arpeggioNormal  
< \tweak #'transparent ##t c'' e'' g'' \tweak #'transparent ##t b'' >  
1 \arpeggio
\override Staff.LedgerLineSpanner #'transparent = ##t \arpeggioArrowUp  
< \tweak #'transparent ##t c'' e'' g'' \tweak #'transparent ##t b'' >  
1 \arpeggio
\arpeggioArrowDown < \tweak #'transparent ##t c'' e'' g'' \tweak  
#'transparent ##t b'' > 1 \arpeggio
\arpeggioParenthesis < \tweak #'transparent ##t c'' e'' g'' > 1  
\arpeggio

}

Am 01.09.2008 um 11:10 schrieb Eluze Weehaeli:


hi

when the notes of a chord are close problems with arpeggios arise
- \arpeggioNormal - the zigzag line cannot be recognised as such
- \arpeggioArrowUp - the arrow is below the chord, the zigzag line  
is missing
- \arpeggioArrowUp - the arrow is below the chord, the zigzag line  
is missing

- \arpeggioParenthesis - the parenthesis can nearly be distinguished
- \arpeggioBracket - this is the only really visible and readable  
arpeggio!


\version "2.11.57"
\layout { ragged-right = ##t }
{
\arpeggioNormal < e'' g'' > 1 \arpeggio
\arpeggioArrowUp < e'' g'' > 1 \arpeggio
\arpeggioArrowDown < e'' g'' > 1 \arpeggio
\arpeggioParenthesis < e'' g'' > 1 \arpeggio
\arpeggioBracket < e'' g'' > 1 \arpeggio
}

is there a way to tweak this or is it a bug?
thanx
-eluze


___
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: lyrics and repeat

2008-09-01 Thread Dominic Neumann
There was a similar question some days ago. Do the answers help you?
http://www.mail-archive.com/lilypond-user@gnu.org/msg39370.html

Dominic

2008/9/1 Grammostola Rosea <[EMAIL PROTECTED]>:
> Grammostola Rosea wrote:
>>
>> Joseph Haig wrote:
>>>
>>> You want to add:
>>>
>>> versetwo = \lyricmode {
>>>  % Second line of words here
>>> }
>>>
>>> and then later, where you have:
>>>
>>> \new Staff { \melody } \addlyrics { \verse }
>>>
>>> you want:
>>>
>>> \new Staff { \melody }
>>> \addlyrics { \verse }
>>> \addlyrics { \versetwo }
>>>
>>> Note that the lyrics are not part of the staff, but are a separate
>>> line in themselves so you can have as many of them as you want.
>>>
>>> Hope this helps,
>>>
>>> Joe
>>>
>>
>> Yes, that helps! Thanks!
>>
> And I want to repeat on another part (chorus) in the song, but it should not
> go back to the first beginning (verses) but to the beginning of the chorus.
> So I want to use D.S.
> http://lilypond.org/doc/v2.11/Documentation/user/music-glossary/dal-segno#dal-segno
> repeat the chorus and after that start with another part (skip one bar of
> the chorus)..
>
> |b |  |go to c|   go back to b
> (D.S.)|  ...  |c   | |
>
>
> How will I do this in Lilypond?
>
>
>
>
>
> ___
> 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: arpeggio problems

2008-09-01 Thread Eluze


Am 01.09.2008, 12:02 Uhr, schrieb Mats Bengtsson <[EMAIL PROTECTED]>:

> What typesetting layout would you propose in these situations, where
> the arpeggio is too short to fit in the zigzag or arrow head or ...?
> Should the arpeggio be extended somewhat above and below the notes of
> the chord, or ...?

first i get the impression that the available space is not fully exploited
everywhere (only in the bracket style example) - maybe using that space
could help

if this is still not enough then of course it would be nice to extend a
little bit up or down would help - if a composer wants to have an arpeggio,
he probably would like it to be seen!

>
> As a workaround, you could add invisible note heads to the chord.
>

yes, that works - but 

-eluze 

-- 
View this message in context: 
http://www.nabble.com/arpeggio-problems-tp19251408p19252373.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


Intel Leopard and Smultron

2008-09-01 Thread Josh Parmenter

Hi all...

I was wondering if anyone else has seen this. I compiled lilypond  
according to the instructions here (thanks by the way!):


http://nicolas.sceaux.free.fr/

I used MacPorts for the dependencies. Running lilypond from the  
command line works great, and I have it loaded into my path without a  
problem. Running inside Terminal is fine.


However, when I try to run it within another program (e.g. Smultron) I  
get this error:


/opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: In procedure dynamic- 
link in expression (load-extension "libguile-srfi-srfi-1-v-3"  
"scm_init_srfi_1"):
/opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: file: "libguile-srfi- 
srfi-1-v-3", message: "dlopen(libguile-srfi-srfi-1-v-3.so, 9): image  
not found"


Any ideas? Why would anything compiled on a mac be looking for an .so  
lib instead of a .dylib?


Thanks for help!

Josh

**
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono

*/

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


Re: lyrics and repeat

2008-09-01 Thread Grammostola Rosea

Dominic Neumann wrote:

There was a similar question some days ago. Do the answers help you?
http://www.mail-archive.com/lilypond-user@gnu.org/msg39370.html

Dominic

2008/9/1 Grammostola Rosea <[EMAIL PROTECTED]>:
  

Grammostola Rosea wrote:


Joseph Haig wrote:
  

You want to add:

versetwo = \lyricmode {
 % Second line of words here
}

and then later, where you have:

\new Staff { \melody } \addlyrics { \verse }

you want:

\new Staff { \melody }
\addlyrics { \verse }
\addlyrics { \versetwo }

Note that the lyrics are not part of the staff, but are a separate
line in themselves so you can have as many of them as you want.

Hope this helps,

Joe



Yes, that helps! Thanks!

  

And I want to repeat on another part (chorus) in the song, but it should not
go back to the first beginning (verses) but to the beginning of the chorus.
So I want to use D.S.
http://lilypond.org/doc/v2.11/Documentation/user/music-glossary/dal-segno#dal-segno
repeat the chorus and after that start with another part (skip one bar of
the chorus)..

|b |  |go to c|   go back to b
(D.S.)|  ...  |c   | |


How will I do this in Lilypond?





Isn't there a D.S. al Coda feature in Lilypond?

'D.S. al Coda instructs the musician to repeat back to the sign, and 
when Al Coda or To Coda is reached jump to the Coda symbol. '


Cosa symbol > http://en.wikipedia.org/wiki/Image:Coda_sign.svg

Regards,



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


Re: arpeggio problems

2008-09-01 Thread Kieren MacMillan

Hi all,


As a workaround, you could add invisible note heads to the chord.

yes, that works - but 


Why not use #'positions?

%%
\version "2.11.56"
\paper { line-width = 5\in }

music = \relative c''
{
1\arpeggio
\once \override Arpeggio #'positions = #'(-1 . 1) \arpeggio
1\arpeggio
}

\score { \music }
%%

Hope this helps!
Kieren.


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


Re: lyrics and repeat

2008-09-01 Thread Grammostola Rosea

Grammostola Rosea wrote:

Dominic Neumann wrote:

There was a similar question some days ago. Do the answers help you?
http://www.mail-archive.com/lilypond-user@gnu.org/msg39370.html

Dominic

2008/9/1 Grammostola Rosea <[EMAIL PROTECTED]>:
 

Grammostola Rosea wrote:
   

Joseph Haig wrote:
 

You want to add:

versetwo = \lyricmode {
 % Second line of words here
}

and then later, where you have:

\new Staff { \melody } \addlyrics { \verse }

you want:

\new Staff { \melody }
\addlyrics { \verse }
\addlyrics { \versetwo }

Note that the lyrics are not part of the staff, but are a separate
line in themselves so you can have as many of them as you want.

Hope this helps,

Joe



Yes, that helps! Thanks!

  
And I want to repeat on another part (chorus) in the song, but it 
should not
go back to the first beginning (verses) but to the beginning of the 
chorus.

So I want to use D.S.
http://lilypond.org/doc/v2.11/Documentation/user/music-glossary/dal-segno#dal-segno 

repeat the chorus and after that start with another part (skip one 
bar of

the chorus)..

|b |  |go to c|   go back to b
(D.S.)|  ...  |c   | |


How will I do this in Lilypond?





Isn't there a D.S. al Coda feature in Lilypond?

'D.S. al Coda instructs the musician to repeat back to the sign, and 
when Al Coda or To Coda is reached jump to the Coda symbol. '


Cosa symbol > http://en.wikipedia.org/wiki/Image:Coda_sign.svg

Regards,

mmmh I have it now like this, but the D.S. must be on the end of the bar 
(after the rest) and not on the beginning. And it would be nice if there 
is a white space between DS and the second coda sign (which is now not 
displayed..., before f2. )


\version "2.11.53"

\include "nederlands.ly"
\header {
 title = "Can't Help Falling In Love"
 composer = "Elvis Presley"
 }

global = {
 \key f \major
 \tempo 4=76
 \time 4/4
}

chordNames = \chordmode {
 \global
 f2 a:m d1:m bes2 f c1:7
 bes2 c:7 d:m g:m f c:7 f1
 a2:m e:7 a:m e:7
 a:m e:7 a:m d:7 g:m c:7 f a:m
 d1:m bes2 f c1:7 bes2 c:7
 d:m g:m f c:7 f1

}

melodyone = \relative c' {
 \global
 % Music follows here.
\repeat volta 2 {f2 c'| f,2. \times 2/3 {r8 g a} | bes2 a | g r4 \times 
2/3 {r4 c,8} |

d2 e | f \times 2/3 {g4 a bes} | a2 g | f r |}
\mark \markup { \musicglyph #"scripts.segno" } {e8. a16 c8. e16 d2 |  
e,8. a16 c8. e16 d2 |  e,8. a16 c8. e16 d2 |

 c8 c4.~c8. a16 c8. a16| bes2 r | f c' |
 f,2. g8. a16| bes2 a | g r4 \times 2/3 { r4 c,8} | d2 e |
f \times 2/3 { g4 a bes} | a2 g} {\once \override Score.RehearsalMark 
#'font-size = #4

   \mark \markup { \musicglyph #"scripts.coda" } | f2 r2 \mark \markup{
   \line { "D.S. " \tiny \raise #1 \musicglyph #"scripts.segno" }
} } \bar "|."
  
   \break


   \once \override Staff.KeySignature #'break-visibility = 
#end-of-line-invisible

  \once \override Staff.Clef #'break-visibility = #end-of-line-invisible
  %\once \override Score.RehearsalMark #'font-size = #4
   \mark \markup { \musicglyph #"scripts.coda" }
  f2. \times 2/3 {r4 c8} d2 e f \times 2/3 g4 a bes | a2 g | f1 
\fermata \bar "|."

  }





verseone = \lyricmode {
 % Lyrics follow here.
  
Wise men say on -- ly fools rush in, But I can't help fall -- ing
 in love with you. Like a riv -- er flows sure -- ly to the sea, Dar -- 
ling

 so it goes Some -- things__ are meant to be. Take my hand. take my whole
 life too. For I can't help fall -- ing in love with you.
  
}

versetwo = \lyricmode {
 Shall I stay? Would it be a sin if I cant' help fall -- ing in love 
with you.


}

versethree = \lyricmode {
   you. For I can't help fall -- ing in love with you.
}
drum = \drummode {
 \global
 % Drums follow here.
 \repeat unfold 84 { \times 2/3 {8 hhp 8}
}
}

\score {
 <<
   \new ChordNames \chordNames
   \new Staff { \melodyone }
   \addlyrics { \verseone }
   \addlyrics { \versetwo }
   \new DrumStaff \drum
 >>
 \layout { }
 \midi { }
}



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


Re: lyrics and repeat

2008-09-01 Thread James E. Bailey


Am 01.09.2008 um 12:48 schrieb Grammostola Rosea:


Isn't there a D.S. al Coda feature in Lilypond?


No, you put in the symbols where you want them, and the performers  
interpret them.

http://kainhofer.com/~lilypond/Documentation/user/lilypond/Text-marks.html#Text-marks
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-latex

2008-09-01 Thread Ole Schmidt
I tried to follow your advice and read the lilypond-book section in  
the lilypond-program file. I must admit that I do not understand very  
much and did not found the --pdf option you mentioned. For a very  
unexperiented user like me, using lilypond in latex only twice a year,  
the lilypond-latex.engine scripts were super convenient.
Maybe there is someone in the list who can take a look at the scripts  
and make them working. For someone who is familiar whith that stuff it  
must be easy... (see the link below)


ole


Am 31.08.2008 um 21:56 schrieb Mats Bengtsson:


This script hasn't been updated since 2006, whereas
LilyPond has kept changing improving significantly since then.
Why not read in the manual on how to use lilypond-book with
the --pdf option, which simplifies things a lot. If you still need
a script to simplify things even further, I'm sure you can do it
yourself, perhaps using the previous one as inspiration or
somebody else on the list can assist you.

 /Mats

Ole Schmidt wrote:
Some month ago I was using a small lilypond snippet inside a latex  
file.
I did that successful with the help of the "lilypond-latex.engine"  
script from Nicola Vitacolonna which was mentioned here in the  
list. (http://users.dimi.uniud.it/~nicola.vitacolonna/download/software/latex/Lilypond-LaTeX.engine.txt 
)


Today I was trying again to compile my old latex-lilypond file  
again and it fails giving me the following error-message in texshop- 
console:

-
cp: No match.
Usage: lilypond-book [OPTION]... FILE

lilypond-book: error: no such option: --psfonts
then: then/endif not found.

-

any help is very much appreciated...

best  ole






___
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: arpeggio problems

2008-09-01 Thread Eluze


Kieren MacMillan wrote:
> 
> Hi all,
> 
> Why not use #'positions?
> 
> %%
> \version "2.11.56"
> \paper { line-width = 5\in }
> 
> music = \relative c''
> {
>   1\arpeggio
>   \once \override Arpeggio #'positions = #'(-1 . 1) \arpeggio
>   1\arpeggio
> }
> 
> \score { \music }
> %%
> 
> Hope this helps!
>  
hi

not really  - the position seems to be absolute - something around pitch c''
- and if you have to transpose or change anything you will have to
recalculate everything!

is there a function to do this automatically?!

thank you anyway!
-eluze
-- 
View this message in context: 
http://www.nabble.com/arpeggio-problems-tp19251408p19254165.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


Re: LH fingering not working

2008-09-01 Thread Tom Cloyd

Jonathan Kulp wrote:
Ok, now I'm getting somewhere.  I couldn't make the \tweak command 
work with extra-offset from looking at the manual, but I found an 
example in a guitar piece at Mutopia:


http://www.mutopiaproject.org/ftp/TarregaF/adelita/adelita.ly

From this I learned exactly where to put stuff and now I can get 
perfect positioning of each element of fingering even inside a chord. 
Here's the result of my experiment on the chord in Tom's sample code:


\version "2.11.56"

\relative c' { r4
 \voiceOne
 \override Fingering #'staff-padding = #'()
 \set fingeringOrientations = #'(down down up)
% \SO #'-0.0 #'2.5
 < e'-\tweak #'extra-offset #'(0 . 5.2)-0 fis-1-\tweak 
#'extra-offset #'(0.7 . 3.5 ) \3
 g-\tweak #'extra-offset #'(-0.5 . -1.5)-4-\tweak #'extra-offset 
#'(-0.2 . -1.5)\2 >4~ s2 }


It looks kind of ugly in the code but it does allow excellent 
placement of both the fingerings and the string indications.  This is 
definitely something I'll be using in my own scores.  I just wish it 
worked in variables (the docs on \tweak say it's a known issue that 
\tweak doesn't work in a variable).


BTW this still didn't fix the problem Tom cited about the fingering 
Orientation (down down up) being partially ignored. That's work for 
another day...


Thanks for the tips, James and Trevor!

Jon

Trevor Daniels wrote:

Jonathan

Have a look at NR 5.3.4 The \tweak command.  I rewrote this recently, 
so I'd like to know whether or not this is clear and helpful.  Thanks.


Trevor

- Original Message - From: "Jonathan Kulp" 
<[EMAIL PROTECTED]>

To: "James E. Bailey" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; ; "Steven Padalino" 
<[EMAIL PROTECTED]>

Sent: Sunday, August 31, 2008 9:14 PM
Subject: Re: LH fingering not working


Ha!  I totally forgot about "tweak"!  Now I remember seeing that 
example where one note of a chord is smaller than the other three. 
I'm going to try it.  Many thanks, James.  I bet this will fix it.


Jonathan

James E. Bailey wrote:

First, I know nothing about this, but,
Am 31.08.2008 um 19:23 schrieb Jonathan Kulp:


Hi Tom,

 While it's possible to position fingerings very precisely using 
extra-offset,
you can only do so to notes inside chord constructs.  Fine.  The 
problem
is that if you're trying to position the fingerings for an actual 
chord

(i.e. more than 1 note at the same time inside a chord construct),
isn't that what \tweak is for? I mean, the only time I see it is 
when a specific change needs to be made inside a chord construct. 
Again, I know nothing about what's going on here.





--
Jonathan Kulp
http://www.jonathankulp.com


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







Well, this is slick. While it does take a bit of trial and error, the
result is worth it. Here's the code which works exactly as I wish, and
with the triple bar fixed as well. Very nice.

I don't know what you think of my resolution of the "ugly code" problem,
but for me this is an acceptable resolution of that as well. Getting
into and back out of the code seems easy enough.

Thanks to all for contributions to this success. Everything I learned
from this thread to fix this code snippet will be regularly useful in
the future.

   \relative c'{
 <<
  { s2 r4
  <
  e'-\tweak #'extra-offset #'(0 . 5.2)-0
  fis-\tweak #'extra-offset #'(1 . 0.5 )-4
-\tweak #'extra-offset #'(1.2 . 10.5 )\3
  g-\tweak #'extra-offset #'(-0.5 . -1.8)-1
-\tweak #'extra-offset #'(-0.5 . -1.5)\2
  >4~
  }
  \\
  { \stemUp \times 2/3 { fis,8-3 ^"II" [ (g-4) e-1 ]}
\tweak #'direction #up %modifies placement of tuples
bracket
\times 2/3 {a8\rest
\set fingeringOrientations = #'(left)

[] }
2 }
  \\
  { \stemDown s4 e,,2.~ \ff }
 >>
}

   \relative c'{
 <<
 { < e'  fis g >1 \fermata }
 \\
 { b1}
 \\
   { e,,1 \fermata}
 >>
 }|


--

~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< [EMAIL PROTECTED] >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~




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


Re: lyrics and repeat

2008-09-01 Thread Grammostola Rosea

Grammostola Rosea wrote:

Dominic Neumann wrote:

There was a similar question some days ago. Do the answers help you?
http://www.mail-archive.com/lilypond-user@gnu.org/msg39370.html

Dominic

2008/9/1 Grammostola Rosea <[EMAIL PROTECTED]>:
 

Grammostola Rosea wrote:
   

Joseph Haig wrote:
 

You want to add:

versetwo = \lyricmode {
 % Second line of words here
}

and then later, where you have:

\new Staff { \melody } \addlyrics { \verse }

you want:

\new Staff { \melody }
\addlyrics { \verse }
\addlyrics { \versetwo }

Note that the lyrics are not part of the staff, but are a separate
line in themselves so you can have as many of them as you want.

Hope this helps,

Joe



Yes, that helps! Thanks!

  
And I want to repeat on another part (chorus) in the song, but it 
should not
go back to the first beginning (verses) but to the beginning of the 
chorus.

So I want to use D.S.
http://lilypond.org/doc/v2.11/Documentation/user/music-glossary/dal-segno#dal-segno 

repeat the chorus and after that start with another part (skip one 
bar of

the chorus)..

|b |  |go to c|   go back to b
(D.S.)|  ...  |c   | |


How will I do this in Lilypond?




Can someone tell me why D.S. is not at the end of the bar, but on the 
beginning? How do I change that?


Why isn't the second coda sign not displayed? Thanks in advance.


\version "2.11.53"

\include "nederlands.ly"
\header {
 title = "Can't Help Falling In Love"
 composer = "Elvis Presley"
 }

global = {
 \key f \major
 \tempo 4=76
 \time 4/4
}

chordNames = \chordmode {
 \global
 f2 a:m d1:m bes2 f c1:7
 bes2 c:7 d:m g:m f c:7 f1
 a2:m e:7 a:m e:7
 a:m e:7 a:m d:7 g:m c:7 f a:m
 d1:m bes2 f c1:7 bes2 c:7
 d:m g:m f c:7 f1

}

melodyone = \relative c' {
 \global
 % Music follows here.
\repeat volta 2 {f2 c'| f,2. \times 2/3 {r8 g a} | bes2 a | g r4 \times 
2/3 {r4 c,8} |

d2 e | f \times 2/3 {g4 a bes} | a2 g | f r |}
\mark \markup { \musicglyph #"scripts.segno" } {e8. a16 c8. e16 d2 |  
e,8. a16 c8. e16 d2 |  e,8. a16 c8. e16 d2 |

 c8 c4.~c8. a16 c8. a16| bes2 r | f c' |
 f,2. g8. a16| bes2 a | g r4 \times 2/3 { r4 c,8} | d2 e |
f \times 2/3 { g4 a bes} | a2 g} {\once \override Score.RehearsalMark 
#'font-size = #4
   \mark \markup { \musicglyph #"scripts.coda" }  f2 r2 \mark "D.S. " 
 \bar "|."


 \mark \markup { \musicglyph #"scripts.coda" }
   {f2. \times 2/3 {r4 c8} d2 e f \times 2/3 g4 a bes | a2 g | f1 
\fermata \bar "|."

} }
}



verseone = \lyricmode {
 % Lyrics follow here.
  
Wise men say on -- ly fools rush in, But I can't help fall -- ing
 in love with you. Like a riv -- er flows sure -- ly to the sea, Dar -- 
ling

 so it goes Some -- things__ are meant to be. Take my hand. take my whole
 life too. For I can't help fall -- ing in love with you.
  
}

versetwo = \lyricmode {
 Shall I stay? Would it be a sin if I cant' help fall -- ing in love 
with you.


}

versethree = \lyricmode {
   you. For I can't help fall -- ing in love with you.
}
drum = \drummode {
 \global
 % Drums follow here.
 \repeat unfold 84 { \times 2/3 {8 hhp 8}
}
}

\score {
 <<
   \new ChordNames \chordNames
   \new Staff { \melodyone }
   \addlyrics { \verseone }
   \addlyrics { \versetwo }
   \new DrumStaff \drum
 >>
 \layout { }
 \midi { }
}



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


Re: lyrics and repeat

2008-09-01 Thread Risto Vääräniemi
Hi,

2008/9/1 Grammostola Rosea <[EMAIL PROTECTED]>:

> Can someone tell me why D.S. is not at the end of the bar, but on the
> beginning? How do I change that?

You are using it as a \mark and it is now attached to the next bar line.

You could try: r2 ^\markup "D.S.".

> Why isn't the second coda sign not displayed? Thanks in advance.

It is sort of a consequence of the "D.S.". You have both D.S. and coda
sign assigned to the same position (bar line). I guess the second got
canceled.

If I have understood correctly, for Lilypond the D.S. and codas are
just "text" and you cannot loop music i.e. MIDI with them. They are
just visual aids for the real performer as James already pointed out.
Therefore, you don't need to contain the D.S. or coda parts inside
curly brackets.

If I'm wrong I'll take the lashing. :-)

-Risto


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


Re: debian control file out of date? was: Re: live cd-with lilypondhttp://lilypond.org/doc/v2.10/Documentation/topdocs/INSTALL

2008-09-01 Thread Thomas Bushnell BSG
On Sun, 2008-08-31 at 21:52 +0200, Mats Bengtsson wrote:
> This isn't true. The only problem of not removing the old files
> is that they take some space. Newer versions of LilyPond will
> not use them anymore. Also, the whole problem is more or
> less outdated. LilyPond moved away from using TeX and
> the old way of finding/using fonts in version 2.6, i.e. about
> 3 years ago.

Debian actually has a policy on this one.  We need to support upgrades
from the previous stable release.  For lilypond, the oldstable version
is 2.2.6.  Once lenny releases (the current release-in-preparation), the
oldstable version will bump to 2.8.7 (which is the current stable
version).

That means that the clean upgrade must stick around for the meanwhile,
until the release of lenny.

Thomas




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


Re: lyrics and repeat

2008-09-01 Thread Grammostola Rosea

Risto Vääräniemi wrote:

If I have understood correctly, for Lilypond the D.S. and codas are
just "text" and you cannot loop music i.e. MIDI with them. They are
just visual aids for the real performer as James already pointed out.
Therefore, you don't need to contain the D.S. or coda parts inside
curly brackets.


  

Thanks. I have it now like this, see below.

What if I want to use the repeats with MIDI? How should I change my score?

Thanks in advance,



\version "2.11.53"

\include "nederlands.ly"
\header {
 title = "Can't Help Falling In Love"
 composer = "Elvis Presley"
 }

global = {
 \key f \major
 \tempo 4=76
 \time 4/4
}

chordNames = \chordmode {
 \global
 f2 a:m d1:m bes2 f c1:7
 bes2 c:7 d:m g:m f c:7 f1
 a2:m e:7 a:m e:7
 a:m e:7 a:m d:7 g:m c:7 f a:m
 d1:m bes2 f c1:7 bes2 c:7
 d:m g:m f c:7 f1

}

melodyone = \relative c' {
 \global
 % Music follows here.
\repeat volta 2 {f2 c'| f,2. \times 2/3 {r8 g a} | bes2 a | g r4 \times 
2/3 {r4 c,8} |

d2 e | f \times 2/3 {g4 a bes} | a2 g | f r |}
\mark \markup { \musicglyph #"scripts.segno" } {e8. a16 c8. e16 d2 |  
e,8. a16 c8. e16 d2 |  e,8. a16 c8. e16 d2 |

 c8 c4.~c8. a16 c8. a16| bes2 r | f c' |
 f,2. g8. a16| bes2 a | g r4 \times 2/3 { r4 c,8} | d2 e |
f \times 2/3 { g4 a bes} | a2 g} {\once \override Score.RehearsalMark 
#'font-size = #4
   \mark \markup { \musicglyph #"scripts.coda" }  f2 r2 ^\markup "D.S. " 
 \bar "|."

 \break
  \once \override Staff.KeySignature #'break-visibility = 
#end-of-line-invisible

  \once \override Staff.Clef #'break-visibility = #end-of-line-invisible
 \mark \markup { \musicglyph #"scripts.coda" }
   {f2. \times 2/3 {r4 c8} d2 e f \times 2/3 g4 a bes | a2 g | f1 
\fermata \bar "|."

} }
}



verseone = \lyricmode {
 % Lyrics follow here.
  
Wise men say on -- ly fools rush in, But I can't help fall -- ing
 in love with you. Like a riv -- er flows sure -- ly to the sea, Dar -- 
ling

 so it goes Some -- things__ are meant to be. Take my hand. take my whole
 life too. For I can't help fall -- ing in love with you.
  
}

versetwo = \lyricmode {
 Shall I stay? Would it be a sin if I cant' help fall -- ing in love 
with you.


}

versethree = \lyricmode {
   you. For I can't help fall -- ing in love with you.
}
drum = \drummode {
 \global
 % Drums follow here.
 \repeat unfold 104 { \times 2/3 {8 hhp 8}
}
}

\score {
 <<
   \new ChordNames \chordNames
   \new Staff { \melodyone }
   \addlyrics { \verseone }
   \addlyrics { \versetwo }
   \new DrumStaff \drum
 >>
 \layout { }
 \midi { }
}




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


Re: lyrics and repeat

2008-09-01 Thread James E. Bailey


Am 01.09.2008 um 16:42 schrieb Grammostola Rosea:
Can someone tell me why D.S. is not at the end of the bar, but on  
the beginning? How do I change that?





Why isn't the second coda sign not displayed? Thanks in advance.


http://kainhofer.com/~lilypond/Documentation/user/lilypond/Text-marks.html#Text-marks
Explains text marks, their usage, and why the second coda sign isn't  
shown, and how to have a text mark appear at the end of a line instead  
of the beginning.






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


Re: lyrics and repeat

2008-09-01 Thread James E. Bailey


Am 01.09.2008 um 17:27 schrieb Grammostola Rosea:


Risto Vääräniemi wrote:

If I have understood correctly, for Lilypond the D.S. and codas are
just "text" and you cannot loop music i.e. MIDI with them. They are
just visual aids for the real performer as James already pointed out.
Therefore, you don't need to contain the D.S. or coda parts inside
curly brackets.




Thanks. I have it now like this, see below.

What if I want to use the repeats with MIDI? How should I change my  
score?


Thanks in advance,

http://kainhofer.com/~lilypond/Documentation/user/lilypond/Repeats-in-MIDI.html#Repeats-in-MIDI
That's one I actually forget rather regularly. Hopefully when it it's  
re-written, it will be easier to know that "MIDI" is part of "output".  
Or, just reading through the NR, you get a feel for where things are.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-latex

2008-09-01 Thread Karl Hammar
Ole wrote:
...
> Maybe there is someone in the list who can take a look at the scripts  
> and make them working. For someone who is familiar whith that stuff it  
> must be easy... (see the link below)

I don't know TexShop, here is my guess.

Edit the file, this is the end of it. And remove the things above 
the ^^^-s (make sure you view this mail with a fixed width font
like courier so the ^^ line up at the correct place):

# Create directory to put all temporary stuff
mkdir -p "$1:r"-out/
# Copy local style files, if any, where latex will be able to find them
cp *.sty "$1:r"-out
if ({ lilypond-book --output="$1:r"-out --psfonts "$1" }) then
^^

  cd "$1:r"-out
  if ({ latex "$1" }) then
if ({ dvips -o -Ppdf -R0 -h "$1:r".psfonts "$1:r".dvi }) then
 ^ 

  if ({ ps2pdf "$1:r".ps }) then
mv "$1:r".pdf ..
  endif
endif
  endif
endif

...
> >> I did that successful with the help of the "lilypond-latex.engine"  
> >> script from Nicola Vitacolonna which was mentioned here in the  
> >> list. 
> >> (http://users.dimi.uniud.it/~nicola.vitacolonna/download/software/latex/Lilypond-LaTeX.engine.txt
> >>  
...

Regards,
/Karl




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


Re: lyrics and repeat

2008-09-01 Thread Grammostola Rosea

James E. Bailey wrote:



http://kainhofer.com/~lilypond/Documentation/user/lilypond/Repeats-in-MIDI.html#Repeats-in-MIDI 
 

That's one I actually forget rather regularly. Hopefully when it it's 
re-written, it will be easier to know that "MIDI" is part of "output". 
Or, just reading through the NR, you get a feel for where things are.

I will experiment with it.

About the score. I'm pretty happy with the result so far, although it 
cost some time...


The only thing I haven't fixed is the last part and the lyrics.

This should be the lyrics of the last part:

' For I can't help fall -- ing in love with you.'

But it is giving this:

'Shall I stay? Would it be a sin if I can't'

I can't see why...

\version "2.11.53"

\include "nederlands.ly"
\header {
 title = "Can't Help Falling In Love"
 composer = "G. Weiss Hugo & Luigi"

 }

global = {
 \key f \major
 \tempo 4=76
 \time 4/4
}

chordNames = \chordmode {
 \global
 f2 a:m d1:m bes2 f c1:7
 bes2 c:7 d:m g:m f c:7 f1
 a2:m e:7 a:m e:7
 a:m e:7 a:m d:7 g:m c:7 f a:m
 d1:m bes2 f c1:7 bes2 c:7
 d:m g:m f c:7 f1

}

melodyone = \relative c' {
 \global
 % Music follows here.
\repeat volta 2 {f2 c'| f,2. \times 2/3 {r8 g a} | bes2 a | g r4 \times 
2/3 {r4 c,8} |

d2 e | f \times 2/3 {g4 a bes} | a2 g | f r |}
\mark \markup { \musicglyph #"scripts.segno" } {e8. a16 c8. e16 d2 |  
e,8. a16 c8. e16 d2 |  e,8. a16 c8. e16 d2 |

 c8 c4.~c8. a16 c8. a16| bes2 r | f c' |
 f,2. g8. a16| bes2 a | g r4 \times 2/3 { r4 c,8} | d2 e |
f \times 2/3 { g4 a bes} | a2 g} {\once \override Score.RehearsalMark 
#'font-size = #4
   \mark \markup { \musicglyph #"scripts.coda" }  f2 r2 -\markup "D.S. " 
 \bar "|."

 \break
  \once \override Staff.KeySignature #'break-visibility = 
#end-of-line-invisible

  \once \override Staff.Clef #'break-visibility = #end-of-line-invisible
 \mark \markup { \musicglyph #"scripts.coda" }
   {f2. \times 2/3 {r4 c8} d2 e f \times 2/3 g4 a bes | a2 g | f1 
\fermata \bar "|."

} }
}



verseone = \lyricmode {
 % Lyrics follow here.
  
Wise men say on -- ly fools rush in, But I can't help fall -- ing
 in love with you. Like a riv -- er flows sure -- ly to the sea, Dar -- 
ling

 so it goes Some -- things__ are meant to be. Take my hand. take my whole
 life too. For I can't help fall -- ing in love with you.
   Shall I stay? Would it be a sin if I cant' help fall -- ing in love 
with you.
  
}

versetwo = \lyricmode {
 Shall I stay? Would it be a sin if I can't help fall -- ing in love 
with you.

 For I can't help fall -- ing in love with you.

}

drum = \drummode {
 \global
 % Drums follow here.
 \repeat unfold 104 { \times 2/3 {8 hhp 8}
}
}

\score {
 <<
   \new ChordNames \chordNames
   \new Staff { \melodyone }
   \addlyrics { \verseone }
   \addlyrics { \versetwo }
   \new DrumStaff \drum
 >>
 \layout { }
 \midi { }
 }





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


Re: lilypond-latex

2008-09-01 Thread Ole Schmidt

thank you! Unfortunatly I get another error warning:

%
cp: No match.
Usage: lilypond-book [OPTIONS] FILE

Process LilyPond snippets in hybrid HTML, LaTeX, texinfo or DocBook  
document.


Example usage:

 lilypond-book --filter="tr '[a-z]' '[A-Z]'" BOOK
 lilypond-book --filter="convert-ly --no-version --from=2.0.0 -" BOOK
 lilypond-book --process='lilypond -I include' BOOK

Options:
   --versionshow program's version number and exit
   -h, --help   show this help message and exit
   -F, --filter=FILTER  pipe snippets through FILTER [convert-ly -n -]
   -f, --format=Noneuse output format FORMAT (texi [default],  
texi-html,

latex, html, docbook)
   -I, --include=DIRadd DIR to include path
   --left-padding=PAD
Pad left side of music to align music inspite  
of

uneven bar numbers. (in mm)
   -o, --output=DIR write output to DIR
   -P, --process=COMMAND
process ly_files using COMMAND FILE...
   --pdfCreate PDF files for use with PDFTeX
   --psfontsextract all PostScript fonts into  
INPUT.psfonts for

LaTeX must use this with dvips -h INPUT.psfonts
   -V, --verbosebe verbose
   -w, --warranty   show warranty and copyright

Bugs:
Report bugs via 
http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs
then: then/endif not found.


ole





Am 01.09.2008 um 18:10 schrieb Karl Hammar:


Ole wrote:
...

Maybe there is someone in the list who can take a look at the scripts
and make them working. For someone who is familiar whith that stuff  
it

must be easy... (see the link below)


I don't know TexShop, here is my guess.

Edit the file, this is the end of it. And remove the things above
the ^^^-s (make sure you view this mail with a fixed width font
like courier so the ^^ line up at the correct place):

# Create directory to put all temporary stuff
mkdir -p "$1:r"-out/
# Copy local style files, if any, where latex will be able to find  
them

cp *.sty "$1:r"-out
if ({ lilypond-book --output="$1:r"-out --psfonts "$1" }) then
   ^^

 cd "$1:r"-out
 if ({ latex "$1" }) then
   if ({ dvips -o -Ppdf -R0 -h "$1:r".psfonts "$1:r".dvi }) then
^

 if ({ ps2pdf "$1:r".ps }) then
   mv "$1:r".pdf ..
 endif
   endif
 endif
endif

...

I did that successful with the help of the "lilypond-latex.engine"
script from Nicola Vitacolonna which was mentioned here in the
list. 
(http://users.dimi.uniud.it/~nicola.vitacolonna/download/software/latex/Lilypond-LaTeX.engine.txt

...

Regards,
/Karl




___
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: lyrics and repeat

2008-09-01 Thread Grammostola Rosea

Grammostola Rosea wrote:

James E. Bailey wrote:



http://kainhofer.com/~lilypond/Documentation/user/lilypond/Repeats-in-MIDI.html#Repeats-in-MIDI 
 

That's one I actually forget rather regularly. Hopefully when it it's 
re-written, it will be easier to know that "MIDI" is part of 
"output". Or, just reading through the NR, you get a feel for where 
things are.

I will experiment with it.

About the score. I'm pretty happy with the result so far, although it 
cost some time...


The only thing I haven't fixed is the last part and the lyrics.

This should be the lyrics of the last part:

' For I can't help fall -- ing in love with you.'

But it is giving this:

'Shall I stay? Would it be a sin if I can't'

I can't see why...

Ok, fixed it, this will be it for  now:


\version "2.11.53"

\include "nederlands.ly"
\header {
 title = "Can't Help Falling In Love"
 composer = "G. Weiss Hugo & Luigi"

 }

global = {
 \key f \major
 \tempo 4=76
 \time 4/4
}

chordNames = \chordmode {
 \global
 f2 a:m d1:m bes2 f c1:7
 bes2 c:7 d:m g:m f c:7 f1
 a2:m e:7 a:m e:7
 a:m e:7 a:m d:7 g:m c:7 f a:m
 d1:m bes2 f c1:7 bes2 c:7
 d:m g:m f c:7 f1

 f1 bes2 c:7 d:m g:m f c:7 f1

}

melody = \relative c' {
 \global
 % Music follows here.
\mark "Slowly" \repeat volta 2 {f2 c'| f,2. \times 2/3 {r8 g a} | bes2 
a | g r4 \times 2/3 {r4 c,8} |

d2 e | f \times 2/3 {g4 a bes} | a2 g | f r |}
\mark \markup { \musicglyph #"scripts.segno" } {e8. a16 c8. e16 d2 |  
e,8. a16 c8. e16 d2 |  e,8. a16 c8. e16 d2 |

 c8 c4.~c8. a16 c8. a16| bes2 r | f c' |
 f,2. g8. a16| bes2 a | g r4 \times 2/3 { r4 c,8} | d2 e |
f \times 2/3 { g4 a bes} | a2 g} {\once \override Score.RehearsalMark 
#'font-size = #4
   \mark \markup { \musicglyph #"scripts.coda" }  f2 r2 -\markup "D.S. " 
 \bar "|."

 \break
  \once \override Staff.KeySignature #'break-visibility = 
#end-of-line-invisible

  \once \override Staff.Clef #'break-visibility = #end-of-line-invisible
 \mark \markup { \musicglyph #"scripts.coda" }
 {f2. \times 2/3 {r4 c8} d2 e f \times 2/3 {g4 a bes} | a2 g | f1 
\fermata \bar "|."

} }
}



verseOne = \lyricmode {
 % Lyrics follow here.
  
Wise men say on -- ly fools rush in, But I can't help fall -- ing
 in love with you. Like a riv -- er flows sure -- ly to the sea, Dar -- 
ling

 so it goes Some -- things__ are meant to be. Take my hand. take my whole
 life too. For I can't help fall -- ing in love with you.
  you. For I can't help fall -- ing in love with you.
  
}

verseTwo = \lyricmode {
 Shall I stay? Would it be a sin if I can't help fall -- ing in love 
with you.



}

refrSkip = \lyricmode {\repeat unfold 20 {\skip 1}}

verseThree = \lyricmode { For I can't help fall -- ing in love with you.
}

drum = \drummode {
 \global
 % Drums follow here.
 \repeat unfold 104 { \times 2/3 {8 hhp 8}
}
}

\score {
 <<
   \new ChordNames \chordNames
   \new Staff { \melody}
   \addlyrics { \verseOne \refrSkip \verseThree}
   \addlyrics { \verseTwo }
   %\addlyrics { \refrSkip \verseThree }
   \new DrumStaff \drum
 >>
 \layout { }
 \midi { }
 }




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


Re: LH fingering not working

2008-09-01 Thread Patrick Horgan

James E. Bailey wrote:
That is very well covered in LM 5, so I can understand why it wouldn't 
be duplicated.
That was my concern about the policy in the LM to never cover anything 
that was previously covered...it means that you (the reader) have to 
have integrated the content of previous sections to understand/use later 
sections.  Some of the best tutorial writing I've seen (the LM is 
supposed to be the tutorial part not the reference part right?), repeats 
stuff a lot, so that learning each part, the basic context is always 
present to make it clearer.  Of course I don't mean repeat everything 
everywhere, that would be silly, but things that make an obvious context 
are present where needed, instead of referring someone to somewhere 
else, or worse, not referring them to somewhere else because they should 
have integrated previous sections.  I believe that the policy is normal 
for reference material, but inherently decreases the usability of 
tutorial material.


Just my two cents and I know I'll have no influence and know that the 
great documentation project is winding down, but just wanted to say it 
because it's been a frustration of mine.  I wish I'd gotten involved 
sooner instead of coming in to the list when the project was well 
underway and teams in place.  After reading and commenting on a couple 
of sections and being told that we don't do things that way, I felt 
rebuffed and just shut up and quit reviewing things.  It was clear that 
it was a style clash that I couldn't resolve.


That said, I'd also like to say that there's a lot of really good 
writing in the LM.  I've read all the documentation, (both the last and 
the new as it comes out) and it's a HUGE improvement, thank you:)


Patrick


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


Re: lilypond-latex

2008-09-01 Thread Mats Bengtsson



Quoting Ole Schmidt <[EMAIL PROTECTED]>:

I tried to follow your advice and read the lilypond-book section in  
the lilypond-program file.


Even if you use LilyPond version 2.10.x, I strongly recommend you
to read the manual for the latest development version 2.11, which has 
been significantly revised and improved and still applies almost 
completely to version 2.10. There, you will certainly find
the information I hinted at, for example at 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-program/An-example-of-a-musicological-document#An-example-of-a-musicological-document


  /Mats



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


Re: lilypond-latex

2008-09-01 Thread Kieren MacMillan

Hi Mats (et al):


Even if you use LilyPond version 2.10.x, I strongly recommend you
to read the manual for the latest development version 2.11, which  
has been significantly revised and improved and still applies  
almost completely to version 2.10. There, you will certainly find
the information I hinted at, for example at http://lilypond.org/doc/ 
v2.11/Documentation/user/lilypond-program/An-example-of-a- 
musicological-document#An-example-of-a-musicological-document


Which doesn't work…  =(

At least for me, it returns the error:
NameError: global name 'set' is not defined

I'm using Lilypond 2.11.57 and python 2.5, if that helps you debug  
the problem.


Thanks,
Kieren.

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


Re: lilypond-latex

2008-09-01 Thread James E. Bailey


Am 01.09.2008 um 23:17 schrieb Kieren MacMillan:


Hi Mats (et al):


Even if you use LilyPond version 2.10.x, I strongly recommend you
to read the manual for the latest development version 2.11, which  
has been significantly revised and improved and still applies  
almost completely to version 2.10. There, you will certainly find

the information I hinted at, for example at 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-program/An-example-of-a-musicological-document#An-example-of-a-musicological-document


Which doesn't work…  =(

At least for me, it returns the error:
   NameError: global name 'set' is not defined

I'm using Lilypond 2.11.57 and python 2.5, if that helps you debug  
the problem.


Thanks,
Kieren.


Yeah, lilypond-book downloaded (as the PPC binary since I'm on  
leopard) doesn't work for me, hasn't for a while, I just assumed it  
was me, not the program. But now that I build lilypond myself, it works.


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


Re: LH fingering not working

2008-09-01 Thread Trevor Daniels


Patrick, you wrote Monday, September 01, 2008 7:53 PM

Just my two cents and I know I'll have no influence and know that the 
great documentation project is winding down, but just wanted to say it 
because it's been a frustration of mine.  I wish I'd gotten involved 
sooner instead of coming in to the list when the project was well 
underway and teams in place.


Only around half of the documentation is written,
and much can still be improved.  If you (or anyone else)
are willing to actually write stuff, rather than review
and comment, there is still plenty of scope to have an
influence.  For example, I would like to see someone
take responsibility for noting all the comments on this
list which suggest something is lacking in the docs
and editing in the changes needed to put it right.  I've
got a stack of things like that, but no time to attend to
them while major sections have still to be written.

Trevor



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


Re: lilypond-latex

2008-09-01 Thread Graham Percival
On Mon, 1 Sep 2008 17:17:47 -0400
Kieren MacMillan <[EMAIL PROTECTED]> wrote:

> Which doesn't work___  =(
> 
> At least for me, it returns the error:
>  NameError: global name 'set' is not defined
> 
> I'm using Lilypond 2.11.57 and python 2.5, if that helps you debug  
> the problem.

You're not actually using python 2.5, which is the problem.
You're using osx 10.3, which has python 2.3 in /usr/bin/python.

Search the mailist (err, maybe the -devel list) for more info
about this problem.

Cheers,
- Graham


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


Re: lilypond-latex

2008-09-01 Thread James E. Bailey


Am 01.09.2008 um 23:47 schrieb Graham Percival:


On Mon, 1 Sep 2008 17:17:47 -0400
Kieren MacMillan <[EMAIL PROTECTED]> wrote:


Which doesn't work___  =(

At least for me, it returns the error:
NameError: global name 'set' is not defined

I'm using Lilypond 2.11.57 and python 2.5, if that helps you debug
the problem.


You're not actually using python 2.5, which is the problem.
You're using osx 10.3, which has python 2.3 in /usr/bin/python.

Search the mailist (err, maybe the -devel list) for more info
about this problem.

Cheers,
- Graham

Oooh, let's play explain the errors! <(^.^)>
23:54:49 jamesebailey lilypond_2.11:python --version
Python 2.5.1
23:54:58 jamesebailey lilypond_2.11:LilyPond.app/Contents/Resources/ 
bin/lilypond-book --output=out --pdf lilybook.lytex

lilypond-book (GNU LilyPond) 2.11.57
Traceback (most recent call last):
  File "LilyPond.app/Contents/Resources/bin/lilypond-book", line  
2018, in 

main ()
  File "LilyPond.app/Contents/Resources/bin/lilypond-book", line  
2000, in main

chunks = do_file (files[0])
  File "LilyPond.app/Contents/Resources/bin/lilypond-book", line  
1840, in do_file

in_handle = file (input_fullname)
IOError: [Errno 2] No such file or directory: ''



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


Re: lilypond-latex

2008-09-01 Thread Kieren MacMillan

Hi Graham,


You're not actually using python 2.5, which is the problem.
You're using osx 10.3, which has python 2.3 in /usr/bin/python.


I'm on OS X 10.4.11, and in Terminal

python -V

returns

Python 2.5

so…?
Kieren.

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


Re: lilypond-latex

2008-09-01 Thread Graham Percival
On Mon, 01 Sep 2008 23:57:28 +0200
"James E. Bailey" <[EMAIL PROTECTED]> wrote:

> Am 01.09.2008 um 23:47 schrieb Graham Percival:
> 
> > You're not actually using python 2.5, which is the problem.
> > You're using osx 10.3, which has python 2.3 in /usr/bin/python.
> >
> > Search the mailist (err, maybe the -devel list) for more info
> > about this problem.
>
> Oooh, let's play explain the errors! <(^.^)>
> 23:54:49 jamesebailey lilypond_2.11:python --version
> Python 2.5.1

That calls python from your path.  Try this:
/usr/bin/python --version

You'll see 2.3.5.

... or at least, Kieren would see 2.3.5, because of the error
involving "set".  I get it too, and have to edit lilypond-book
manually whenever I get a new lilypond.

> 23:54:58 jamesebailey lilypond_2.11:LilyPond.app/Contents/Resources/ 
> bin/lilypond-book --output=out --pdf lilybook.lytex
> lilypond-book (GNU LilyPond) 2.11.57
> Traceback (most recent call last):
>File "LilyPond.app/Contents/Resources/bin/lilypond-book", line  
> 2018, in 
>  main ()
>File "LilyPond.app/Contents/Resources/bin/lilypond-book", line  
> 2000, in main
>  chunks = do_file (files[0])
>File "LilyPond.app/Contents/Resources/bin/lilypond-book", line  
> 1840, in do_file
>  in_handle = file (input_fullname)
> IOError: [Errno 2] No such file or directory: ''
 
I don't recognize these errors, so evidently it's not the same
thing.

Cheers,
- Graham


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


Re: lilypond-latex

2008-09-01 Thread Graham Percival
On Mon, 1 Sep 2008 18:08:56 -0400
Kieren MacMillan <[EMAIL PROTECTED]> wrote:

> Hi Graham,
> 
> > You're not actually using python 2.5, which is the problem.
> > You're using osx 10.3, which has python 2.3 in /usr/bin/python.
> 
> I'm on OS X 10.4.11, and in Terminal

Oops, so am I.  10.4 still uses python 2.3

>  python -V
> 
> returns
> 
>  Python 2.5

Just missed the email -- try
/usr/bin/python -V 

Cheers,
- Graham


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


Re: lilypond-latex

2008-09-01 Thread James E. Bailey


Am 02.09.2008 um 00:13 schrieb Graham Percival:


On Mon, 01 Sep 2008 23:57:28 +0200
"James E. Bailey" <[EMAIL PROTECTED]> wrote:


Am 01.09.2008 um 23:47 schrieb Graham Percival:


You're not actually using python 2.5, which is the problem.
You're using osx 10.3, which has python 2.3 in /usr/bin/python.

Search the mailist (err, maybe the -devel list) for more info
about this problem.


Oooh, let's play explain the errors! <(^.^)>
23:54:49 jamesebailey lilypond_2.11:python --version
Python 2.5.1


That calls python from your path.  Try this:
/usr/bin/python --version

You'll see 2.3.5.


00:16:45 jamesebailey lilypond_2.11:/usr/bin/python --version
Python 2.5.1


... or at least, Kieren would see 2.3.5, because of the error
involving "set".  I get it too, and have to edit lilypond-book
manually whenever I get a new lilypond.


23:54:58 jamesebailey lilypond_2.11:LilyPond.app/Contents/Resources/
bin/lilypond-book --output=out --pdf lilybook.lytex
lilypond-book (GNU LilyPond) 2.11.57
Traceback (most recent call last):
  File "LilyPond.app/Contents/Resources/bin/lilypond-book", line
2018, in 
main ()
  File "LilyPond.app/Contents/Resources/bin/lilypond-book", line
2000, in main
chunks = do_file (files[0])
  File "LilyPond.app/Contents/Resources/bin/lilypond-book", line
1840, in do_file
in_handle = file (input_fullname)
IOError: [Errno 2] No such file or directory: ''


I don't recognize these errors, so evidently it's not the same
thing.


Darnit...


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


Re: lilypond-latex

2008-09-01 Thread Kieren MacMillan

Hi all,


/usr/bin/python --version
You'll see 2.3.5.
... or at least, Kieren would see 2.3.5, because of the error
involving "set".  I get it too, and have to edit lilypond-book
manually whenever I get a new lilypond.


Okay, manually editing lilypond-book to use the correct python  
installation did the trick…


But I must admit that the Lilypond-LaTeX scripts make the process  
*much* easier — I'll see what I can do about updating them.


Thanks,
Kieren.

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


Again: Alignment of bars

2008-09-01 Thread Boris Lau

Hello everyone,

sorry that I'm bringing up this topic again. As several other people (so 
it seems), I want to typeset some leadsheets (melody + chord symbols) 
for Jazz, Funk and Pop music. So far I am quite happy with Lilypond for 
this purpose, the font is great, and the chord symbols are decent, except:


What I'm really missing is the possibility of having all bars in a line 
having the same width. Combined with the \break command this would be 
sufficient to create a layout where all bar lines are aligned if the 
number of bars in a line is the same.


I've read about the workarounds, like proportional mode, and single line 
staves, but these are not very convenient options. Wouldn't this be a 
nice add-on feature for the next version? I imagine that this would mean 
adding a trivial case to the more complex alignment algorithm for the 
conventional notation.


Best from Germany,
Boris



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


Re: lilypond-latex

2008-09-01 Thread Ole Schmidt

great! thank you

ole


Am 02.09.2008 um 00:19 schrieb Kieren MacMillan:

But I must admit that the Lilypond-LaTeX scripts make the process  
*much* easier — I'll see what I can do about updating them.


Thanks,
Kieren.


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


Re: lilypond-latex

2008-09-01 Thread Ole Schmidt

btw: the outdated scripts are mentioned in the latest manual version:

2.2.4 TexShop
The TexShop editor for MacOS X can be extended to run LilyPond,  
lilypond-book and

convert-ly from within the editor, using the extensions available at 
http://www.dimi.uniud
.it/vitacolo/freesoftware.html.


if nobody can make them work it is maybe a good idea to remove them  
from the manual?


ole


Am 01.09.2008 um 23:31 schrieb James E. Bailey:



Am 01.09.2008 um 23:17 schrieb Kieren MacMillan:


Hi Mats (et al):


Even if you use LilyPond version 2.10.x, I strongly recommend you
to read the manual for the latest development version 2.11, which  
has been significantly revised and improved and still applies  
almost completely to version 2.10. There, you will certainly find

the information I hinted at, for example at 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-program/An-example-of-a-musicological-document#An-example-of-a-musicological-document


Which doesn't work…  =(

At least for me, it returns the error:
  NameError: global name 'set' is not defined

I'm using Lilypond 2.11.57 and python 2.5, if that helps you debug  
the problem.


Thanks,
Kieren.


Yeah, lilypond-book downloaded (as the PPC binary since I'm on  
leopard) doesn't work for me, hasn't for a while, I just assumed it  
was me, not the program. But now that I build lilypond myself, it  
works.


___
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: lilypond-latex

2008-09-01 Thread Kieren MacMillan

Hi all,


great! thank you


In your copy of Lilypond-LaTeX.engine, try replacing

___

# Create directory to put all temporary stuff
mkdir -p "$1:r"-out/
# Copy local style files, if any, where latex will be able to find them
cp *.sty "$1:r"-out
if ({ lilypond-book --output="$1:r"-out --psfonts "$1" }) then
  cd "$1:r"-out
  if ({ latex "$1" }) then
if ({ dvips -o -Ppdf -R0 -h "$1:r".psfonts "$1:r".dvi }) then
  if ({ ps2pdf "$1:r".ps }) then
mv "$1:r".pdf ..
  endif
endif
  endif
endif
___

with
___

# Delete existing output (PDF) file
rm "$1".pdf
# Create directory to put all temporary stuff
mkdir -p "$1:r"-out/
# Invoke L-B
lilypond-book --output="$1:r"-out --pdf "$1"
cd "$1:r"-out
pdflatex "$1"
# Copy output (PDF) file to parent directory
mv "$1:r".pdf ..
# Delete temporary stuff
rm -rf *
cd ..
# Delete (empty) temp directory
rmdir "$1:r"-out
# Display output (PDF) file
open "$1:r".pdf
___

It's not "safe" (i.e., it doesn't have 'if' checks, etc.), but it  
works for me.  =)


Hope this helps!
Kieren.


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


Increasing the gap between beams

2008-09-01 Thread Elliot Isaacson
Hello,

I am just discovering lilypond. It is amazing.

I am typesetting a score and I wanted to increase the thickness of the notation
to give it an "inkier" look.

\override Beam #'thickness = #.68
\override Stem #'thickness = #2
\override Stem #'length = #7.6
\override Stem #'details #'beamed-lengths = #'(3.8 4.2 4.6)
\set fontSize = #1

These tweaks look great until lilypond starts to draw 16th notes. The two beams
are thick enough so that they absorb the space between them and look like one
thick single beam.

My best guess was to change the Beam gap property, but his line has no effect in
2.10.29 or 2.11.57:

\override Beam #'gap = #any_number_here

How can I override the distance between beams?

Thanks.
Elliot



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