Descant

2013-10-15 Thread Emil Salim
Hello All,

How do I add the descant line on top of the SATB in this .ly file:

Ye Holy Angels Bright

http://www.geoffhorton.com/hymns/Darwall.ly

I would like to make the Descant look like the one on p. 2 here:

http://fds.oup.com/www.oup.com/pdf/13/9780193365988.pdf

although not in D major, but in C major.

Many thanks for your help.

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


Re: Stand alone guitar chord/scale diagrams

2013-10-15 Thread Carl Sorensen


On 10/14/13 8:49 AM, Simon Bailey si...@bailey.at wrote:


now that makes sense. is that only possible with fret-diagram-verbose
or can i do the same with \fret-diagram?

Only with fret-diagram-verbose.  fret-diagram and fret-diagram-terse have
syntax aimed at simplifying input for traditional uses.
fret-diagram-verbose does away with all assumptions and lets the user have
complete control.

Carl


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


Floating markup

2013-10-15 Thread EdBeesley
I'm trying to make some easy to read exercises for the little kiddies I
teach. As you can see in the example below I've labelled which line is for
sticking and which is for counting - the only way I could figure out of
getting the markup before any notes was to add it to a spacer grace note (so
as to not affect duration) but as you can see this creates a huge gap.
Switching on strict-note-spacing solves the gap but then pushes the text
very far to the left, and all my attempts at tweaking x-offsets or
\translates haven't worked. Also ideally I'd like to vertically align the
Sticking text so it's centred relative to the two lyric lines. 

Does anyone have a better idea for getting what I'm after? I'm feeling the
grace note markup is very hacky but I can't think of a better way!

# (set-global-staff-size 30) % yep, 30!

 count = \lyricmode {
   1 2 3 4
  }

\score {

  \new Staff =staff \with {\remove Time_signature_engraver} {
\new Voice =one 
{
  \clef percussion
  %\override Score.SpacingSpanner #'strict-note-spacing = ##t
   \override NoteHead #'extra-spacing-width = #'(3 . 3)
   \grace {s64 ^\markup \right-align \italic {Count:}  _\markup
\right-align \italic {Sticking:}}
   d'4 d' d' d' d' d' d' d' }
  }
\new Lyrics \with { alignAboveContext = staff } { \lyricsto one
{\count \count} }
\new Lyrics {\lyricsto one {R L R L R L R L }}
\new Lyrics {\lyricsto one { L R L R L R L R }}
  
  }



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Floating-markup-tp152332.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


Rests with stem

2013-10-15 Thread Gilberto Agostinho
Hello all,

Does anyone knows if its possible to have stems connecting rests on
LilyPond, such as in the image below?

http://www.sibelius.com/products/sibelius/7/images/Special_Notations.png

I couldn't find anything about this on the documentation... but well, maybe
it is there and I just overlooked it.

Thanks a lot!
Gilberto
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Rests with stem

2013-10-15 Thread Simon Bailey
On Tue, Oct 15, 2013 at 3:38 PM, Gilberto Agostinho
gilbertohasn...@googlemail.com wrote:

 Does anyone knows if its possible to have stems connecting rests on
 LilyPond, such as in the image below?

 http://www.sibelius.com/products/sibelius/7/images/Special_Notations.png

 I couldn't find anything about this on the documentation... but well, maybe
 it is there and I just overlooked it.

manual beams over rests:
http://lilypond.org/doc/v2.17/Documentation/notation/beams#manual-beams

and then:
http://lilypond.org/doc/v2.17/Documentation/snippets/rhythms#rhythms-stemlets

(granted, i knew what i was looking for, but it's always a good idea
to click on the Snippets: category link at the end of a section).

regards,
sb
-- 
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.

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


Re: Stand alone guitar chord/scale diagrams

2013-10-15 Thread Simon Bailey
hi,

On Tue, Oct 15, 2013 at 2:20 PM, Carl Sorensen c_soren...@byu.edu wrote:
 Only with fret-diagram-verbose.  fret-diagram and fret-diagram-terse have
 syntax aimed at simplifying input for traditional uses.
 fret-diagram-verbose does away with all assumptions and lets the user have
 complete control.

makes sense, thanks. :)

regards,
sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.

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


Re: Rests with stem

2013-10-15 Thread David Kastrup
Gilberto Agostinho gilbertohasn...@googlemail.com writes:

 Hello all,

 Does anyone knows if its possible to have stems connecting rests on
 LilyPond, such as in the image below?

 http://www.sibelius.com/products/sibelius/7/images/Special_Notations.png

 I couldn't find anything about this on the documentation... but well, maybe
 it is there and I just overlooked it.

URL:http://www.lilypond.org/doc/v2.16/Documentation/snippets/rhythms#rhythms-stemlets

-- 
David Kastrup


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


Re: Rests with stem

2013-10-15 Thread Gilberto Agostinho
Yup, that will do it, thanks a lot Simon! I had searched for it directly on
the snippet repository, but I couldn't find. Indeed I will be checking the
snippets: category link from now on.

Take care,
Gilberto


On Tue, Oct 15, 2013 at 3:50 PM, Simon Bailey si...@bailey.at wrote:

 On Tue, Oct 15, 2013 at 3:38 PM, Gilberto Agostinho
 gilbertohasn...@googlemail.com wrote:

  Does anyone knows if its possible to have stems connecting rests on
  LilyPond, such as in the image below?
 
  http://www.sibelius.com/products/sibelius/7/images/Special_Notations.png
 
  I couldn't find anything about this on the documentation... but well,
 maybe
  it is there and I just overlooked it.

 manual beams over rests:
 http://lilypond.org/doc/v2.17/Documentation/notation/beams#manual-beams

 and then:

 http://lilypond.org/doc/v2.17/Documentation/snippets/rhythms#rhythms-stemlets

 (granted, i knew what i was looking for, but it's always a good idea
 to click on the Snippets: category link at the end of a section).

 regards,
 sb
 --
 Do not meddle in the affairs of trombonists, for they are subtle and
 quick to anger.

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


Re: Descant

2013-10-15 Thread Robin Bannister
Emil Salim wrote: 
How do I add the descant line on top of the SATB 


The score block currently contains just a ChoirStaff context. 
You need to add a new Staff context which runs simultaneously. 

So wrap the ChoirStaff block in a pair of double angle brackets 
and insert the new Staff at the beginning of this outer block.  
A minimal example would then read like: 



\score {
 
   \new Staff \new Voice = descants { \descant }
   \context ChoirStaff 
 \context Staff = upper 


The attached png has \descant defined as { \transpose c c'' \tenor }


Cheers, 
Robinattachment: descant.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Floating markup

2013-10-15 Thread James Worlton
On Tue, Oct 15, 2013 at 8:34 AM, EdBeesley edplaysdr...@gmail.com wrote:

 I'm trying to make some easy to read exercises for the little kiddies I
 teach. As you can see in the example below I've labelled which line is for
 sticking and which is for counting - the only way I could figure out of
 getting the markup before any notes was to add it to a spacer grace note
 (so
 as to not affect duration) but as you can see this creates a huge gap.
 Switching on strict-note-spacing solves the gap but then pushes the text
 very far to the left, and all my attempts at tweaking x-offsets or
 \translates haven't worked. Also ideally I'd like to vertically align the
 Sticking text so it's centred relative to the two lyric lines.

 Does anyone have a better idea for getting what I'm after? I'm feeling the
 grace note markup is very hacky but I can't think of a better way!

 # (set-global-staff-size 30) % yep, 30!

  count = \lyricmode {
1 2 3 4
   }

 \score {
 
   \new Staff =staff \with {\remove Time_signature_engraver} {
 \new Voice =one
 {
   \clef percussion
   %\override Score.SpacingSpanner #'strict-note-spacing = ##t
\override NoteHead #'extra-spacing-width = #'(3 . 3)
\grace {s64 ^\markup \right-align \italic {Count:}  _\markup
 \right-align \italic {Sticking:}}
d'4 d' d' d' d' d' d' d' }
   }
 \new Lyrics \with { alignAboveContext = staff } { \lyricsto one
 {\count \count} }
 \new Lyrics {\lyricsto one {R L R L R L R L }}
 \new Lyrics {\lyricsto one { L R L R L R L R }}
 
   }


This solution is also kind of hacky, but it looks like it may do more or
less what you want. It also scales pretty well to other staff sizes. I'm
not sure how to slide the staff names to the right, however:

\version 2.17.28 %also works in 2.16.1
# (set-global-staff-size 30) % yep, 30!

 count = \lyricmode {
   1 2 3 4
  }

\score {

  \new Staff =staff \with {
\remove Time_signature_engraver
instrumentName = \markup { \vspace #1.5
  \center-column { \italic Count:
   \vspace #2
   \line { \italic Sticking: }
  }
}
  }
  { \new Voice =one
{  \clef percussion
   d'4 d' d' d' d' d' d' d'
}
  }
  \new Lyrics \with { alignAboveContext = staff }
{ \lyricsto one {\count \count} }
  \new Lyrics {\lyricsto one {R L R L R L R L }}
  \new Lyrics {\lyricsto one { L R L R L R L R }}

}

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


SSCCE

2013-10-15 Thread Werner LEMBERG

Just found this link.  *Very* useful for us, I think :-)

  http://sscce.org/


 Werner

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


Re: Floating markup

2013-10-15 Thread Jim Long
On Tue, Oct 15, 2013 at 09:04:13AM -0500, James Worlton wrote:
 
 This solution is also kind of hacky, but it looks like it may do more or
 less what you want. It also scales pretty well to other staff sizes. I'm
 not sure how to slide the staff names to the right, however:

This slides the instrument name to the right and slightly up:

...
  \new Staff =staff \with {
\remove Time_signature_engraver
\override InstrumentName.X-offset = #-4
\override InstrumentName.Y-offset = #1
instrumentName = \markup { \vspace #1.5
  \center-column { \italic Count:
   \vspace #2
   \line { \italic Sticking: }
  }
}
  }
...

It may seem odd that an X-offset of -4 means slide it to the
right, but working in conjecture mode again, I presume that the
original value of this instance of InstrumentName.X-offset was a
negative number less than -4, so by comparison, -4 *is* to the
right of the original, calculated X-offset value.  I tried a value
of 0, and that was much too far to the right.

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


Re: Floating markup

2013-10-15 Thread James Worlton
On Tue, Oct 15, 2013 at 3:16 PM, Jim Long lilyp...@umpquanet.com wrote:

 On Tue, Oct 15, 2013 at 09:04:13AM -0500, James Worlton wrote:
 
  This solution is also kind of hacky, but it looks like it may do more or
  less what you want. It also scales pretty well to other staff sizes. I'm
  not sure how to slide the staff names to the right, however:

 This slides the instrument name to the right and slightly up:

 ...
   \new Staff =staff \with {
 \remove Time_signature_engraver
 \override InstrumentName.X-offset = #-4
 \override InstrumentName.Y-offset = #1
 instrumentName = \markup { \vspace #1.5
   \center-column { \italic Count:
\vspace #2
\line { \italic Sticking: }
   }
 }
   }


Or if you're on 2.16, the syntax is \override InstrumentName #'X-offset =
#-4 etc.
Thanks for this. I should have delved more deeply into InstrumentName
attributes.

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


Re: Automatic generation of scores skeletons

2013-10-15 Thread Janek WarchoĊ‚
Hi,

2013/10/9 Jacques Menu jacques.m...@epfl.ch
 Do you think there could be interest in such a tool for anyone else than its 
 author?

I'm interested, although i don't have time to delve deeper into this
now (that's why i didn't answer immediately) - sorry :-(

What would be important for me: making it as generic as possible (so
that it wouldn't impose using a particular score structure), even at
the cost of some features.  And adding it to LilyPond itself
(built-in).

best,
Janek

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


Re: Floating markup

2013-10-15 Thread Thomas Morley
2013/10/15 James Worlton jworl...@gmail.com:
 On Tue, Oct 15, 2013 at 3:16 PM, Jim Long lilyp...@umpquanet.com wrote:

 On Tue, Oct 15, 2013 at 09:04:13AM -0500, James Worlton wrote:
 
  This solution is also kind of hacky, but it looks like it may do more or
  less what you want. It also scales pretty well to other staff sizes. I'm
  not sure how to slide the staff names to the right, however:

 This slides the instrument name to the right and slightly up:

 ...
   \new Staff =staff \with {
 \remove Time_signature_engraver
 \override InstrumentName.X-offset = #-4
 \override InstrumentName.Y-offset = #1
 instrumentName = \markup { \vspace #1.5
   \center-column { \italic Count:
\vspace #2
\line { \italic Sticking: }
   }
 }
   }


 Or if you're on 2.16, the syntax is \override InstrumentName #'X-offset =
 #-4 etc.
 Thanks for this. I should have delved more deeply into InstrumentName
 attributes.

 James W.



Why not use stanza (and SpacingSpanner #'spacing-increment instead of
NoteHead #'extra-spacing-width):

\version 2.16.2

# (set-global-staff-size 30) % yep, 30!

count =
\lyricmode {
   \set stanza = \markup \normal-text Count: 
   \repeat unfold 2 { 1 2 3 4 }
}

sticking =
\lyricmode {
   \set stanza = \markup \normal-text Sticking: 
   \repeat unfold 2 { R L R L }
}

stickingII =
\lyricmode {
   %\set stanza = \markup \normal-text StickingII: 
   \repeat unfold 2 { L R L R }
}

\score {

  \new Staff =staff \with { \remove Time_signature_engraver }
\new Voice =one {
\clef percussion
\override Score.SpacingSpanner #'spacing-increment = #2
d'4 d' d' d'
\newSpacingSection
\override Score.SpacingSpanner #'spacing-increment = #4
d' d' d' d'
}

  \new Lyrics \with { alignAboveContext = staff }
  \lyricsto one \count
  \new Lyrics \lyricsto one \sticking
  \new Lyrics \lyricsto one \stickingII

}

HTH,
  Harm

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


Re: SSCCE

2013-10-15 Thread Pierre Perol-Schneider
Sure it is :)
Thanks Werner, hope every one could read it !


2013/10/15 Werner LEMBERG w...@gnu.org


 Just found this link.  *Very* useful for us, I think :-)

   http://sscce.org/


  Werner

 ___
 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


compilation error when using stemlet over rests

2013-10-15 Thread Gilberto Agostinho
Hello all,

I am getting an error when trying to compile the following code:

\version 2.17.28
{
  \override Staff.Stem.stemlet-length = 0.75
  \clef percussion
   a,8-[ r8  c''8 r8 a,8 r8 c''8]  
}

The compiler outputs the following message: Exited with return code
-1073741819

I think I kind of figured out what is happening here. Apparently, there is
some conflict between the position of the rests and the stemlets I am trying
to use. This is due to the fact that the gap between the notes in the code
above allow knee beaming. If one adds the following line to the code it will
work well:

\override Beam.auto-knee-gap = ##f 

I also noted that in some similar cases LilyPond is able to lower the rests
further down when dealing with the kneed beams, thus allowing enough space
for the stemlets and so everything works well:

\version 2.17.28
{
  \override Staff.Stem.stemlet-length = 0.75
  \clef percussion
   a,8-[ r8  c''8 a,8]  
}
{
  \override Staff.Stem.stemlet-length = 0.75
  \override Beam.auto-knee-gap = ##f 
  \clef percussion
   a,8-[ r8  c''8 a,8]  
}

But this clearly isn't the case on my first minimal example above. So well,
though I already found the solution to my problem (I would not want to use
kneed beams anyway), I though I should share this problem here in the
mailing list, in case someone considers it to be a bug.

Take care,
Gilberto




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compilation-error-when-using-stemlet-over-rests-tp152356.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: compilation error when using stemlet over rests

2013-10-15 Thread Gilberto Agostinho
And in case this is relevant, I am using Frescobaldi 2.0.10 (although the
error above also happens without using Frescobaldi) on a Windows 8 - 64 bit
machine.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compilation-error-when-using-stemlet-over-rests-tp152356p152357.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: compilation error when using stemlet over rests

2013-10-15 Thread Thomas Morley
2013/10/16 Gilberto Agostinho gilbertohasn...@gmail.com:
 Hello all,

 I am getting an error when trying to compile the following code:

 \version 2.17.28
 {
   \override Staff.Stem.stemlet-length = 0.75
   \clef percussion
a,8-[ r8  c''8 r8 a,8 r8 c''8]
 }

 The compiler outputs the following message: Exited with return code
 -1073741819

 I think I kind of figured out what is happening here. Apparently, there is
 some conflict between the position of the rests and the stemlets I am trying
 to use. This is due to the fact that the gap between the notes in the code
 above allow knee beaming. If one adds the following line to the code it will
 work well:

 \override Beam.auto-knee-gap = ##f

 I also noted that in some similar cases LilyPond is able to lower the rests
 further down when dealing with the kneed beams, thus allowing enough space
 for the stemlets and so everything works well:

 \version 2.17.28
 {
   \override Staff.Stem.stemlet-length = 0.75
   \clef percussion
a,8-[ r8  c''8 a,8]
 }
 {
   \override Staff.Stem.stemlet-length = 0.75
   \override Beam.auto-knee-gap = ##f
   \clef percussion
a,8-[ r8  c''8 a,8]
 }

 But this clearly isn't the case on my first minimal example above. So well,
 though I already found the solution to my problem (I would not want to use
 kneed beams anyway), I though I should share this problem here in the
 mailing list, in case someone considers it to be a bug.

 Take care,
 Gilberto




 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/compilation-error-when-using-stemlet-over-rests-tp152356.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

Hi Gilbert,

clearly a bug. Please report.

Cheers,
  Harm

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


Re: compilation error when using stemlet over rests

2013-10-15 Thread Thomas Morley
2013/10/16 Thomas Morley thomasmorle...@gmail.com:
 2013/10/16 Gilberto Agostinho gilbertohasn...@gmail.com:
 Hello all,

 I am getting an error when trying to compile the following code:

 \version 2.17.28
 {
   \override Staff.Stem.stemlet-length = 0.75
   \clef percussion
a,8-[ r8  c''8 r8 a,8 r8 c''8]
 }

 The compiler outputs the following message: Exited with return code
 -1073741819

 I think I kind of figured out what is happening here. Apparently, there is
 some conflict between the position of the rests and the stemlets I am trying
 to use. This is due to the fact that the gap between the notes in the code
 above allow knee beaming. If one adds the following line to the code it will
 work well:

 \override Beam.auto-knee-gap = ##f

 I also noted that in some similar cases LilyPond is able to lower the rests
 further down when dealing with the kneed beams, thus allowing enough space
 for the stemlets and so everything works well:

 \version 2.17.28
 {
   \override Staff.Stem.stemlet-length = 0.75
   \clef percussion
a,8-[ r8  c''8 a,8]
 }
 {
   \override Staff.Stem.stemlet-length = 0.75
   \override Beam.auto-knee-gap = ##f
   \clef percussion
a,8-[ r8  c''8 a,8]
 }

 But this clearly isn't the case on my first minimal example above. So well,
 though I already found the solution to my problem (I would not want to use
 kneed beams anyway), I though I should share this problem here in the
 mailing list, in case someone considers it to be a bug.

 Take care,
 Gilberto




 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/compilation-error-when-using-stemlet-over-rests-tp152356.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

 Hi Gilbert,
Gilberto

 clearly a bug. Please report.

 Cheers,
   Harm

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


Re: compilation error when using stemlet over rests

2013-10-15 Thread Gilberto Agostinho
Done.

Issue 3617: Compilation error when using stemlet over rests

https://code.google.com/p/lilypond/issues/detail?id=3617



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/compilation-error-when-using-stemlet-over-rests-tp152356p152362.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: Automatic generation of scores skeletons

2013-10-15 Thread Carl Peterson
On Thu, Oct 10, 2013 at 2:22 AM, Johan Vromans jvrom...@squirrel.nl wrote:

 Jacques Menu jacques.m...@epfl.ch writes:

  After struggling with irregular bars, I've been working on a Python3
 tool that
  transforms a spec such as:
  [...]
  into a ready-to-compile Lilypond source file.

 Very interesting. It reminds me of something I considered a while ago:
 a kind of meta-staff where the structure of the score is described
 (time/tempo, repeats, special \bar's, and so on). These would then apply
 to all the staffs automatically.

 The rationale is that while a LilyPond score consists of horizontal
 staffs, it is in fact structured vertically and sometimes it has
 advantages to treat it as such. For example, using pseudo-LP:


This is a variant on the technique I use in my own templating system for
SATB hymns. I have one LP file where I define the actual music. In addition
to each voice part, I also define a meta-voice that contains the
information about key, time signature, bars, etc., that is applied as an
additional voice on each staff.

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