Re:Wrong alternative numbering when some are empty

2016-10-05 Thread Flaming Hakama by Elaine
> This seems like a bug to me but perhaps someone can explain it.  I
have
> a piece where the verse repeats nine times with verses 3 and 6
followed
> by an alternative.
>
>   \mark \markup \italic "repeat 9 times"
>   \repeat volta 9 {
> \BassVerseA
>   }
>   \alternative {
> { }
> { }
> { \BassBridge }
> { }
> { }
> { \BassVerseB }
> { }
> { }
> { }
>   }
>
>   \BassVerseC
>
> So I expect that it will show 3 for the bridge and 6 for verse B but
it
> shows 1 for the bridge and 4 for verse B.
>
> I understand that I could move the last bar of the verse into the
start
> of each alternative but that just makes the chart messy.
>
> Oddly enough it plays correctly.
>
> --
> D'Arcy J.M. Cain
> Big Smoke Music
> http://BigSmokeMusic.com/ IM:da...@vex.net

I would suggest not using endings to try to notate a song form.
The notation you are suggesting is unclear.

The clearest approach would be to just write out the actual form.
Here are three ways of doing that.


\version "2.19.15"

bassVerseA = \relative c { g1 1 1 1  c 1 g 1  d' c g d' }
bassBridge = \relative c { d1 1 1 1 }
bassVerseB = \relative c { c1 1 1 1 }
bassVerseC = \relative c { g1\fermata }

\layout {
\context {
\Score
\override RehearsalMark.self-alignment-X = #LEFT
}
}

\score {
{
\clef bass
\mark "3X"
\repeat volta 3 { \bassVerseA }
\mark "Bridge"
\bassBridge \break
\mark "3X"
\repeat volta 3 { \bassVerseA }
\mark "Verse B"
\bassVerseB \break
\mark "3X"
\repeat volta 3 { \bassVerseA }
\mark "Verse C"
\bassVerseC
}
\header {
piece = "Clear"
}
}

%  If you are concerned about the length of the chart,
%  here are two other approaches.

%  If \bassVerseA is the kind of lick that you expect someone to memorize
quickly,
%  you could save space and write a modified multi-measure rest
%  and write instructions to repeat the first section.

#(define (white-under grob) (grob-interpret-markup grob
  (markup #:vcenter #:whiteout #:pad-x 1 (ly:grob-property grob 'text

inlineMMRN = {
  \once \override MultiMeasureRest.layer = #-2
  \once \override MultiMeasureRestNumber.layer = #-1
  \once \override MultiMeasureRestNumber.Y-offset = #0
  \once \override MultiMeasureRestNumber.stencil = #white-under
}

\score {
{
\clef bass
\compressFullBarRests
\override MultiMeasureRest #'minimum-length = #20

\mark \markup { \box "Verse A" "3X" }
\repeat volta 3 { \bassVerseA }

\mark \markup { \box "Bridge" }
\bassBridge \break

\mark \markup { \box "Verse A" "3X" }
\repeat volta 3 { \inlineMMRN R1*12 }

\mark \markup { \box "Verse B" }
\bassVerseB \break

\mark \markup { \box "Verse A" "3X" }
\repeat volta 3 { \inlineMMRN R1*12 }

\mark \markup { \box "Verse C" }
\bassVerseC
}
\header {
piece = "Concise but incomplete"
}
}

%  To use standard notation with a small footprint you can use two codas.
%  This requires some fiddling with layout of simultaneous marks
%  These next functions come from http://lsr.di.unimi.it/LSR/Snippet?id=977

#(define-public (string-or-markup-or-boolean? e)
  (or (string? e) (markup? e) (boolean? e)))

#(define (music-property-description symbol type? description)
  (if (not (equal? #f (object-property symbol 'music-doc)))
  (ly:error (_ "symbol ~S redefined") symbol))
  (set-object-property! symbol 'music-type? type?)
  (set-object-property! symbol 'music-doc description)
  symbol)

#(for-each
  (lambda (x)
(apply music-property-description x))
`((left-label
   ,string-or-markup-or-boolean?
   "set the left part of a RehearsalMark")
  (right-label
   ,string-or-markup-or-boolean?
   "set the right part of a RehearsalMark")
   ))

#(define (double-rehearsalmark-stencil grob)
  (let*
   ((grobs-event (ly:grob-property grob 'cause '()))
(left-label (ly:event-property grobs-event 'left-label))
(right-label (ly:event-property grobs-event 'right-label))
(gap (ly:grob-property grob 'gap 1.4)))
   (if (not (or (null? left-label) (null? right-label)))
(case (ly:item-break-dir grob)
 ((-1)
  (if (boolean? left-label) empty-stencil
   (grob-interpret-markup grob
(make-right-align-markup left-label
 ((1)
  (if (boolean? right-label) empty-stencil
   (grob-interpret-markup grob
(make-left-align-markup right-label
 (else
  (if (boolean? left-label)
   (grob-interpret-markup grob
(if left-label
 (make-center-align-markup right-label)
 (make-left-align-markup right-label)))
   (if (boolean? right-label)
(grob-interpret-markup grob
 (if 

Re: Wrong alternative numbering when some are empty

2016-10-05 Thread David Wright
On Wed 05 Oct 2016 at 08:38:11 (-0700), tisimst wrote:
> On Wed, Oct 5, 2016 at 9:33 AM, D'Arcy J.M. Cain-3 [via Lilypond] <
> ml-node+s1069038n195159...@n5.nabble.com> wrote:
> 
> > On Wed, 5 Oct 2016 16:24:28 +0200
> > Pierre Perol-Schneider <[hidden email]
> > > wrote:
> > > How about:
> > > [...]
> > >   \alternative {
> > > % 1st repeat alternative
> > > \set Score.repeatCommands = #'((volta "2."))
> > > { d1 d d d }
> > > \set Score.repeatCommands = #'((volta "4."))
> > > { c1 c c c }
> > >   }
> >
> > That's works.  Thanks.  I had tried something similar but with the
> > empty alternatives still there and that messed up the output pretty
> > badly.  I was surprised to find that this even played properly.
> >
> 
> Maybe I'm missing something, but which ending bar is for the 3rd repeat?

Ha. Looking at this thread I can't see any reason why the MIDI output
should have any difficulty with the OP's first suggestion. It's
obvious what's intended to be played:

 \BassVerseA \BassVerseA \BassVerseA \BassBridge
 \BassVerseA \BassVerseA \BassVerseA \BassVerseB
 \BassVerseA \BassVerseA \BassVerseA \BassVerseC

However, when it comes to conventional notation, there's a problem.
Rather like with Roman numerals, there's no zero/cipher/null in
music notation. So for clarity, I think you have to strip a measure
off the end of BassVerseA and use it to start all your repeats.

Another problem is that LP only understands the idea of factorisation
when applied to the first repeat, which it does by assuming that if
there aren't enough alternatives to go round, the first one should
be labelled (haven't checked the MIDI but I assume it's the same)
to mop up the rest.
(ie "If there are more repeats than there are alternat[iv]e endings,
the earliest repeats are given the first alternative.")

Factorising repeats 4&5 and 7&8 is not possible AFAIK. So to get the
labelling you seem to want, you have to specify them manually.
However, manual labelling then screws up the automatic labelling
(again, AFAIK), but when you manually label the first repeat, LP
inserts a :| barline at te start of the backet which has to be
suppressed.

So all in all the resulting code looks a mess, but there's no
ambiguity to a performer. Note that the volta 14 is required (for
whatever reason) to make sure all the alternatives are typeset.

BTW Best leave the code in the OP for the MIDI!

Cheers,
David.
\relative {
  \mark \markup \italic "repeat 9 times"
  \repeat volta 14 {
c''4 ^\markup { va } b a g
f e d c
c d e f
\set Score.endRepeatType = "|"
  }
  \alternative {
\set Score.repeatCommands = #'((volta "1, 2."))
{ g a b c }
\set Score.endRepeatType = ":|."
\set Score.repeatCommands = #'((volta "3."))
{ g a b c c ^\markup { brdg } a f g }
\set Score.repeatCommands = #'((volta "4, 5."))
{ g a b c }
\set Score.repeatCommands = #'((volta "6."))
{ g a b c c ^\markup { vb } a e g }
\set Score.repeatCommands = #'((volta "7, 8."))
{ g a b c }
\set Score.repeatCommands = #'((volta "9."))
{ g a b c }
  }
  c ^\markup { vc } g e c
  \bar "|."
}


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


Re: Ties, distance from barline at a system break

2016-10-05 Thread Kieren MacMillan
Hi Robert,

> Thanks for your advice and your ME. Compiling it out of the box does not give 
> a result that is better than the untweaked code.

Did you download and install the openlilylib framework on your path?

> One question: why does it insert an empty bar at the beginning. I can't see 
> what causes it and how I can get rid of it, which I would like to do.

If you look at the log, you’ll probably see why.
If not, please post the log here.

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Ties, distance from barline at a system break

2016-10-05 Thread Robert Blackstone
Hi Andrew,

Thanks for your advice and your ME. Compiling it out of the box does not give a 
result that is better than the untweaked code. It will take some time for me to 
become familiar with the possibilities of this \shapeII.
One question: why does it insert an empty bar at the beginning. I can't see 
what causes it and how I can get rid of it, which I would like to do.

Could you help me out here?

Thanks in advance.

Best regards, 
Robert


On 5 Oct 2016, at 14:12 , Andrew Bernard  wrote:

> Hi Robert,
> 
> Well, I don't have 2.18, so I don't know if this is available to you, but if 
> you can use the openlilylib bezier shaping code, you can have very fine 
> control using the \shapeII function.
> 
> \version "2.19.48"
> 
> {
>   \time 2/4 \key des \major \omit Staff.TimeSignature
> 
>   \override Tie.minimum-length-after-break = #13
>   \shapeII #'((() () () (-0.6 . 0))
>   ((0.9 . 0) (p 20 0.4) (p 20 0.4) ())
>   ) Tie
>   
>   ges'2~ | \break
>   ges'2
> }
> 
> 
> This is far more tedious than Pierre's solution, but it sure works and you 
> can tune it to the approval of your professional engraver friend!
> 
> Andrew
> 
> 
> 
> 
> On 5 October 2016 at 20:07, Robert Blackstone wrote:
> 
> Recently a friend, professional engraver (non-LilyPond), looking with a very 
> critical eye at some of my LilyPond trials, pointed out that when there is a 
> tie, interrupted by a system break, the distance from tie to barline and from 
> whatever sits at the beginning of the staff to tie is a bit too small.

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


Re: Wrong alternative numbering when some are empty

2016-10-05 Thread tisimst
On Wed, Oct 5, 2016 at 9:33 AM, D'Arcy J.M. Cain-3 [via Lilypond] <
ml-node+s1069038n195159...@n5.nabble.com> wrote:

> On Wed, 5 Oct 2016 16:24:28 +0200
> Pierre Perol-Schneider <[hidden email]
> > wrote:
> > How about:
> > [...]
> >   \alternative {
> > % 1st repeat alternative
> > \set Score.repeatCommands = #'((volta "2."))
> > { d1 d d d }
> > \set Score.repeatCommands = #'((volta "4."))
> > { c1 c c c }
> >   }
>
> That's works.  Thanks.  I had tried something similar but with the
> empty alternatives still there and that messed up the output pretty
> badly.  I was surprised to find that this even played properly.
>

Maybe I'm missing something, but which ending bar is for the 3rd repeat?

--
Abraham Lee




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Wrong-alternative-numbering-when-some-are-empty-tp195113p195161.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


Trying to make pitch and duration independent

2016-10-05 Thread Caio Giovaneti de Barros
I've been experimenting with building a function that can accept 
different durations/rhythm for given pitches and vice versa. I don't 
know if that is already possible, but I don't seem to find any reference 
to it, except:


http://lsr.di.unimi.it/LSR/Item?id=346 (different pitches with same 
rhythm). This is more or less what I imagine, except I also want to be 
able to do the opposite, namely, create a variable with some pitches 
that I can manipulate to change its durations.


There is also:

http://lsr.di.unimi.it/LSR/Item?id=305 (shiftDurations) which is too 
restrictive with the changes in durations (only multiples).


So far, here is what I got:

%%

\version "2.19.46"

#(define (lilyListLength ls) (length (ly:music-property ls 'elements)))

#(define (getDuration i ls)
   (ly:music-property
(list-ref (ly:music-property ls 'elements) i) 'duration))

#(define (setDuration! i ls dur)
   (set!
(ly:music-property
 (list-ref (ly:music-property ls 'elements) i) 'duration)
dur))

#(define (mapDurations! pitches durations)
   (let rec ((i 0))
 (if (= i (lilyListLength pitches))
 '()
 (begin (rec (1+ i)) (setDuration! i pitches (getDuration i 
durations))


setDurations = #(define-music-function (pitches durations) (ly:music? 
ly:music?)

  (begin (mapDurations! pitches durations) pitches))

pitches = { c' d' e' f' g' }

durations = { 8 8 4. 8 4 }

{
  \setDurations #pitches #durations
}

{
  \setDurations { c' b c' d' e' } #durations
}

{
  \setDurations { c' d' e' d' c' } {16 16 8 4. 8 }
}

%%

This is almost what I want, but doesn't work right:
- Tuplets don't work (maybe some recursive way of getting the 'duration 
property no matter how deep it is nested?)
- If, for instance, I have: \setDurations #pitches { 16 16 8 4. 8 } the 
first appearance of \pitches will also have these new durations (insert 
a new line in the code above to see what I mean).


Is there some easier way of getting what I want or fixing the code 
above? Also, it would be nice to have the option of changing only the 
octaves of a pitch group. I'm using this to work with 12 tone rows and 
it is common to repeat the same row many times but with pitches in 
different octaves. It would make my life easier to automate some 
manipulations of rows and immediately see the result instead of loosing 
a lot of time doing it by hand only to find out that it doesn't sound 
very nice. I believe this would also speed up typing in some situations.


Caio Barros

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


Re: Wrong alternative numbering when some are empty

2016-10-05 Thread D'Arcy J.M. Cain
On Wed, 5 Oct 2016 16:24:28 +0200
Pierre Perol-Schneider  wrote:
> How about:
> [...]
>   \alternative {
> % 1st repeat alternative
> \set Score.repeatCommands = #'((volta "2."))
> { d1 d d d }
> \set Score.repeatCommands = #'((volta "4."))
> { c1 c c c }
>   }

That's works.  Thanks.  I had tried something similar but with the
empty alternatives still there and that messed up the output pretty
badly.  I was surprised to find that this even played properly.

Thanks.

-- 
D'Arcy J.M. Cain
Big Smoke Music
http://BigSmokeMusic.com/ IM:da...@vex.net

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


Re: Wrong alternative numbering when some are empty

2016-10-05 Thread Pierre Perol-Schneider
How about:

\relative {
  \clef F
  \mark \markup \italic "repeat 5 times"
  d1
  \repeat volta 5 {
g,1 g g g
c1 c g g
d'1 c g d'
%\mark \markup "alternative 1 should be 2 and alternative 3 should be
4"
  }
  \alternative {
% 1st repeat alternative
\set Score.repeatCommands = #'((volta "2."))
{ d1 d d d }
\set Score.repeatCommands = #'((volta "4."))
{ c1 c c c }
  }
  g1\fermata
  \bar "|."

}

P.

2016-10-05 16:07 GMT+02:00 D'Arcy J.M. Cain :

> On Wed, 5 Oct 2016 13:17:43 +0200
> Pierre Perol-Schneider  wrote:
> > Hi D'Arcy,
> > I'm not sure to understand what the empty measures stay for.
> > Could you provide us a handwritten pic showing the final result you're
> > looking for.
>
> Better yet, see the attached.  Here is a snippet from the source for
> that output.
>
>   \mark \markup \italic "repeat 5 times"
>   \repeat volta 5 {
>   g,1 g g g
>   c1 c g g
>   d'1 c g d'
>   \mark \markup "alternative 1 should be 2 and alternative 3 should be
>   4" }
>   \alternative {
> { }
> { d1 d d d }
> { }
> { c1 c c c }
> { }
>   }
>
>   g1\fermata
>   \bar "|."
>
> --
> D'Arcy J.M. Cain
> Big Smoke Music
> http://BigSmokeMusic.com/ IM:da...@vex.net
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Wrong alternative numbering when some are empty

2016-10-05 Thread D'Arcy J.M. Cain
On Wed, 5 Oct 2016 13:17:43 +0200
Pierre Perol-Schneider  wrote:
> Hi D'Arcy,
> I'm not sure to understand what the empty measures stay for.
> Could you provide us a handwritten pic showing the final result you're
> looking for.

Better yet, see the attached.  Here is a snippet from the source for
that output.

  \mark \markup \italic "repeat 5 times"
  \repeat volta 5 {
  g,1 g g g
  c1 c g g
  d'1 c g d'
  \mark \markup "alternative 1 should be 2 and alternative 3 should be
  4" }
  \alternative {
{ }
{ d1 d d d }
{ }
{ c1 c c c }
{ }
  }

  g1\fermata
  \bar "|."

-- 
D'Arcy J.M. Cain
Big Smoke Music
http://BigSmokeMusic.com/ IM:da...@vex.net
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single lyric for multiple syllables

2016-10-05 Thread Carlo Stemberger
2016-10-05 10:26 GMT+02:00 David Kastrup :

>
> That's not a complete compilable example.


You are right, David, sorry.

Here is the complete one:

-
\version "2.18.2"

\relative c'' {
\key d \major
\time 2/4
\partial 4 a8 g
fis4 d
e8( fis) g b
a2
a4 r8 a
b4 fis8 e
fis4 fis\fermata
\bar "|."
}
\addlyrics {
Il Si -- gno -- re~è~il mi -- o pas -- to -- re:
non -- man -- co di nul -- la.
}
-

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


Re: Single lyric for multiple syllables

2016-10-05 Thread Carlo Stemberger
Thank you very much, Thomas!

2016-10-05 10:27 GMT+02:00 Thomas Morley :

>
> With a newer devel-version


I'll wait for the stable one.

Anyway it seems to be a (little) workaround. In your opinion, might it be a
good idea to open a feature request?

Thanks!

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


Re: Ties, distance from barline at a system break

2016-10-05 Thread Andrew Bernard
Hi Robert,

Well, I don't have 2.18, so I don't know if this is available to you, but
if you can use the openlilylib bezier shaping code, you can have very fine
control using the \shapeII function.

\version "2.19.48"

{
  \time 2/4 \key des \major \omit Staff.TimeSignature

  \override Tie.minimum-length-after-break = #13
  \shapeII #'((() () () (-0.6 . 0))
  ((0.9 . 0) (p 20 0.4) (p 20 0.4) ())
  ) Tie

  ges'2~ | \break
  ges'2
}


This is far more tedious than Pierre's solution, but it sure works and you
can tune it to the approval of your professional engraver friend!

Andrew




On 5 October 2016 at 20:07, Robert Blackstone wrote:

>
> Recently a friend, professional engraver (non-LilyPond), looking with a
> very critical eye at some of my LilyPond trials, pointed out that when
> there is a tie, interrupted by a system break, the distance from tie to
> barline and from whatever sits at the beginning of the staff to tie is a
> bit too small.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ties, distance from barline at a system break

2016-10-05 Thread Robert Blackstone
Hi Pierre,

Thank you. 
Much better, at least for the first bar. The price for this improvement seems 
to be that the ties have become somewhat disconnected from their note-heads, 
which is tolerable for the first bar in the example but not really nice for he 
second. 

Experimenting a bit with the value of the note-head gap I found that 6 instead 
of 8 yields a reasonable compromise for me.

Thanks again,

Best regards
Robert

On 5 Oct 2016, at 13:06 , Pierre Perol-Schneider 
 wrote:

> Hi Robert,
> How about:
> 
> %
> \version "2.18.2"
> 
> \paper {
>   paper-width = 5.59\cm
>   paper-height = 8.93\cm
>   system-system-spacing #' basic-distance = #5
>   tagline = ##f
> }
> \layout{
>   indent=0\mm
> }
> 
> { 
>\time 2/4 
>\key des \major 
>\omit Staff.TimeSignature
>ges'2 -\tweak details.note-head-gap #.8 ~ | \break
>ges'2
> }
> %
> 
> Cheers,
> Pierre
> 
> 2016-10-05 11:07 GMT+02:00 Robert Blackstone :
> Dear all,
> 
> Recently a friend, professional engraver (non-LilyPond), looking with a very 
> critical eye at some of my LilyPond trials, pointed out that when there is a 
> tie, interrupted by a system break, the distance from tie to barline and from 
> whatever sits at the beginning of the staff to tie is a bit too small.
> Looking at commercial editions I saw that these distances vary somewhat so it 
> may be a matter of taste.
> Still, I think that the distance LilyPond creates, especially at the 
> beginning of the staff, is too small. See example (I found it interesting to 
> fiddle with the \key)
> 
> %
> \version "2.18.2"
> 
> \paper {
> paper-width = 5.59\cm
> paper-height = 8.93\cm
> system-system-spacing #' basic-distance = #5
> tagline = ##f
> }
> \layout{
>   indent=0\mm
> }
> 
>   { \time 2/4 \key des \major \omit Staff.TimeSignature
>  ges'2~ | \break
>ges'2
>}
> 
> %
> 
> My question: is there a way to change the tie-length or the space after, 
> respectively before the tie, or the space between "whatever sits at the 
> beginning of the staff" and the musical text? I have not found any so far.
> 
> Thanks in advance for any advice.
> 
> Best regards,
> Robert Blackstone
> ___
> 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: Wrong alternative numbering when some are empty

2016-10-05 Thread Pierre Perol-Schneider
Hi D'Arcy,
I'm not sure to understand what the empty measures stay for.
Could you provide us a handwritten pic showing the final result you're
looking for.
Cheers,
Pierre

2016-10-04 5:45 GMT+02:00 D'Arcy J.M. Cain :

> On Mon, 3 Oct 2016 19:45:48 +0200
> Pierre Perol-Schneider  wrote:
> > Hi D'arcy,
> > Maybe this could help: http://lsr.di.unimi.it/LSR/Item?id=915
>
> I tried using this to explicitly number the alternatives but it messed
> up the score.  I can't do it exactly as shown because I have created
> includes that hide that part of the code.  In any case it seems really
> complex. Am I wrong in thinking that it should display the current
> alternative and not just the one after the last printed one?
>
>   \mark \markup \italic "repeat 4 times"
>   \repeat volta 4 {
> \BassVerseA
>   }
>   \alternative {
> { } % #1 empty so nothing prints
> { \BassBridge } % prints #1
> { } % this is #3 but it does not print
> { \BassVerseB } % prints #3
>   }
>
> The one that prints #3 should print #4.  It would almost make sense if
> it printed #2 if it wasn't counting the empties but printing #3
> suggests that it is counting them ultimately.
>
> --
> D'Arcy J.M. Cain
> Big Smoke Music
> http://BigSmokeMusic.com/ IM:da...@vex.net
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ties, distance from barline at a system break

2016-10-05 Thread Pierre Perol-Schneider
Hi Robert,
How about:

%
\version "2.18.2"

\paper {
  paper-width = 5.59\cm
  paper-height = 8.93\cm
  system-system-spacing #' basic-distance = #5
  tagline = ##f
}
\layout{
  indent=0\mm
}

{
   \time 2/4
   \key des \major
   \omit Staff.TimeSignature
   ges'2 -\tweak details.note-head-gap #.8 ~ | \break
   ges'2
}
%

Cheers,
Pierre

2016-10-05 11:07 GMT+02:00 Robert Blackstone :

> Dear all,
>
> Recently a friend, professional engraver (non-LilyPond), looking with a
> very critical eye at some of my LilyPond trials, pointed out that when
> there is a tie, interrupted by a system break, the distance from tie to
> barline and from whatever sits at the beginning of the staff to tie is a
> bit too small.
> Looking at commercial editions I saw that these distances vary somewhat so
> it may be a matter of taste.
> Still, I think that the distance LilyPond creates, especially at the
> beginning of the staff, is too small. See example (I found it interesting
> to fiddle with the \key)
>
> %
> \version "2.18.2"
>
> \paper {
> paper-width = 5.59\cm
> paper-height = 8.93\cm
> system-system-spacing #' basic-distance = #5
> tagline = ##f
> }
> \layout{
>   indent=0\mm
> }
>
>   { \time 2/4 \key des \major \omit Staff.TimeSignature
>  ges'2~ | \break
>ges'2
>}
>
> %
>
> My question: is there a way to change the tie-length or the space after,
> respectively before the tie, or the space between "whatever sits at the
> beginning of the staff" and the musical text? I have not found any so far.
>
> Thanks in advance for any advice.
>
> Best regards,
> Robert Blackstone
> ___
> 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: Single lyric for multiple syllables

2016-10-05 Thread David Kastrup
Carlo Stemberger  writes:

> Hello,
>
> http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-vocal-music#multiple-syllables-to-one-note
>
> Is it possible to get a single lyric tie for multiple syllables?
>
> In the attached example, I'd rather see an unique tie from "re" to "il":
>
> \addlyrics {
> Il Si -- gno -- re~è~il mi -- o pas -- to -- re:
> non -- man -- co di nul -- la.
> }

That's not a complete compilable example.  Here is one.

\lyrics {
  Il Si -- gno --
  \markup \concat {re \undertie " è " il} mi -- o pas -- to -- re:
  non -- man -- co di nul -- la.
}


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


Ties, distance from barline at a system break

2016-10-05 Thread Robert Blackstone
Dear all, 

Recently a friend, professional engraver (non-LilyPond), looking with a very 
critical eye at some of my LilyPond trials, pointed out that when there is a 
tie, interrupted by a system break, the distance from tie to barline and from 
whatever sits at the beginning of the staff to tie is a bit too small. 
Looking at commercial editions I saw that these distances vary somewhat so it 
may be a matter of taste. 
Still, I think that the distance LilyPond creates, especially at the beginning 
of the staff, is too small. See example (I found it interesting to fiddle with 
the \key)

%
\version "2.18.2"

\paper {
paper-width = 5.59\cm
paper-height = 8.93\cm
system-system-spacing #' basic-distance = #5
tagline = ##f
}
\layout{
  indent=0\mm
}

  { \time 2/4 \key des \major \omit Staff.TimeSignature
 ges'2~ | \break
   ges'2
   }

%

My question: is there a way to change the tie-length or the space after, 
respectively before the tie, or the space between "whatever sits at the 
beginning of the staff" and the musical text? I have not found any so far.

Thanks in advance for any advice.

Best regards,
Robert Blackstone
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single lyric for multiple syllables

2016-10-05 Thread Thomas Morley
2016-10-05 9:54 GMT+02:00 Carlo Stemberger :
> Hello,
>
> http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-vocal-music#multiple-syllables-to-one-note
>
> Is it possible to get a single lyric tie for multiple syllables?
>
> In the attached example, I'd rather see an unique tie from "re" to "il":
>
> \addlyrics {
> Il Si -- gno -- re~è~il mi -- o pas -- to -- re:
> non -- man -- co di nul -- la.
> }
>
> Thank you!
>
> Carlo
>

With a newer devel-version you could do:

\version "2.19.48"

\paper { indent = 35 }

<<
  \new Voice = "mel"
  \relative {
\key d \major
\time 2/4

\partial 4
a'8 g
fis4 d
e8( fis) g b
a2
a4 r8 a
b4
fis8 e
fis4 fis\fermata
\bar "|."
  }


  \new Lyrics
\with { instrumentName = "\"\~\"" }
\lyricsto "mel" {
  Il Si -- gno -- re~è~il mi -- o pas -- to -- re:
  non -- man -- co di nul -- la.
}

  \new Lyrics
\with { instrumentName = "\"undertie\"" }
\lyricsto "mel" {
  Il Si -- gno -- \markup \undertie "re è il" mi -- o pas -- to -- re:
  non -- man -- co di nul -- la.
}

  \new Lyrics
\with { instrumentName = "tweaked \"undertie\"" }
\lyricsto "mel" {
  Il Si -- gno --
\markup
  %% maybe uncomment:
  %\override #'(offset . 4)
  \override #'(shorten-pair . (1.8 . 1))
  \undertie "re è il"
mi -- o pas -- to -- re:
  non -- man -- co di nul -- la.
  }
>>

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


Single lyric for multiple syllables

2016-10-05 Thread Carlo Stemberger
Hello,

http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-vocal-music#multiple-syllables-to-one-note

Is it possible to get a single lyric tie for multiple syllables?

In the attached example, I'd rather see an unique tie from "re" to "il":

\addlyrics {
Il Si -- gno -- re~è~il mi -- o pas -- to -- re:
non -- man -- co di nul -- la.
}

Thank you!

Carlo


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