RE:Vertically centering refrain lyrics?

2014-11-06 Thread Stephen MacNeil
I play with that stuff now and then, although not my main thing. Anyway
this was my solution

Stephen

\version 2.18.2


\header {

title = Whiskey in the Jar

copyright =©Stephen MacNeil 2014

}

source = 

piece = 

tagline = 

global = {

\key c \major

\time 4/4

}

\paper {

top-margin = #5

bottom-margin = #8

system-system-spacing #'basic-distance = #25

}

chordNames = \chordmode {

\global


 s4 c1 s a:m s f s c s c s a:m s f s c s |

g s c s a f c2 g c2.


}


% Replace brace150 by whatever between brace0 and brace575 that is of a

% suitable size.

leftbrace = \markup {

\override #'(font-encoding . fetaBraces)

\lookup #brace150

}


% In some versions earlier than 20.10.20, the argument to \rotate was

% erroneously treated as radians instead of degrees, i.e. #3.14 was

% needed instead of #180

rightbrace = \markup {

\rotate #180

\leftbrace

}


firstverse = \lyricmode {

\set stanza = 1.

As I was go -- ing ov -- er the Kil -- ma -- gen -- ny moun -- tain.

I met with cap -- tain Far -- rell and his mo -- ney he was coun -- ting.

I first pro -- duced my pis -- tol, and then pro -- duced my ra -- pier.

Say -- ing stand and de -- li -- ver, for you are a bold de -- cei -- ver,
with your


}


secondverse = \lyricmode {

\set stanza = 2.

I coun -- ted out his mon -- ey, it made a pret -- ty pen -- ny.

I put it in my poc -- ket and I took it home to Jen -- ny.

She swo -- re that she loved me, that ne -- ver would she leave me,

but the devil take that wo -- man, for you kn -- ow she tric -- ked me ea
-- sy


}


thirdverse = \lyricmode {

\set stanza = 3.

It was early in the morn -- ing, be -- fore I rose to tra -- vel,

up ca -- me a band of foot -- men and like -- wise cap -- tain Far -- rel.

I first prod -- uced my pis -- tol, for she stole away my rap -- ier,

a -- nd I could -- n't shoot the cap -- tain so a pris -- oner I was ta --
ken.


}


fourthverse = \lyricmode {

\set stanza = 4.

Now some men they like drink -- ing and some men they like fight -- ing.

And some men like to he -- ar, the sound of the cannon ball roar -- ing

Me, -- e I like slee -- p -- ing spe -- cial -- ly in Jenny's cham -- --
bers

But here I am in pri -- son, here I am with a ball and chain ye -- ah


}


fifthverse = \lyricmode {

\set stanza = 5.

As I was go -- ing ov -- er the Kil -- mag -- en -- ny moun -- tain

I met with cap -- tain Far -- rell and his mon -- ey he was count -- ing.

I first pro -- duced my pis -- tol, and then pro -- duced my rap -- ier.

Sa -- id stand and de -- li -- ver, for you are a bold de -- cei -- ver,
with your


}


lyricsfrombrace = \lyricmode { \markup { \rightbrace ring }

dum -- ma do dam -- ma da

whack for the dad -- dy 'ol

whack for the dad -- dy 'ol

there's whis -- key in the jar

}


 \markup { \vspace #1.5

}

 melody = \relative c''{

\partial 4

\tempo 4 = 180

 %Verse

g4^ \markup \bold \box Verse: |

e g g a |

g e2 d4 |

e a a b |\break

a e2 g4 |

a a a a |

c8 c4. b4 a |

g g c b |\break

a e2 g4 |

e g g a |

g e2 d4 |

e a a b |\break

a e2 g8 g |

a2 a4. b8 |

c4 c b a |

g g c4. b8 |\break

a g4. e4 c |


 %Chorus

\bar ||

d ^ \markup \bold \box Chorus: d8 d d d c4 |

d1 |

a'4\rest e e4.d8 |\break

e4 g g2 |

a4\rest a a4. g8 |

a4 b c4. a8 |

g4 e d e |

c2. |

\bar |.



}



\score{



\new ChordNames \chordNames

\new Voice = m \melody

\new Lyrics \lyricsto m \firstverse

\new Lyrics \lyricsto m {\secondverse \lyricsfrombrace }

\new Lyrics \lyricsto m \thirdverse

\new Lyrics \lyricsto m \fourthverse



\layout { }

\midi {

\context {

\Score

tempoWholesPerMinute = #(ly:make-moment 180 4)

}

}

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


How to prevent natural signs from being printed when the key signature changes

2014-11-06 Thread Jayaratna
Dear Lilyfriends,
I am following the steps from the notation manual at this location:
http://lilypond.org/doc/v2.18/Documentation/notation/displaying-pitches#key-signature
My code is:

\version 2.18.2
\score { 
\relative c'  {
\key f \major c d e f 
\set Staff.printKeyCancellation = ##f
\clef soprano \key c \major g a g f 
  }
}

But I still get the natural sign printed.
http://lilypond.1069038.n5.nabble.com/file/n168456/2014-11-06-170533_1024x600_scrot.png
 
Am I doing something wrong or is this a bug?
Thank you,
A






--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-prevent-natural-signs-from-being-printed-when-the-key-signature-changes-tp168456.html
Sent from the User mailing list archive at Nabble.com.

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


Re: How to prevent natural signs from being printed when the keysignature changes

2014-11-06 Thread Trevor Daniels

Jayaratna wrote Thursday, November 06, 2014 11:42 AM

 My code is:
 
 \version 2.18.2
 \score { 
 \relative c'  {
 \key f \major c d e f 
 \set Staff.printKeyCancellation = ##f
 \clef soprano \key c \major g a g f 
  }
 }
 
 But I still get the natural sign printed.
 http://lilypond.1069038.n5.nabble.com/file/n168456/2014-11-06-170533_1024x600_scrot.png
  
 Am I doing something wrong or is this a bug?

No, it's not a bug.  As there would be no other indication of the
key change when changing to C major the key cancellation is
always printed in this case.  If you really, really want to suppress it
use either \hide or \omit, depending on whether you want to leave
a space where it was, like this:

  \omit Staff.KeyCancellation

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


Re: How to prevent natural signs from being printed when the key signature changes

2014-11-06 Thread Helge Kruse
You did it as describe in the notation manual. Further it works for key
signatures that have a sharp.

But it doesn't work for C major without a neither a sharp nor a flat.
I assume it's a bug.

Regards,
Helge

2014-11-06 12:42 GMT+01:00 Jayaratna jayara...@gmail.com:

 Dear Lilyfriends,
 I am following the steps from the notation manual at this location:

 http://lilypond.org/doc/v2.18/Documentation/notation/displaying-pitches#key-signature

 \version 2.18.2
 \score {
   \relative c'  {
 \key f \major c d e f
 \set Staff.printKeyCancellation = ##f
 \clef soprano \key c \major g a g f
   }
 }

 But I still get the natural sign printed.


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


Re: How to prevent natural signs from being printed when the key signature changes

2014-11-06 Thread Helge Kruse
Just wait a minute!

If you don't have the natural sign and the next key signature has neither
sharp nor flat sign, how would you read the new key signature? I think the
flat is necessary here.

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


Re: How to prevent natural signs from being printed when the key signature changes

2014-11-06 Thread Jayaratna
Ok, that one was a dummy example I made to see if the 'error' happened in a
context different from the one I have in my file. Maybe it would just be
good to add Trevor's explanation to the website.

I actually wanted to copy the following score: I just decided to keep the f
key. 

http://lilypond.1069038.n5.nabble.com/file/n168461/2014-11-06-183422_1024x600_scrot.png
 

Thank you,
A



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-prevent-natural-signs-from-being-printed-when-the-key-signature-changes-tp168456p168461.html
Sent from the User mailing list archive at Nabble.com.

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


General newbie query: Creating and displaying dynamic scores using Lilypond?

2014-11-06 Thread Alice Eldridge
Dear Lilypond list,

We are plotting a networked score system, where each part can be updated 
dynamically from a central controller. In the simplest case, this would be a 
set score, with a means to indicate the current bar, as an ensemble plays - 
this might be a vertical line scrolling through, a change in font colour etc. 
This would then be displayed on a tablet.

Lily pond seems like it might be a nice starting point to develop something 
like this - can anyone advise: Is this something which could be developed using 
the API as a starting point??

Many thanks in advance.

---
Dr Alice Eldridge
Music Informatics
Chichester 2 2r209
Department of Informatics and Engineering

ali...@sussex.ac.ukmailto:ali...@sussex.ac.uk
+44 (0) 1273 87 7267



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


Re: General newbie query: Creating and displaying dynamic scores using Lilypond?

2014-11-06 Thread Urs Liska


Am 06.11.2014 15:57, schrieb Alice Eldridge:

Dear Lilypond list,

We are plotting a networked score system, where each part can be 
updated dynamically from a central controller. In the simplest case, 
this would be a set score, with a means to indicate the current bar, 
as an ensemble plays - this might be a vertical line scrolling 
through, a change in font colour etc. This would then be displayed on 
a tablet.


Lily pond seems like it might be a nice starting point to develop 
something like this - can anyone advise: Is this something which could 
be developed using the API as a starting point??


I think (but don't take my word for it) that a scrolling cursor would be 
harder to achieve, but for changing colors or the like you could 
experiment with outputting to SVG. There's much that can be done with 
that, including dancing notes ;-)


Urs



Many thanks in advance.

---
Dr Alice Eldridge
Music Informatics
Chichester 2 2r209
Department of Informatics and Engineering
ali...@sussex.ac.uk mailto:ali...@sussex.ac.uk
+44 (0) 1273 87 7267





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


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


Re: General newbie query: Creating and displaying dynamic scores using Lilypond?

2014-11-06 Thread David Nalesnik
Hi,

On Thu, Nov 6, 2014 at 10:22 AM, Urs Liska u...@openlilylib.org wrote:


 Am 06.11.2014 15:57, schrieb Alice Eldridge:

 Dear Lilypond list,

  We are plotting a networked score system, where each part can be updated
 dynamically from a central controller. In the simplest case, this would be
 a set score, with a means to indicate the current bar, as an ensemble plays
 - this might be a vertical line scrolling through, a change in font colour
 etc. This would then be displayed on a tablet.

  Lily pond seems like it might be a nice starting point to develop
 something like this - can anyone advise: Is this something which could be
 developed using the API as a starting point??


Possibly this thread would be of interest to you:
http://www.mail-archive.com/lilypond-user%40gnu.org/msg78211.html

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


RE: General newbie query: Creating and displaying dynamic scores using Lilypond?

2014-11-06 Thread Mark Stephen Mrotek
Dr. Eldridge,

 

Something online that seems to resemble your proposed system.

 

http://weezic.com/en/

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Alice Eldridge
Sent: Thursday, November 06, 2014 6:58 AM
To: lilypond-user@gnu.org
Subject: General newbie query: Creating and displaying dynamic scores using
Lilypond?

 

Dear Lilypond list,  

 

We are plotting a networked score system, where each part can be updated
dynamically from a central controller. In the simplest case, this would be a
set score, with a means to indicate the current bar, as an ensemble plays -
this might be a vertical line scrolling through, a change in font colour
etc. This would then be displayed on a tablet.

 

Lily pond seems like it might be a nice starting point to develop something
like this - can anyone advise: Is this something which could be developed
using the API as a starting point??

 

Many thanks in advance. 

 

---

Dr Alice Eldridge

Music Informatics

Chichester 2 2r209

Department of Informatics and Engineering

 

ali...@sussex.ac.uk

+44 (0) 1273 87 7267

 

 

 

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


ANN: TransLily - A minimalist assistant for transcribing vocal and instrumental parts in LilyPond notation.

2014-11-06 Thread Michael Ellis
I've been using LilyPond for a number of years to transcribe individual
parts from choral and instrumental music.  Along the way, I've tried
various GUI's and editor macros but none have proved quite satisfactory ---
particularly when it comes to efficiently transcribing more than one part.

I coded a solution that's made a significant improvement in the time
required to transcribe multiple  parts (as individual part sheets) and
thought it worth sharing so I put it up on GitHub at

https://github.com/Michael-F-Ellis/TransLily

The README there is a comprehensive document, so I won't rehash it here.

Although I'm describing it as a 0.1 version, that's largely because I've
only tested it on OS X.  Otherwise, it's fairly complete and solid CLI
program written in Python and should run on on Linux and probably Windows.

I'd be interested in any constructive feedback either in this thread or on
GitHub.

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


Single Staff Spacing

2014-11-06 Thread Chris Trahan
I'm new to Lilypond. I have a simple score that is short. It's a single
staff score. I'm trying to increase the spacing between staves but nothing
I try is working.  How do I increase the space between the staves?

A short example is:

\version 2.18.2

\new Staff {

 \relative c'' {

  \key g \major

   \time 3/4

   \autoBeamOff

   \partial 4

   c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break

   g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~ |

 }

}


Thank,

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


Re: Single Staff Spacing

2014-11-06 Thread David Nalesnik
Hi Chris,

On Thu, Nov 6, 2014 at 8:43 PM, Chris Trahan trahan.ch...@gmail.com wrote:

 I'm new to Lilypond.


Welcome to the community!


 I have a simple score that is short. It's a single staff score. I'm trying
 to increase the spacing between staves but nothing I try is working.  How
 do I increase the space between the staves?

 A short example is:

 \version 2.18.2

 \new Staff {

  \relative c'' {

   \key g \major

\time 3/4

\autoBeamOff

\partial 4

c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break

g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~
 |

  }

 }


 Thank,

 Chris Trahan


There are various settings you can add to a \paper block to control the
vertical spacing. Try adding this to your file:

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

For more details, see the documentation at
http://lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-paper-variables

Hope this helps,
David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single Staff Spacing

2014-11-06 Thread Jim Long
There are probably several ways, but the way I do it is:

Near the top, after your version statement, add a \paper block:

\version 2.18.2

\paper {
  system-system-spacing #'padding = #2
}

\new Staff


Adjust the value 2 to a value of your liking.

Another option is to let Lilypond auto-space the systems on the
page to fill the page.  To do this, use this paper block instead
of the one above:

\paper {
  ragged-last-bottom = ##f
}


HTH,

Jim



On Thu, Nov 06, 2014 at 08:43:29PM -0600, Chris Trahan wrote:
 I'm new to Lilypond. I have a simple score that is short. It's a single
 staff score. I'm trying to increase the spacing between staves but nothing
 I try is working.  How do I increase the space between the staves?
 
 A short example is:
 
 \version 2.18.2
 
 \new Staff {
 
  \relative c'' {
 
   \key g \major
 
\time 3/4
 
\autoBeamOff
 
\partial 4
 
c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break
 
g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~ |
 
  }
 
 }
 
 
 Thank,
 
 Chris Trahan

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


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


Single Staff Spacing

2014-11-06 Thread Chris Trahan
Thanks to  David Nalesnik and Jim Long for helping.

I figured that the spacing had to go in the \paper section but I couldn't
figure out what parameters to adjust.

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


Re: Single Staff Spacing

2014-11-06 Thread Pierre Perol-Schneider
Hi Chris,

2014-11-07 4:03 GMT+01:00 Chris Trahan trahan.ch...@gmail.com:

 Thanks to  David Nalesnik and Jim Long for helping.

 I figured that the spacing had to go in the \paper section but I couldn't
 figure out what parameters to adjust.



Actually David and Jim did give you the answer.
Tu sum up:

\version 2.18.2

\paper {
  system-system-spacing #'padding = #20
  %% you can also try:
  % ragged-last-bottom = ##f
  %% and/or (for a multi pages score):
  % ragged-bottom = ##f
}

\new Staff {
  \relative c'' {
\key g \major
\time 3/4
\autoBeamOff
\partial 4
c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break
g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~ |
  }
}

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