Re: emails innummerable

2018-11-04 Thread David Sumbler


-Original Message-
From: Jay Hamilton 
To: Jean-Julien Fleck , 
lilypond-user@gnu.org, d...@linns.org
Subject: Re: emails innummerable
Date: Sun, 04 Nov 2018 17:57:57 -0700
> Merci 
> but I just checked (and changed my name and address) and it was set
> (as
> far as I could understand ) to 'digest' or group 
> so that is not the answer or at least not to the current problem.
> Jay

I think that the problem Jay/Sam is referring to is that the list is so
busy (surely a good thing) that several digests per day are sent out.

On Saturday 3rd November, for instance, I received 14 digests.  These
contained a total of 52 separate messages.  Sending one daily digest
would obviously mean that all 52 messages appeared in one massive
email.

There does seem to be something odd about the way the issue of a digest
is triggered though: one of Saturday's digests contained 8 messages,
another contained just 1.  This variability happens all the time, and
it does not appear to be related to the length of the individual
messages.

Is is possible to tweak the list-issuing software either to standardize
the timing of new digests (e.g. once per day, or perhaps once every 6
hours); or alternatively to issue a digest once the number of emails or
their total length has reached a certain level?

I have got used to the apparently random frequency and length of the
digests, but I can quite see that it might annoy some people.

David


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


Re: Combining lyric verses onto one line

2018-11-04 Thread Aaron Hill

On 2018-11-04 2:12 pm, Rohan Srinivasan wrote:

Hi list,

I have the following code for a short song I'm engraving:

[ . . . ]

Since all 3 verses have "That's" at the end of the line, I would like 
to

combine them into one line of lyrics (preferably with a curly bracket
showing the change). I've attached a little picture that shows what I 
want

to do.


This is based on something I have used before:


\version "2.19.82"

lyricBracket = \markup { \hspace #0.75
  \translate #'(0 . 0.75) \right-brace #40 }

lyricsI = \lyricmode {
  \set stanza = "1."
  Sam -- ple words and
  \repeat unfold 2 \skip 1
  One!
}

lyricsII = \lyricmode {
  \set stanza = "2."
  Oth -- er text, then
  \set stanza = \markup \lyricBracket
  shared words.
  Two!
}

lyricsIII = \lyricmode {
  \set stanza = "3."
  Fi -- nal line with
  \repeat unfold 2 \skip 1
  Three!
}

melody = \relative b' {
  \time 3/4
  \repeat volta 3 {
b8 a g4 d | a' g2 | g2.
  }
}

\score {
  <<
\new Voice = "melody" \melody
\new Lyrics \lyricsto "melody" \lyricsI
\new Lyrics \lyricsto "melody" \lyricsII
\new Lyrics \lyricsto "melody" \lyricsIII
  >>
}


Getting the size, offset, and spacing of the brace can take a little 
trial-and-error.


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


Re: emails innummerable

2018-11-04 Thread Jay Hamilton
Merci  

but I just checked (and changed my name and address) and it was set (as
far as I could understand ) to 'digest' or group  

so that is not the answer or at least not to the current problem. 

Jay 

On 2018-11-04 11:52, Jean-Julien Fleck wrote:

> Hello Sam, 
> 
> I think that if you visit the webpage 
> https://lists.gnu.org/mailman/options/lilypond-user you should have the 
> opportunity to log-in and modify your preferences so that you can activate 
> "group mode". 
> 
> Cheers, 
> 
> Le dim. 4 nov. 2018 à 19:47, Sam Frybyte  a écrit : 
> 
>> Hi- this is not quite off-topic.
>> I (and assume we) at one time were able to get a once a day list off
>> all the questions/answers, in one email.
>> That is clearly not the case any longer.
>> But.
>> The current method means that my mailbox receives 10+ emails a day
>> often about the same issue between the same two people.
>> 
>> It seems inefficient and redundant and I wish the manager could
>> provide the daily again.
>> 
>> I've tried writing to that person (who is it now?) and gotten no response.
>> 
>> Does anyone else feel this way?  If not then it's moot but I am
>> beginning to regret being on the list.
>> 
>> -- 
>> Jay Hamilton
>> Sound & Silence
>> www.soundand.com [1]
>> 206-328-7694
>> 
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> -- 
> 
> JJ Fleck
> Physique et Informatique
> PCSI1 Lycée Kléber
 

Links:
--
[1] http://www.soundand.com___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emails innummerable

2018-11-04 Thread David Linn
I actually sent you a message to which I've not seen a reply.

By the time I saw your (first) message and could check your list settings,
your address was set for "digest".  Have you changed that recently (i.e.
since October 29) when you sent your first message (with a different name
"Jay" and email address)?

On Sun, Nov 4, 2018 at 12:52 PM Sam Frybyte  wrote:

> Hi- this is not quite off-topic.
> I (and assume we) at one time were able to get a once a day list off
> all the questions/answers, in one email.
> That is clearly not the case any longer.
> But.
> The current method means that my mailbox receives 10+ emails a day
> often about the same issue between the same two people.
>
> It seems inefficient and redundant and I wish the manager could
> provide the daily again.
>
> I've tried writing to that person (who is it now?) and gotten no response.
>
> Does anyone else feel this way?  If not then it's moot but I am
> beginning to regret being on the list.
>
> --
> Jay Hamilton
> Sound & Silence
> www.soundand.com
>  206-328-7694
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Combining lyric verses onto one line

2018-11-04 Thread Rohan Srinivasan
Hi list,

I have the following code for a short song I'm engraving:

\version "2.19.82"

\header {
  title = "QUITE ENGLISH"
  composer = \markup { { \smallCaps "A.S. Ramsay" } (fl. 1885) }
  poet = \markup { { \smallCaps "W.S. Douglass" } (fl. 1885–1888) }
  tagline = ##f
}


\paper {
  #(set-paper-size "a4")
  top-margin = 10
  bottom-margin = 10
  left-margin = 10
  right-margin = 10
  last-bottom-spacing.minimum-distance = 10

}

\layout {
  \context {
\Voice
\consists "Melody_engraver"
\override Stem #'neutral-direction = #'()
  }
}

\layout {
  \context {
\Staff
\RemoveAllEmptyStaves
  }
}

global = {
  \key f \major
  \numericTimeSignature
  \time 3/4
  \tempo "Moderato."
}

lead = \chordmode {
 \partial 4 s4
 R2.*8
 f2.
 f2.
 g2.:m
 g:m


}

sopranoVoice = \relative c'' {
\global
  \dynamicUp
  \partial 4 r4 | R2.*7 r2 \bar "||" \break
  c4 | d c4. a8 |
  a4 bes a |
  a g fis |
  g2 f?4 | \break

}

verseOne = \lyricmode {
  \set stanza = "1."
  What queer things we see and what queer things we do, That's


}

verseTwo = \lyricmode {
  \set stanza = "2."
  They sent us an act -- or to show us the way, That's

}
verseThree = \lyricmode {
  \set stanza = "3."
  They sent us a box -- er from o -- ver the sea, That's

}


right = \relative c'' {
  \global
  \partial 4 c4 | d c4. a8 |
  a4 bes a |
  a g fis |
  g2 f?4 |
  e8 f g a bes c |
  d2 e4 |
  f2 \ottava #1 4 |
  2 \ottava #0 \bar "||" \break
  \partial 4 r4 | r   |
  r   |
  r   |
  r   | \break

}

left = \relative c' {
  \global
  \partial 4 r4 | f,   |
  f   |
  c,   |
  c,   |
  c,   |
  c,   |
  2 4 |
  2 \bar "||" \break
  r4 |  r r |
   r r |
  bes r r |
  bes r r | \break



}

sopranoVoicePart = \new Staff \with {
  instrumentName = ""
} { \sopranoVoice }
\addlyrics { \verseOne }
\addlyrics { \verseTwo }
\addlyrics { \verseThree }

pianoPart = \new PianoStaff \with {
  instrumentName = "Piano"
} <<
  \new Staff = "right" \right
  \new Staff = "left" { \clef bass \left }
>>

\score {
  <<
\new ChordNames \lead
\sopranoVoicePart
\pianoPart
  >>
  \layout { }
}


Since all 3 verses have "That's" at the end of the line, I would like to
combine them into one line of lyrics (preferably with a curly bracket
showing the change). I've attached a little picture that shows what I want
to do.

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


Re: emails innummerable

2018-11-04 Thread Jean-Julien Fleck
Hello Sam,

I think that if you visit the webpage
https://lists.gnu.org/mailman/options/lilypond-user you should have the
opportunity to log-in and modify your preferences so that you can activate
"group mode".

Cheers,

Le dim. 4 nov. 2018 à 19:47, Sam Frybyte  a écrit :

> Hi- this is not quite off-topic.
> I (and assume we) at one time were able to get a once a day list off
> all the questions/answers, in one email.
> That is clearly not the case any longer.
> But.
> The current method means that my mailbox receives 10+ emails a day
> often about the same issue between the same two people.
>
> It seems inefficient and redundant and I wish the manager could
> provide the daily again.
>
> I've tried writing to that person (who is it now?) and gotten no response.
>
> Does anyone else feel this way?  If not then it's moot but I am
> beginning to regret being on the list.
>
> --
> Jay Hamilton
> Sound & Silence
> www.soundand.com
>  206-328-7694
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
JJ Fleck
Physique et Informatique
PCSI1 Lycée Kléber
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


emails innummerable

2018-11-04 Thread Sam Frybyte
Hi- this is not quite off-topic.
I (and assume we) at one time were able to get a once a day list off
all the questions/answers, in one email.
That is clearly not the case any longer.
But.
The current method means that my mailbox receives 10+ emails a day
often about the same issue between the same two people.

It seems inefficient and redundant and I wish the manager could
provide the daily again.

I've tried writing to that person (who is it now?) and gotten no response.

Does anyone else feel this way?  If not then it's moot but I am
beginning to regret being on the list.

-- 
Jay Hamilton
Sound & Silence
www.soundand.com
 206-328-7694

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


Re: Modified slur stencil with added markup

2018-11-04 Thread Pablo Cordal
Thank you very very very much Harm. Now it works perfectly, it is just what
I needed!.

Best regards

El dom., 4 nov. 2018 a las 17:20, Thomas Morley ()
escribió:

> Am So., 4. Nov. 2018 um 16:38 Uhr schrieb pablocordal <
> pablocor...@gmail.com>:
> >
> > Hi Urs and Torsten,
> >
> > This snippet is exactly what I need. I'm trying to test it, but when I
> copy
> > your code in Frescobaldi (which uses Lilypond underneath) and try to
> compile
> > it I receive this error:
> >
> >  error: syntax error, unexpected LYRIC_ELEMENT
> >   \markup  "hin."
> >
> > I don't know much about Lilypond code, so please can you please help me
> just
> > to make it work?
> >
> > Thank you. Best regards
>
> You likely use 2.18.2
> With this version the possibility to use optional arguments is limited
> and does not work for the current coding.
>
> Please consider to upgrade to 2.19.82.
>
> If you want to stay with 2.18 some adjustments in the function are
> needed, also, the function must be called with _two_ arguments: the
> padding-value and the markup-text.
>
> \version "2.18.2"
>
> annotatedSlur =
> #(define-music-function (parser location padding text) (number? markup?)
>#{
>  \once \override Slur.after-line-breaking =
>  #(lambda (grob)
> (let*
>  ((stencil (ly:slur::print grob))
>   (dir (ly:grob-property grob 'direction))
>   (markup-stencil (grob-interpret-markup grob text))
>   (shift (- (interval-center (ly:stencil-extent stencil X))
>(interval-center (ly:stencil-extent markup-stencil X
>   (new-stencil
>(ly:stencil-combine-at-edge
> stencil
> Y dir
> (ly:stencil-translate-axis markup-stencil shift X)
> padding)))
>  (ly:grob-set-property! grob 'stencil new-stencil)))
>#})
>
> {
>   \annotatedSlur
>   %\markup \score { c''' }
>   #1
>   \markup  "hin."
>   c''4( g' g' c'' )
> }
>
> HTH,
>   Harm
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Modified slur stencil with added markup

2018-11-04 Thread Thomas Morley
Am So., 4. Nov. 2018 um 16:38 Uhr schrieb pablocordal :
>
> Hi Urs and Torsten,
>
> This snippet is exactly what I need. I'm trying to test it, but when I copy
> your code in Frescobaldi (which uses Lilypond underneath) and try to compile
> it I receive this error:
>
>  error: syntax error, unexpected LYRIC_ELEMENT
>   \markup  "hin."
>
> I don't know much about Lilypond code, so please can you please help me just
> to make it work?
>
> Thank you. Best regards

You likely use 2.18.2
With this version the possibility to use optional arguments is limited
and does not work for the current coding.

Please consider to upgrade to 2.19.82.

If you want to stay with 2.18 some adjustments in the function are
needed, also, the function must be called with _two_ arguments: the
padding-value and the markup-text.

\version "2.18.2"

annotatedSlur =
#(define-music-function (parser location padding text) (number? markup?)
   #{
 \once \override Slur.after-line-breaking =
 #(lambda (grob)
(let*
 ((stencil (ly:slur::print grob))
  (dir (ly:grob-property grob 'direction))
  (markup-stencil (grob-interpret-markup grob text))
  (shift (- (interval-center (ly:stencil-extent stencil X))
   (interval-center (ly:stencil-extent markup-stencil X
  (new-stencil
   (ly:stencil-combine-at-edge
stencil
Y dir
(ly:stencil-translate-axis markup-stencil shift X)
padding)))
 (ly:grob-set-property! grob 'stencil new-stencil)))
   #})

{
  \annotatedSlur
  %\markup \score { c''' }
  #1
  \markup  "hin."
  c''4( g' g' c'' )
}

HTH,
  Harm

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


Re: Modified slur stencil with added markup

2018-11-04 Thread pablocordal
Hi Urs and Torsten,

This snippet is exactly what I need. I'm trying to test it, but when I copy
your code in Frescobaldi (which uses Lilypond underneath) and try to compile
it I receive this error:

 error: syntax error, unexpected LYRIC_ELEMENT
  \markup  "hin." 
   
I don't know much about Lilypond code, so please can you please help me just
to make it work?

Thank you. Best regards





--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Lutoslawski-style box notation

2018-11-04 Thread Andrew Bernard
Hello Gents,

It's GPL 3. Where is the problem?

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


Re: Lutoslawski-style box notation

2018-11-04 Thread David Nalesnik
On Sun, Nov 4, 2018 at 6:09 AM Thomas Morley  wrote:
>
> Am So., 4. Nov. 2018 um 01:30 Uhr schrieb David Nalesnik
> :
> >
> > On Sat, Nov 3, 2018 at 7:24 PM David Nalesnik  
> > wrote:
> > >
> > > On Sat, Nov 3, 2018 at 7:23 PM Andrew Bernard  
> > > wrote:
> > > >
> > > > Hi David,
> > > >
> > > > Isn't Lilypond open source? Cant you make your code open source? I am 
> > > > not following your idea.
> > > >
> > > > Andrew
> > > >
> > > >
> > > >> >
> > > >> And, no :(  I removed it from GitHub, because I simply do not
> > > >> understand how I would license such a thing, give proper
> > > >> acknowledgement to LilyPond.  It quotes code from LilyPond internals,
> > > >> and before I put something up on GitHub I would need to make sure I'm
> > > >> not violating the terms of LilyPond's license.
> > > >>
> >
> > Oops, sorry about the empty response.
> >
> > Sure, yes, I just want to make sure that I release it under the right
> > license (I suppose it must be GPLed) and include whatever I must
> > relative to LilyPond coverage by the GPL .  I just jumped the gun,
> > that's all.
> >
> > David
>
> Hi David,
>
> is it really an issue I have to think about licenses as soon as I use
> some lily-internals?
> For example, whenever I propose a callback with some condition using
> 'ly:grob-set-property!' and the like...
>
> In a worst scenario that would drop any user support other than:
> "RTFM" (or more polite: it's in the docs, look "here".)
> Or
> "It's not in the docs, please file a bug report."
> Or
> "You could do like below [...]. Please accept my licence: "
>
> Really?
>

Hi Harm,


But I think we're talking about different things.  You're talking
about communications on an official channel connected with the
project.  I'm talking about posting code which modifies LilyPond on a
third-party forum -- GitHub.


Best,
David

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


Adding text to slurs

2018-11-04 Thread Pablo Cordal
Hi to everyone from Spain,

I have got a special need with lilypond. I need to add text to slurs for
educational purposes, I'm a music teacher and I'd like to add information
to musical phrases. The code:

\version "2.18.2"
#(ly:set-option 'midi-extension "midi")
\header {}

\score {
<<
\new Staff = "melody" {
\clef "treble"
\set Staff.midiInstrument = #"acoustic grand"
\new Voice {
\override Score.BarNumber.break-visibility = #'#(#f #t #t)
\override Score.BarNumber.font-size = #-4
\slurDown
\time 4/4

\set Score.currentBarNumber = #0
r2.^\markup { \column { \bold "The Beatles - Till there was you
(1950)" "A(16)"  }  } e'4(
\bar "|."  g'4)  r2  e'4(  g'4)  r2  e'4(  g'4  f'4)  r4 c''4(
g'4  f'4)  r4  c'4(  f'4  e'4   b'2  a'2)  r2   c'2(  g'2)  r2.  e'4(
\bar "||" \break
g'4) r2  e'4(  g'4)  r2  e'4(  g'4  f'4)  r4  c''4(  g'4  f'4)
r4  c'4(  f'4  e'4   b'2  a'2)  r2  c'2(  c'2)  r1  \bar "|."  \break
\set Score.currentBarNumber = #0
r2  c'2(^\markup { "B(8)" }  \bar "|."  d''2   c''2)  r2
d''2(   a'2  g'2  a'2  b'2)  a'1(  e'2  c'2  d'1)  dis'1  \bar "|."  \break
}
}
>>
\layout { indent = #0  }
}

\markup {
  \column {
\line { \hspace #1.0 }

  }
}

I've checking the online manual and no info about this. Anybody can help
with this?

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


Fwd: Adding text to slurs

2018-11-04 Thread Pablo Cordal
Hi to everyone from Spain,

I have got a special need with lilypond. I need to add text to slurs for
educational purposes, I'm a music teacher and I'd like to add information
to musical phrases. The code:

\version "2.18.2"
#(ly:set-option 'midi-extension "midi")
\header {}

\score {
<<
\new Staff = "melody" {
\clef "treble"
\set Staff.midiInstrument = #"acoustic grand"
\new Voice {
\override Score.BarNumber.break-visibility = #'#(#f #t #t)
\override Score.BarNumber.font-size = #-4
\slurDown
\time 4/4

\set Score.currentBarNumber = #0
r2.^\markup { \column { \bold "The Beatles - Till there was you
(1950)" "A(16)"  }  } e'4(
\bar "|."  g'4)  r2  e'4(  g'4)  r2  e'4(  g'4  f'4)  r4 c''4(
g'4  f'4)  r4  c'4(  f'4  e'4   b'2  a'2)  r2   c'2(  g'2)  r2.  e'4(
\bar "||" \break
g'4) r2  e'4(  g'4)  r2  e'4(  g'4  f'4)  r4  c''4(  g'4  f'4)
r4  c'4(  f'4  e'4   b'2  a'2)  r2  c'2(  c'2)  r1  \bar "|."  \break
\set Score.currentBarNumber = #0
r2  c'2(^\markup { "B(8)" }  \bar "|."  d''2   c''2)  r2
d''2(   a'2  g'2  a'2  b'2)  a'1(  e'2  c'2  d'1)  dis'1  \bar "|."  \break
}
}
>>
\layout { indent = #0  }
}

\markup {
  \column {
\line { \hspace #1.0 }

  }
}

I've checking the online manual and no info about this. Anybody can help
with this?

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


Re: Lutoslawski-style box notation

2018-11-04 Thread Thomas Morley
Am So., 4. Nov. 2018 um 01:30 Uhr schrieb David Nalesnik
:
>
> On Sat, Nov 3, 2018 at 7:24 PM David Nalesnik  
> wrote:
> >
> > On Sat, Nov 3, 2018 at 7:23 PM Andrew Bernard  
> > wrote:
> > >
> > > Hi David,
> > >
> > > Isn't Lilypond open source? Cant you make your code open source? I am not 
> > > following your idea.
> > >
> > > Andrew
> > >
> > >
> > >> >
> > >> And, no :(  I removed it from GitHub, because I simply do not
> > >> understand how I would license such a thing, give proper
> > >> acknowledgement to LilyPond.  It quotes code from LilyPond internals,
> > >> and before I put something up on GitHub I would need to make sure I'm
> > >> not violating the terms of LilyPond's license.
> > >>
>
> Oops, sorry about the empty response.
>
> Sure, yes, I just want to make sure that I release it under the right
> license (I suppose it must be GPLed) and include whatever I must
> relative to LilyPond coverage by the GPL .  I just jumped the gun,
> that's all.
>
> David

Hi David,

is it really an issue I have to think about licenses as soon as I use
some lily-internals?
For example, whenever I propose a callback with some condition using
'ly:grob-set-property!' and the like...

In a worst scenario that would drop any user support other than:
"RTFM" (or more polite: it's in the docs, look "here".)
Or
"It's not in the docs, please file a bug report."
Or
"You could do like below [...]. Please accept my licence: "

Really?


Best,
  Harm

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


Re: Temporary pedal bar

2018-11-04 Thread Lukas-Fabian Moser

Hi Gert,

Am 03.11.18 um 14:18 schrieb Torsten Hämmerle:

Gert Koetsier wrote

How can I add a temporary pedal bar

Hi Gert,

I suppose you're talking about a temporary stave.
The following snippet should solve your problem:
Adding an extra staff


You can create additional staves anywhere by just adding a \new Staff in a
(temporary) parallel context (i.e. in << >>).


In addition, if you do not mind having the extra staff always for a 
whole system (which probably doesn't make much of a difference 
space-wise), it's probably even easier to just add an extra staff from 
the beginning and use \Remove[All]EmptyStaves:


\version "2.19.80"

<<
  \new PianoStaff \with { instrumentName = "Manual" } <<
    \new Staff { \repeat unfold 180 c''4 }
    \new Staff { \clef bass \repeat unfold 180 c4 }
  >>
  \new Staff \with {
    instrumentName = "Pedal"
    shortInstrumentName = "Ped."
    \RemoveAllEmptyStaves
    % alternatively, if you want to indicate right from the start the a 
pedal staff is coming up somewhere:

    % \RemoveEmptyStaves
  } {
    \clef bass
    R1*25
    \repeat unfold 12 c4
    R1*10
  }
>>

Best
Lukas


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


Re: Score and parts with global variable

2018-11-04 Thread Torsten Hämmerle
Andrew Bernard wrote
> I am unable to understand why the \global information does not print four
> times. How does this work? The template by the way does not give example
> code for the \global variable.

Hi Andrew,

Whether the \global information is printed four times or not solely depends
on the actual contents of the \global variable. Being used to
single-instrument music, you might not be fully aware of the difference
between \Score and \Staff level (if you only have one \Staff, you won't
notice a difference).

TimeSignature, MetronomeMark, RehearsalMark, etc., are defined on \Score
level and that's the reason why they are not being printed four times: they
just go on top of the score.
Nevertheless they should be included in all the staves because they are
needed in the individual parts and it is easy to find errors (if these
events do not happen simultaneously, you will be able to immediately
recognize it in the score).

If, however, the \global variable contains TextScripts, just to name an
example, these TextScripts will actually be printed four times, because
TextScript is defined on \Staff level.


BTW: I usually specify instrumentName/shortInstrumentName in the \score
block. They often need some markup tweaking, the appropriate indent value of
the score plays a role, I don't have to hassle with too many \tags and,
finally, they are not needed at all in the parts.
In the parts, the instrument will go into the instrument header property
instead.
But, as always, there are many ways to go...

HTH,
Torsten





--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Score and parts with global variable

2018-11-04 Thread Mark Knoop
At 21:37 on 04 Nov 2018, Andrew Bernard wrote:
>After a long time using lilypond, for solo instrumental music
>exclusively, now setting a string quartet for the first time and
>needing score and parts. I confess that I am confused about using a
>global variable for tempo indications and so on and so forth. Two
>newbie questions.
>
>1.
>
>In the NR template for a SQ with part this is given:
>
>music = {
>  <<
>\tag #'score \tag #'vn1
>\new Staff \with { instrumentName = "Violin 1" }
><< \global \Violinone >>
>
>\tag #'score \tag #'vn2
>\new Staff \with { instrumentName = "Violin 2" }
><< \global \Violintwo>>
>
>\tag #'score \tag #'vla
>\new Staff \with { instrumentName = "Viola" }
><< \global \Viola>>
>
>\tag #'score \tag #'vlc
>\new Staff \with { instrumentName = "Cello" }
><< \global \Cello >>
>  >>  
>}
>
>I am unable to understand why the \global information does not print
>four times. How does this work? The template by the way does not give
>example code for the \global variable.

Yes, it does somewhat depend on what you put in global. I do something like 
this:

global = {
  \time 4/4
  \tempo 4=72
  s1*4
  \bar "||"
  \time 3/4
  \tempo 4=96
  s1*3/4*12
  \bar "|."
}

% define violinone. violintwo, viola, cello

\book {
  \bookOutputName "score"
  \score {
\new Score {
  <<
\new Dynamics \global
\new Staff \violinone
\new Staff \violintwo
\new Staff \viola
\new Staff \cello
  >>
}
  }
}

\book {
  \bookOutputName "violinone"
  \score {
\new Score {
  <<
\new Dynamics \global
\new Staff \violinone
  >>
}
  }
}

-- 
Mark Knoop

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


Re: Lutoslawski-style box notation

2018-11-04 Thread Mark Knoop
At 19:28 on 03 Nov 2018, David Nalesnik wrote:
>Oops, sorry about the empty response.
>
>Sure, yes, I just want to make sure that I release it under the right
>license (I suppose it must be GPLed) and include whatever I must
>relative to LilyPond coverage by the GPL .  I just jumped the gun,
>that's all.

Thanks David, Harm, and Ben for reminding me of the frameEngraver - this is 
exactly what I need. And yes, David, it would be great to have all your code 
available somewhere, I hope you can work out the best way to do this.

Cheers,

Mark


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


Re: Score and parts with global variable

2018-11-04 Thread Andrew Bernard
Pardon me. Ignore question 2. I had failed to write the correct code as per
the template example. Apologies for that particular noise.

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


Score and parts with global variable

2018-11-04 Thread Andrew Bernard
After a long time using lilypond, for solo instrumental music exclusively,
now setting a string quartet for the first time and needing score and
parts. I confess that I am confused about using a global variable for tempo
indications and so on and so forth. Two newbie questions.

1.

In the NR template for a SQ with part this is given:

music = {
  <<
\tag #'score \tag #'vn1
\new Staff \with { instrumentName = "Violin 1" }
<< \global \Violinone >>

\tag #'score \tag #'vn2
\new Staff \with { instrumentName = "Violin 2" }
<< \global \Violintwo>>

\tag #'score \tag #'vla
\new Staff \with { instrumentName = "Viola" }
<< \global \Viola>>

\tag #'score \tag #'vlc
\new Staff \with { instrumentName = "Cello" }
<< \global \Cello >>
  >>
}

I am unable to understand why the \global information does not print four
times. How does this work? The template by the way does not give example
code for the \global variable.

2.

I want to have parts that also contain all the tempo indications and markup
in the  \global variable. It's beyond me how to make this happen. When I
add \global to the parts I get an extra unwanted staff.

I have not provided an MWE because all my code is simply rubbish at this
stage and I don't want to waste people's time looking at it. I just need
some conceptual guidance I think. I searched the user archives to the best
of my ability and there are threads that partially touch on this but I am
none the wiser.

For now I want to stick with the tag approach rather than the edition
engraver, unless what I want can't be done that way.

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