Re: would 'gn' for G-natural be useful in \language "english" ?

2014-11-19 Thread Paul Morris
Another American here, but I don't have a very strong opinion on this.  I can
see arguments on both sides.

-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/would-gn-for-G-natural-be-useful-in-language-english-tp165872p168834.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: Beginners problem with display in an include file

2014-11-19 Thread Paul Morris
Peter Gentry wrote
> \version "2.18.2"
> ;;; OS Vista and Frescobaldi
> ;;; attempt to improve include file enharmonic.ly
> ;;; why does guile display fail to produce an output to thefresobaldi log
> file
> #(ly:message "Test debug 1\n")
> #(define (naturalize-pitch p)
> (let ((o (ly:pitch-octave p))
> (a (* 4 (ly:pitch-alteration p)))
> ;;; alteration, a, in quarter tone steps,
> ;; for historical reasons
> (n (ly:pitch-notename p)))
> (cond
> ((and (> a 1) (or (eq? n 6) (eq? n 2)))
> (set! a (- a 2))
> (set! n (+ n 1)))
> ((and (< a -1) (or (eq? n 0) (eq? n 3)))
> (set! a (+ a 2))
> (set! n (- n 1
> (display a)
> (cond
>  ((> a 2) (ly:message "a>2"))
>  ((< a -2) (ly:message "a<-2"))
> )
> (cond
> ((> a 2) (set! a (- a 4)) (set! n (+ n 1)))
> ((< a -2) (set! a (+ a 4)) (set! n (- n 1
> (cond
>  ((< n 0) (ly:message "n<0"))
>  ((= n 0) (ly:message "n=0"))
>  ((= n 1) (ly:message "n=1"))
>  ((= n 2) (ly:message "n=2"))
>  ((= n 3) (ly:message "n=3"))
>  ((= n 4) (ly:message "n=4"))
>  ((= n 5) (ly:message "n=5"))
>  ((= n 6) (ly:message "n=6"))
>  ((> n 6) (ly:message "n>6"))
> )
> (if (< n 0) (begin (set! o (- o 1)) (set! n (+ n 7
> (if (> n 6) (begin (set! o (+ o 1)) (set! n (- n 7
> (ly:make-pitch o n (/ a 4
> #(ly:message "Test debug 3\n")
> #(define (naturalize music)
> (let ((es (ly:music-property music 'elements))
> (e (ly:music-property music 'element))
> (p (ly:music-property music 'pitch)))
> (if (pair? es)
> (ly:music-set-property!
> music 'elements
> (map (lambda (x) (naturalize x)) es)))
> (if (ly:music? e)
> (ly:music-set-property!
> music 'element
> (naturalize e)))
> (if (ly:pitch? p)
> (begin
> (set! p (naturalize-pitch p))
> (ly:music-set-property! music 'pitch p)))
> music))
> naturalizeMusic =
> #(define-music-function (parser location m)
> (ly:music?)
> (ly:message "Test debug 4\n")
> (naturalize m))
> 
> I an trying to get some debug feedback from the code but ly:message only
> seems to allow strings and display reutns nothing. I'll bet
> it's a simple missunderstanding of the guile scheme interface.
> 
> regards
> Peter Gentry 

Hi Peter,  I tried your code and everything seems to be working for me.  I
just had add the following to call to your naturalizeMusic function:

  \naturalizeMusic {  bes c dis }

Cheers,
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beginners-problem-with-display-in-an-include-file-tp168792p168833.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: Am I misunderstanding the NullVoice?

2014-11-19 Thread Andrew Hawryluk
Thanks! I like finding bugs that have already been fixed.
Andrew

On Wed, Nov 19, 2014 at 1:02 AM, Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> wrote:

> Hi Andrew,
> Looks strange; could be a bug since it does the job with v2.19.
> Anyway here's a workaround (but you'll get warnings) :
>
> \version "2.18.2"
>
> soprano = \relative { g'4. a8 g8( f) d4 }
> alto = \relative { c'8( d) e4 d b }
> aligner = \relative { c'8( d) e4 g8( f) d4 }
> words = \lyricmode { pea -- nut but -- ter}
>
> \new Staff <<
>   \new Voice { \voiceOne \soprano }
>   \new Voice { \voiceTwo \alto }
>   \new Devnull = "aligner" \aligner
>   \new Lyrics \lyricsto "aligner" \words
> >>
>
> HTH,
> Pierre
>
> 2014-11-19 6:19 GMT+01:00 Andrew Hawryluk :
>
>> Hi everyone, I just upgraded to 2.18.2 to use the cool new NullVoice. It
>> seems like a slick solution to polyphonic lyric alignment. Unfortunately, I
>> seem to be doing something wrong, because I am getting two syllables
>> printed right on top of each other (see attached PNG). In this example, I
>> want each syllable to arrive on a beat, which you see if you change the
>> NullVoice to a Voice.
>>
>> Thanks for your thoughts!
>> Andrew
>>
>>
>> \version "2.18.2"
>>
>> soprano = \relative { g'4. a8 g8( f) d4 }
>> alto = \relative { c'8( d) e4 d b }
>> aligner = \relative { c'8( d) e4 g8( f) d4 }
>> words = \lyricmode { pea -- nut but -- ter }
>>
>> \new Staff <<
>>   \new Voice { \voiceOne \soprano }
>>   \new Voice { \voiceTwo \alto }
>>   \new NullVoice = "aligner" \aligner
>>   \new Lyrics \lyricsto "aligner" \words
>> >>
>>
>>
>> ___
>> 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


MIDI and Volta repeats in parallel music

2014-11-19 Thread Michael Ellis
​
I find it advantageous when working with multiple voices to keep
'structural' information (meter, tempo, etc.) in a separate voice that gets
combined with the other voices as illustrated in the image and code below.
In this example, the pdf layout is correct and the MIDI output honors the
tempo change, but doesn't repeat the second measure despite using a
separate score block with \unfoldRepeats.



music = \relative c' { c4 d e | f g a b  }

structure = {
\time 3/4 \tempo 4=60 s2.
\time 4/4 \tempo 4=120 \repeat volta 2 { s1 }
 }

\score {
  \new Staff = "Music" {
  <<
\new Voice = "Music" { \voiceOne \music }
\new Voice = "Structure" { \voiceTwo \structure }
  >>
  }
}

\score {
\unfoldRepeats { << \structure \\ \music >> }
\midi {
}
}

I can get the MIDI to repeat by copying the \repeat into the music
variable, e.g.

music = \relative c' { c4 d e | \repeat volta 2 { f g a b } }

but that defeats the convenience of keeping the 'structural' info in a
separate voice.  Is there a way to get the repeats in MIDI without
resorting to copying them into the notation for every voice?


Thanks,
Mike Ellis

*TransLily -- a minimal
assistant for part transcription with LilyPond.*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Double incipit (was midline system bracket)

2014-11-19 Thread Jayaratna
A lot!!! Hope my publisher will not change my line-width, but today a big gap
was filled.
Time to enter the music.

Thank you so much, Pierre

Andrea



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Double-incipit-was-midline-system-bracket-tp168820p168830.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: Double incipit (was midline system bracket)

2014-11-19 Thread Pierre Perol-Schneider
You don't.
Could be one column thought.
Ex:

\markuplist {
  \column {
\concat {
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
}
\vspace #1
\concat {
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
}
\vspace #1
\concat {
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
}
  }
}

Does that help ?

2014-11-19 15:11 GMT+01:00 Jayaratna :

> Sorry again, how do you get line breaks?
> This does not help
>
> \markuplist {
>   \justified-lines { \concat {
> \myincipit
> \myincipit}
> }
> }
>
>
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Double-incipit-was-midline-system-bracket-tp168820p168827.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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Double incipit (was midline system bracket)

2014-11-19 Thread Jayaratna
Sorry again, how do you get line breaks?
This does not help

\markuplist {
  \justified-lines { \concat {
\myincipit
\myincipit}
}
}





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Double-incipit-was-midline-system-bracket-tp168820p168827.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: Double incipit (was midline system bracket)

2014-11-19 Thread Jayaratna
It should work. I don't see any such extremes in the music I need to prepare,
but, for the record, look at what could happen:
 
doubleincipit-2.ly
  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Double-incipit-was-midline-system-bracket-tp168820p168826.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: Double incipit (was midline system bracket)

2014-11-19 Thread Pierre Perol-Schneider
2014-11-19 14:33 GMT+01:00 Jayaratna :

> Awesome, but I have more than 50 such snippets to aggregate...
>
>
Ok, well using those scores as markups could help.
See enclosed file.
Cheers,
Pierre
\version "2.18.2"

#(set-global-staff-size 10)

incipit =
#(define-music-function (parser location incipit-music) (ly:music?)
  #{
\once \override Staff.InstrumentName.self-alignment-X = #RIGHT
\once \override Staff.InstrumentName.self-alignment-Y = ##f
\once \override Staff.InstrumentName.padding = #0.3
\once \override Staff.InstrumentName.stencil =
  #(lambda (grob)
 (let* ((instrument-name (ly:grob-property grob 'long-text)))
   (set! (ly:grob-property grob 'long-text)
   #{ 
 \markup
 \score {
   { 
 \context MensuralStaff 
 \with { instrumentName = #instrument-name } 
 $incipit-music
   }
   \layout { 
 $(ly:grob-layout grob)
 line-width = \indent
 indent =
  % primitive-eval is probably easiest for
  % escaping lexical closure and evaluating
  % everything respective to (current-module).
 #(primitive-eval
   '(or (false-if-exception (- indent incipit-width))
  (* 0.5 indent)))
 ragged-right = ##f
 ragged-last = ##f
 system-count = #1 
   }
  }
   #})
  (system-start-text::print grob)))
#})

global = {
  \set Score.skipBars = ##t
  \key c \major
  \override Staff.Clef.full-size-change = ##t
  \once \override Staff.TimeSignature.stencil = ##f
  \time 4/2
}

discantusNotes = 
  \relative c'  {
\clef violin
c'1 d \bar"||"
  }

altusNotes = 
  \relative c'  {
\clef "G_8"
f1 f \bar "||"
  }
  
tenorNotes = 
  \relative c' {
\clef "G_8"
a1 f \bar "||"
  }

bassusNotes = 
  \relative c {
\clef bass
f,1 bes \bar"||" 
  }

discantusIncipit = 
<<
  \new MensuralVoice = "discantusIncipit"
  \repeat unfold 2 { s1 \noBreak }
  {
\override Staff.TimeSignature.stencil = ##f
\key c \major \clef "petrucci-c1"
  }
>>

altusIncipit =
<<
  \new MensuralVoice = "altusIncipit"
  \repeat unfold 2 { s1 \noBreak }
  {
\override Staff.TimeSignature.stencil = ##f
\key c \major \clef "petrucci-c3"
  }
>>

tenorIncipit = 
<<
  \new MensuralVoice = "tenorIncipit" 
  \repeat unfold 2 { s1 \noBreak }
  {
\override Staff.TimeSignature.stencil = ##f
\key c \major \clef "petrucci-c3"
  }
>>

bassusIncipit = 
<<
  \new MensuralVoice = "bassusIncipit" 
  \repeat unfold 2 { s1 \noBreak }
  { 
\override Staff.TimeSignature.stencil = ##f
\key c \major \clef "petrucci-c3"
  }
>>

myIncipit = \markup\concat {
  \score {
\new StaffGroup = choirStaff <<
  \new Voice = "discantusNotes" <<
\global
\set Staff.instrumentName = #"" 
\incipit \discantusIncipit
\discantusNotes
  >>
  \new Voice = "altusNotes" <<
\global
\set Staff.instrumentName = #"" 
\incipit \altusIncipit
\altusNotes
  >>
  \new Voice = "tenorNotes" <<
\global
\set Staff.instrumentName = #""  
\incipit \tenorIncipit
\tenorNotes
  >>
  \new Voice = "bassusNotes" <<
\global
\set Staff.instrumentName = #"" 
\incipit \bassusIncipit
\bassusNotes
  >>
>>
\layout {
  \context {
\Score
%% no bar lines in staves or lyrics
\remove "Bar_number_engraver"
  }
  indent = #0.5
  incipit-width = #0.5
}
  }
  \hspace #1
}

\markup\concat {
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
  \myIncipit
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Markup : convert to v2.18/v2.19 generate error

2014-11-19 Thread Pierre Perol-Schneider
... Too bad, didn't help, still stucked...
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Double incipit (was midline system bracket)

2014-11-19 Thread Jayaratna
Awesome, but I have more than 50 such snippets to aggregate...



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Double-incipit-was-midline-system-bracket-tp168820p168823.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: Double incipit (was midline system bracket)

2014-11-19 Thread Pierre Perol-Schneider
Hi Andrea,
There's a easy way to reach that (see attached file), but the result wil
depend upon the incipits length.
Cheers,
Pierre

2014-11-19 13:32 GMT+01:00 Jayaratna :

> Dear Lilypondians,
>
>
> I am trying to adapt this code by Pierre to my needs:
>
> http://lists.gnu.org/archive/html/lilypond-user/2012-05/msg00379.html
>
> So far I have made this:
>
> 
>
> Three things I need to adjust:
>
> 1) the brace needs to be a bracket and to be properly repositioned;
> 2) the second 'incipit' is too large compared to the first (which is made
> by
> a markup code inside the instrument name), I can make the first look like
> the second but I need the second to look like the first instead;
> 3) the '8' under the octave treble clefs in the second half of the example
> are shifted (and this could be a small bug: if you hide the clefs the 8s
> remain).
>
> I am attacing my doubleincipit.ly
> doubleincipit.ly
> 
>
> Any help welcome,
> thank you,
> Andrea
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Double-incipit-was-midline-system-bracket-tp168820.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
>
\version "2.18.2"

#(set-global-staff-size 10)

incipit =
#(define-music-function (parser location incipit-music) (ly:music?)
  #{
\once \override Staff.InstrumentName.self-alignment-X = #RIGHT
\once \override Staff.InstrumentName.self-alignment-Y = ##f
\once \override Staff.InstrumentName.padding = #0.3
\once \override Staff.InstrumentName.stencil =
  #(lambda (grob)
 (let* ((instrument-name (ly:grob-property grob 'long-text)))
   (set! (ly:grob-property grob 'long-text)
   #{ 
 \markup
 \score {
   { 
 \context MensuralStaff 
 \with { instrumentName = #instrument-name } 
 $incipit-music
   }
   \layout { 
 $(ly:grob-layout grob)
 line-width = \indent
 indent =
  % primitive-eval is probably easiest for
  % escaping lexical closure and evaluating
  % everything respective to (current-module).
 #(primitive-eval
   '(or (false-if-exception (- indent incipit-width))
  (* 0.5 indent)))
 ragged-right = ##f
 ragged-last = ##f
 system-count = #1 
   }
  }
   #})
  (system-start-text::print grob)))
#})

global = {
  \set Score.skipBars = ##t
  \key c \major
  \override Staff.Clef.full-size-change = ##t
  \once \override Staff.TimeSignature.stencil = ##f
  \time 4/2
}

discantusNotes = 
  \relative c'  {
\clef violin
c'1 d \bar"||"
  }

altusNotes = 
  \relative c'  {
\clef "G_8"
f1 f \bar "||"
  }
  
tenorNotes = 
  \relative c' {
\clef "G_8"
a1 f \bar "||"
  }

bassusNotes = 
  \relative c {
\clef bass
f,1 bes \bar"||" 
  }

discantusIncipit = 
<<
  \new MensuralVoice = "discantusIncipit"
  \repeat unfold 2 { s1 \noBreak }
  {
\override Staff.TimeSignature.stencil = ##f
\key c \major \clef "petrucci-c1"
  }
>>

altusIncipit =
<<
  \new MensuralVoice = "altusIncipit"
  \repeat unfold 2 { s1 \noBreak }
  {
\override Staff.TimeSignature.stencil = ##f
\key c \major \clef "petrucci-c3"
  }
>>

tenorIncipit = 
<<
  \new MensuralVoice = "tenorIncipit" 
  \repeat unfold 2 { s1 \noBreak }
  {
\override Staff.TimeSignature.stencil = ##f
\key c \major \clef "petrucci-c3"
  }
>>

bassusIncipit = 
<<
  \new MensuralVoice = "bassusIncipit" 
  \repeat unfold 2 { s1 \noBreak }
  { 
\override Staff.TimeSignature.stencil = ##f
\key c \major \clef "petrucci-c3"
  }
>>

myIncipit = \markup
\score {
  \new StaffGroup = choirStaff <<
\new Voice = "discantusNotes" <<
  \global
  \set Staff.instrumentName = #"" 
  \incipit \discantusIncipit
  \discantusNotes
>>
\new Voice = "altusNotes" <<
  \global
  \set Staff.instrumentName = #"" 
  \incipit \altusIncipit
  \altusNotes
>>
\new Voice = "tenorNotes" <<
  \global
  \set Staff.instrumentName = #""  
  \incipit \tenorIncipit
  \tenorNotes
>>
\new Voice = "bassusNotes" <<
  \global
  \set Staff.instrumentName = #"" 
  \incipit \bassusIncipit
  \bassusNotes
>>
  >>
  \layout {
\context {
  \Score
  %% no bar lines in staves or lyrics
  \remove "Bar_number_engraver"
}
indent = #0.5
incipit-width = #0.5
  }
}

\score {
  \new StaffGroup = choirStaff <<
\set StaffGroup.instrumentName = \

Double incipit (was midline system bracket)

2014-11-19 Thread Jayaratna
Dear Lilypondians,


I am trying to adapt this code by Pierre to my needs:

http://lists.gnu.org/archive/html/lilypond-user/2012-05/msg00379.html

So far I have made this:

 

Three things I need to adjust:

1) the brace needs to be a bracket and to be properly repositioned;
2) the second 'incipit' is too large compared to the first (which is made by
a markup code inside the instrument name), I can make the first look like
the second but I need the second to look like the first instead;
3) the '8' under the octave treble clefs in the second half of the example
are shifted (and this could be a small bug: if you hide the clefs the 8s
remain).

I am attacing my doubleincipit.ly
doubleincipit.ly
  

Any help welcome,
thank you,
Andrea



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Double-incipit-was-midline-system-bracket-tp168820.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: positioning dynamics vertically

2014-11-19 Thread David B. Stocker

Thanks Pierre.

Although that wasn't quite the effect I was after, that section of 
documentation yielded the solution I wanted.


I have read it before, but didn't really understand until I followed the 
breadcrumbs to the Dynamics context in the internals. What I needed was 
something called nonstaff-relatedstaff-spacing within the VerticalAxisGroup.


The idea was that with the Dynamics context for the horn centered 
between the horn staff and the treble staff of the PianoStaff, it was 
ambiguous which staff the dynamics belonged to whenever spacing got a 
little tight. This solution keeps the dynamics closer to the horn staff, 
regardless of how the staves and groups stretch to fill a page.


Here's what it looks like.

Thanks again,

David

\version "2.18.2"


\paper {

ragged-last = ##f

ragged-last-bottom = ##f

}


pianoRH = \relative c'' { c4 d e c }


pianoLH = \relative c { c2 g'4 e }


hornNotes = \relative c'' { g2 c }


dyn = { s2\mf\< s\!\f }

\score {

<<

\new StaffGroup <<

\new Staff

\with {

fontSize = #-3

\override StaffSymbol.staff-space = #(magstep -3)

\override StaffSymbol.thickness = #(magstep -3)

}

{

\new Voice \hornNotes

}

\new Dynamics {

\override Dynamics.VerticalAxisGroup.nonstaff-relatedstaff-spacing =

#'((basic-distance . 0)

(minimum-distance . 0)

(padding . 2.5))

\override DynamicText.font-size = #-3

\override Hairpin.height = #.

\dyn

}

>>

\new PianoStaff <<

\new Staff \pianoRH

\new Dynamics \dyn

\new Staff {

\clef bass

\pianoLH

}

>>

>>

%{ \layout {

\context {

\Staff

\override VerticalAxisGroup.default-staff-staff-spacing =

#'((basic-distance . 2)

(minimum-distance . 2)

(padding . 1))

\override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 2))

}

} %}

}




On 11/18/2014 02:41 PM, Pierre Perol-Schneider wrote:

Hi David,

2014-11-18 18:30 GMT+01:00 David B. Stocker >:


I need that baseline to 'hug ' the bottom of the melody
staff and I haven't been able to do that.


See : 
http://lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-within-systems

Mini example enclosed.
HTH
Pierre




\version "2.18.2"

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

pianoRH = \relative c'' { c4 d e c }

pianoLH = \relative c { c2 g'4 e }

hornNotes = \relative c'' { g2 c }

dyn = { s2\mf\< s\!\f }

\score {
  <<
\new StaffGroup <<
  \new Staff 
  \with { 
fontSize = #-3
\override StaffSymbol.staff-space = #(magstep -3)
\override StaffSymbol.thickness = #(magstep -3)
  }
  {
\new Voice \hornNotes
  }
  \new Dynamics {
\override Dynamics.VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 0)
   (minimum-distance . 0)
   (padding . 2.5))
\override DynamicText.font-size = #-3
\override Hairpin.height = #.
\dyn
  }
>>
\new PianoStaff <<
  \new Staff \pianoRH
  \new Dynamics \dyn
  \new Staff {
\clef bass
\pianoLH
  }
>>
  >>
  %{ \layout {
\context {
  \Staff
  \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 2)
   (minimum-distance . 2)
   (padding . 1))
  \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 2))
}
  } %}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Markup : convert to v2.18/v2.19 generate error

2014-11-19 Thread Pierre Perol-Schneider
Hi Harm,

2014-11-18 22:41 GMT+01:00 Thomas Morley :


> % note the semiquote and unquote
>

I totally miss this one !
Thanks for the tip I'll keep it warm in my mind.
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Am I misunderstanding the NullVoice?

2014-11-19 Thread Pierre Perol-Schneider
Hi Andrew,
Looks strange; could be a bug since it does the job with v2.19.
Anyway here's a workaround (but you'll get warnings) :

\version "2.18.2"

soprano = \relative { g'4. a8 g8( f) d4 }
alto = \relative { c'8( d) e4 d b }
aligner = \relative { c'8( d) e4 g8( f) d4 }
words = \lyricmode { pea -- nut but -- ter}

\new Staff <<
  \new Voice { \voiceOne \soprano }
  \new Voice { \voiceTwo \alto }
  \new Devnull = "aligner" \aligner
  \new Lyrics \lyricsto "aligner" \words
>>

HTH,
Pierre

2014-11-19 6:19 GMT+01:00 Andrew Hawryluk :

> Hi everyone, I just upgraded to 2.18.2 to use the cool new NullVoice. It
> seems like a slick solution to polyphonic lyric alignment. Unfortunately, I
> seem to be doing something wrong, because I am getting two syllables
> printed right on top of each other (see attached PNG). In this example, I
> want each syllable to arrive on a beat, which you see if you change the
> NullVoice to a Voice.
>
> Thanks for your thoughts!
> Andrew
>
>
> \version "2.18.2"
>
> soprano = \relative { g'4. a8 g8( f) d4 }
> alto = \relative { c'8( d) e4 d b }
> aligner = \relative { c'8( d) e4 g8( f) d4 }
> words = \lyricmode { pea -- nut but -- ter }
>
> \new Staff <<
>   \new Voice { \voiceOne \soprano }
>   \new Voice { \voiceTwo \alto }
>   \new NullVoice = "aligner" \aligner
>   \new Lyrics \lyricsto "aligner" \words
> >>
>
>
> ___
> 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