Re: Increasing spacing between staves

2017-11-11 Thread Ben

On 11/11/2017 8:36 AM, David Sumbler wrote:

On Fri, 2017-11-10 at 13:05 -0500, Ben wrote:

On 11/10/2017 12:49 PM, David Sumbler wrote:

Is there some way of increasing or specifying the space between the
2
staves of a piano staff at a particular point in a score?

The piece I am setting has a lot of cross-staff beams, and
sometimes
Lilypond does not allow enough space between the staves for a
decent-
looking beam.  In those cases I would like to force a greater space
between the 2 staves just for that particular printed line of
music.

I do not wish to alter the minimum staff spacing globally.  But the
particular points where extra spacing is needed may not occur at
the
beginning of a line, and of course the spacing of the whole line
must
be changed.

Can this be done?

David


  
If you don't want to set it up globally with \new Staff, you can

still of course use the same override as needed throughout the piece,
etc.
The padding is the main value you can change...
(see attached)

\version "2.19.80"
% -this was just an example from the documentation


\new PianoStaff \with {
     \override StaffGrouper.staff-staff-spacing = #'(
     (basic-distance . 0)
     (padding . 8))
   }
   <<
     \new Staff {
   g''2 c'' c'' a''
     }
     \new Staff {
   \clef bass e2 f c e
     }
   >>

Thanks for this suggestion.  I am currently using Lilypond v. 2.19.48

Unfortunately, after trying this out, I find that changing the
StaffGrouper parameter values after the PianoStaff has been created
doesn't work.  I came across a similar problem once with, I think,
changing a Staff parameter.  The values seem to be built into to the
context on creation, and can't be altered later.

I'll probably have to add an invisible dynamic or something like that
to force the staves apart on the relevant lines of music.

David




Oh, sorry now I see what you mean. H, yeaI bet you could do that 
though good idea...
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: percussion (drum set) help

2017-11-11 Thread Noeck
Hi,

you could also override or tweak the staff-position of the rest. It
seems more inline with what the intention is, but it warns you about the
stems (don't know how to fix that):

\score{
  \new DrumStaff
  \drummode{
\clef percussion << { cymr4 4 4 4 } \\ {
  \once \override Rest.staff-position = 1
  r8 sn8 4 4 4 } { hhp4 4 4 4 } >>
  }
}

or:

\score{
  \new DrumStaff
  \drummode{
\clef percussion << { cymr4 4 4 4 } \\ {
  \tweak #'staff-position #1
  r8 sn8 4 4 4 } { hhp4 4 4 4 } >>
  }
}


Cheers,
Joram

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


Re: (OT) New User introduction

2017-11-11 Thread J Martin Rushton
(OT) Back in the '60s I had a blind piano teacher.  She was a regular
attender at the Methodist Church.  The Methodist Hymn Book of that
period had just under 1,000 hymns, some with alternate tunes.  Neatly
stacked in one of the pews were a pile of large format books (from
memory about A3 size).  The pile must have been at least 2' high.  They
were the complete hymn book with tunes in braille.

On 11/11/17 16:07, Karlin High wrote:
> On 11/10/2017 4:05 PM, Daniel Chavez wrote:
>> I am a totally blind musician and have been playing piano since I was
>> 3-years-old. I came across LilyPond in my efforts to find a free-ware
>> software that I can write out my music for sheep music purposes
> 
> We have an extended-family member who is blind from an early age due to
> an inherited retina disorder. I've seen some of what she can do with
> braille embossers, braille terminals and such, and I can see LilyPond's
> text-based input design being an advantage for use with those tools.
> 
> Now, I am curious about the sheet music format you use for working with
> LilyPond's OUTPUT. Is it something based on printed pages, as LilyPond
> is most commonly used? Or something texture-based like Music Braille?
> 
> I didn't know Music Braille existed until just now...
> http://braillebug.afb.org/music_braille.asp
> ...but apparently it originated in 1837 with Monsieur Louis himself.



signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Newbie having trouble with transposition(s)

2017-11-11 Thread Patrick Smith
Hey list ... I wanted to thank all of you who responded. Your comments were
very helpful and I've now incorporated all of them. I've completed my first
transcription:  J.S. Bach's Art of the Fugue, Contrapunctus I from string
quartet into brass quartet.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Scheme Help

2017-11-11 Thread Benjamin Bloomfield
I am trying to write a scheme to achieve the functionality I was asking
about in my earlier message
.
I think that I could do it with a simple callback function on the
NoteHead.transparent property and make the notehead transparent if it is a
breve that is preceded by another breve and not the first note in its
system.

It's easy enough to determine whether the NoteHead is a breve in scheme,
but how do I determine whether it's the first of its system, and how do I
reference the NoteHead that comes immediately before it (if any) to
determine whether that is also a breve?

Thanks!

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


Re: New User introduction

2017-11-11 Thread Karlin High

On 11/10/2017 4:05 PM, Daniel Chavez wrote:

I am a totally blind musician and have been playing piano since I was 
3-years-old. I came across LilyPond in my efforts to find a free-ware software 
that I can write out my music for sheep music purposes


We have an extended-family member who is blind from an early age due to 
an inherited retina disorder. I've seen some of what she can do with 
braille embossers, braille terminals and such, and I can see LilyPond's 
text-based input design being an advantage for use with those tools.


Now, I am curious about the sheet music format you use for working with 
LilyPond's OUTPUT. Is it something based on printed pages, as LilyPond 
is most commonly used? Or something texture-based like Music Braille?


I didn't know Music Braille existed until just now...
http://braillebug.afb.org/music_braille.asp
...but apparently it originated in 1837 with Monsieur Louis himself.
--
Karlin High
Missouri, USA

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


Re: Increasing spacing between staves

2017-11-11 Thread David Sumbler
On Fri, 2017-11-10 at 13:05 -0500, Ben wrote:
> On 11/10/2017 12:49 PM, David Sumbler wrote:
> > Is there some way of increasing or specifying the space between the
> > 2
> > staves of a piano staff at a particular point in a score?
> > 
> > The piece I am setting has a lot of cross-staff beams, and
> > sometimes
> > Lilypond does not allow enough space between the staves for a
> > decent-
> > looking beam.  In those cases I would like to force a greater space
> > between the 2 staves just for that particular printed line of
> > music.
> > 
> > I do not wish to alter the minimum staff spacing globally.  But the
> > particular points where extra spacing is needed may not occur at
> > the
> > beginning of a line, and of course the spacing of the whole line
> > must
> > be changed.
> > 
> > Can this be done?
> > 
> > David
> > 
> > 
>  
> If you don't want to set it up globally with \new Staff, you can
> still of course use the same override as needed throughout the piece,
> etc.
> The padding is the main value you can change...
> (see attached)
> 
> \version "2.19.80"
> % -this was just an example from the documentation
> 
> 
> \new PianoStaff \with {
>     \override StaffGrouper.staff-staff-spacing = #'(
>     (basic-distance . 0)
>     (padding . 8))
>   }
>   <<
>     \new Staff {
>   g''2 c'' c'' a''
>     }
>     \new Staff {
>   \clef bass e2 f c e
>     }
>   >>

Thanks for this suggestion.  I am currently using Lilypond v. 2.19.48

Unfortunately, after trying this out, I find that changing the
StaffGrouper parameter values after the PianoStaff has been created
doesn't work.  I came across a similar problem once with, I think,
changing a Staff parameter.  The values seem to be built into to the
context on creation, and can't be altered later.

I'll probably have to add an invisible dynamic or something like that
to force the staves apart on the relevant lines of music.

David




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


Re: Newbie having trouble with transposition(s)

2017-11-11 Thread David Kastrup
bb  writes:

> Beside that monster "minimal"  example it becomes clear that with
> % Global definitions
> global = {
>   \time 2/2
>   \key d \minor
>   s1*78
>   \bar "|."
> }
> the key is set global. Global is global, so you get the key of d-minor
> for the whole code. (It is a guess, I cannot check it with that code
> fragment.)

\transpose bes c' \global

would also transpose the key.

-- 
David Kastrup

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


Re: Newbie having trouble with transposition(s)

2017-11-11 Thread bb
Beside that monster "minimal"  example it becomes clear that with
% Global definitions
global = {
  \time 2/2
  \key d \minor
  s1*78
  \bar "|."
}
the key is set global. Global is global, so you get the key of d-minor
for the whole code. (It is a guess, I cannot check it with that code
fragment.)

Regards

Am 11.11.2017 um 02:51 schrieb Patrick Smith:
> Another first-time LilyPond poster/user here! 
>
> I've been using LilyPond for about a week now and I'm really loving it
> already.
>
> I'm a brass player who is using LilyPond to create beautiful
> engravings for brass ensembles. I'm also an engineer who wishes he was
> better at programming and LilyPond.
>
> Anyway, I'm starting by transcribing/arranging string quartets for the
> standard brass quartet (2 trumpets in B flat, 1 horn in F and 1
> trombone in C). The string parts are all non-transposing instruments.
>
> Because I plan to do a lot of these, I'd like to get my templates
> *perfect* before moving past the first one. So far, I've managed to
> create a *single* input files that does everything (produces all the
> PDFs ... score and parts). 
>
> I've got most of the basics working however I'm having trouble with
> the transpositions. They aren't working as I expected. I thought the
> transposition function would take care of putting the parts into the
> right key. But, all of the parts have a key signature of d minor (one
> flat) (no key signature transposition is happening).
>
> Please help me if you can. 
>
> Thanks in advance,
> Patrick
>
> Here is my minimalist Tiny code.
>
> \version "2.18.2"
> \header { ... }
>
> % Global definitions
> global = {
>   \time 2/2
>   \key d \minor
>   s1*78
>   \bar "|."
> }
>
> %*
> TrumpetOne = \new Voice {
>   \set Staff.instrumentName = #"Trumpet I in Bb"
>   \clef treble
>   \transpose bes c' {
>     \relative c'' {
> ...
>     }
>   }
> }
>
> %*
> TrumpetTwo = \new Voice {
>   \set Staff.instrumentName = #"Trumpet II in Bb"
>   \clef treble
>   \transpose bes c' {
>     \relative c' {
> ...
>     }
>   }
> }
>
> %*
> Horn = \new Voice {
>   \set Staff.instrumentName = #"Horn in F"
>   \clef treble
>   \transpose f c' {
>     \relative c' {
> ...
>     }
>   }
> }
>
> %*
> Trombone = \new Voice {
>   \set Staff.instrumentName = #"Trombone"
>   \clef bass
>     \relative c {
> ...
>     }
>   }
> }
>
> %**
> music = {
>   <<
>     \tag #'score \tag #'trpI  \new Staff { << \global \TrumpetOne >> }
>     \tag #'score \tag #'trpII \new Staff { << \global \TrumpetTwo>> }
>     \tag #'score \tag #'horn  \new Staff { << \global \Horn>> }
>     \tag #'score \tag #'trbn  \new Staff { << \global \Trombone>> }
>   >>
> }
>
> %**
> % Print the score and create a midi file
> \book {
>   \bookOutputSuffix "Score"
>   #(set-global-staff-size 14)
>   \score {
>     \header { piece = "Score" }
> \bookOutputSuffix "Score"
>     \new StaffGroup \keepWithTag #'score \music
>     \layout { }
>     \midi { }
>   }
> }
>
> %*
> % Print the TrumpetOne part
> \book {
>   \bookOutputSuffix "TrumpetOne"
>   \score {
>     \header { piece = "Trumpet I" }
>     \keepWithTag #'trpI \music
>     \layout { }
>   }
> }
>
> etc.
>
>
>
>
>
>
>
>
>
>
>
> ___
> 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: Newbie having trouble with transposition(s)

2017-11-11 Thread bb
http://lilypond.org/tiny-examples.html

Regards

Am 11.11.2017 um 02:51 schrieb Patrick Smith:
> Another first-time LilyPond poster/user here! 
>
> I've been using LilyPond for about a week now and I'm really loving it
> already.
>
> I'm a brass player who is using LilyPond to create beautiful
> engravings for brass ensembles. I'm also an engineer who wishes he was
> better at programming and LilyPond.
>
> Anyway, I'm starting by transcribing/arranging string quartets for the
> standard brass quartet (2 trumpets in B flat, 1 horn in F and 1
> trombone in C). The string parts are all non-transposing instruments.
>
> Because I plan to do a lot of these, I'd like to get my templates
> *perfect* before moving past the first one. So far, I've managed to
> create a *single* input files that does everything (produces all the
> PDFs ... score and parts). 
>
> I've got most of the basics working however I'm having trouble with
> the transpositions. They aren't working as I expected. I thought the
> transposition function would take care of putting the parts into the
> right key. But, all of the parts have a key signature of d minor (one
> flat) (no key signature transposition is happening).
>
> Please help me if you can. 
>
> Thanks in advance,
> Patrick
>
> Here is my minimalist Tiny code.
>
> \version "2.18.2"
> \header { ... }
>
> % Global definitions
> global = {
>   \time 2/2
>   \key d \minor
>   s1*78
>   \bar "|."
> }
>
> %*
> TrumpetOne = \new Voice {
>   \set Staff.instrumentName = #"Trumpet I in Bb"
>   \clef treble
>   \transpose bes c' {
>     \relative c'' {
> ...
>     }
>   }
> }
>
> %*
> TrumpetTwo = \new Voice {
>   \set Staff.instrumentName = #"Trumpet II in Bb"
>   \clef treble
>   \transpose bes c' {
>     \relative c' {
> ...
>     }
>   }
> }
>
> %*
> Horn = \new Voice {
>   \set Staff.instrumentName = #"Horn in F"
>   \clef treble
>   \transpose f c' {
>     \relative c' {
> ...
>     }
>   }
> }
>
> %*
> Trombone = \new Voice {
>   \set Staff.instrumentName = #"Trombone"
>   \clef bass
>     \relative c {
> ...
>     }
>   }
> }
>
> %**
> music = {
>   <<
>     \tag #'score \tag #'trpI  \new Staff { << \global \TrumpetOne >> }
>     \tag #'score \tag #'trpII \new Staff { << \global \TrumpetTwo>> }
>     \tag #'score \tag #'horn  \new Staff { << \global \Horn>> }
>     \tag #'score \tag #'trbn  \new Staff { << \global \Trombone>> }
>   >>
> }
>
> %**
> % Print the score and create a midi file
> \book {
>   \bookOutputSuffix "Score"
>   #(set-global-staff-size 14)
>   \score {
>     \header { piece = "Score" }
> \bookOutputSuffix "Score"
>     \new StaffGroup \keepWithTag #'score \music
>     \layout { }
>     \midi { }
>   }
> }
>
> %*
> % Print the TrumpetOne part
> \book {
>   \bookOutputSuffix "TrumpetOne"
>   \score {
>     \header { piece = "Trumpet I" }
>     \keepWithTag #'trpI \music
>     \layout { }
>   }
> }
>
> etc.
>
>
>
>
>
>
>
>
>
>
>
> ___
> 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


stanza alignment

2017-11-11 Thread Malte Meyn

Hi list,

when I have multiple verses the stanza numbers are aligned. This works 
also I put some verses above the a staff and some below. But it doesn’t 
work anymore if I then add another staff. Any ideas how to solve this 
problem? Is this a bug?


Cheers,
Malte

%

\version "2.19.80"

<<
  % uncommenting the following line will break (?) the stanza alignment
  %\new Staff { b b b b }
  \lyrics {
\set stanza = "3." a a a a
  }
  \new Staff { b b b b }
  \lyrics {
\set stanza = "1." aa a a a
  }
  \lyrics {
\set stanza = "2." a a a a
  }
>>

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


\startGroup and \=

2017-11-11 Thread Malte Meyn

Hi list,

it seems like \= doesn’t work for \startGroup and \stopGroup as it does 
for slurs and phrasing slurs. Any ideas how to achieve the same effect 
for analysis brackets?


Cheers,
Malte

%%

\version "2.19.80"

% this is nice
\relative {
  \cadenzaOn
  g\=1(
  a b c\=2(
  d e\=1)
  f g a\=2)
}

% this *would be* nice
\new Voice \with {
  \consists Horizontal_bracket_engraver
} \relative {
  \cadenzaOn
  g\=1\startGroup
  a b c\=2\startGroup
  d e\=1\stopGroup
  f g a\=2\stopGroup
}

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


Re: Newbie having trouble with transposition(s)

2017-11-11 Thread David Kastrup
Patrick Smith  writes:

> Another first-time LilyPond poster/user here!
>
> I've been using LilyPond for about a week now and I'm really loving it
> already.
>
> I'm a brass player who is using LilyPond to create beautiful engravings for
> brass ensembles. I'm also an engineer who wishes he was better at
> programming and LilyPond.
>
> Anyway, I'm starting by transcribing/arranging string quartets for the
> standard brass quartet (2 trumpets in B flat, 1 horn in F and 1 trombone in
> C). The string parts are all non-transposing instruments.
>
> Because I plan to do a lot of these, I'd like to get my templates *perfect*
> before moving past the first one. So far, I've managed to create a *single*
> input files that does everything (produces all the PDFs ... score and
> parts).
>
> I've got most of the basics working however I'm having trouble with the
> transpositions. They aren't working as I expected. I thought the
> transposition function would take care of putting the parts into the right
> key. But, all of the parts have a key signature of d minor (one flat) (no
> key signature transposition is happening).
>
> Please help me if you can.
>
> Thanks in advance,
> Patrick
>
> Here is my minimalist Tiny code.

It isn't.  It does not compile since there is ... everywhere which is
not a LilyPond construct.

-- 
David Kastrup

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


Re: Newbie having trouble with transposition(s)

2017-11-11 Thread Lukas-Fabian Moser
Welcome! :-)

I've got most of the basics working however I'm having trouble with the
> transpositions. They aren't working as I expected. I thought the
> transposition function would take care of putting the parts into the right
> key. But, all of the parts have a key signature of d minor (one flat) (no
> key signature transposition is happening)
>

This is because you transpose only the notes, not the key signature which
is defined in an area (\global) not seen by your \transpose command.
Anyway, I'd personally prefer to have the music in the \TrumpetOne etc.
variables in concert pitch and only transpose them for printing; and this
solves your problem automatically.

So, leave the TrumpetOne in concert pitch (and it's not necessarily to
create a voice in the music variable):

TrumpetOne = {
  \set Staff.instrumentName = #"Trumpet I in Bb" % I prefer not to have
this inside the music variable - for instance, in the printed parts I do
not want the instrument name to be printed in the staff (but in the header)
  \clef treble
\relative c'' {
...
}
  }
}

And then \transpose at the point where the actual score is defined:

%**
> music = {
>   <<
> \tag #'score \tag #'trpI  \new Staff \transpose bes c' << \global
> \TrumpetOne >>
>
.
>
  >>
> }
>

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


Re: mix dynamic within markup on single note

2017-11-11 Thread Malte Meyn



Am 11.11.2017 um 07:20 schrieb Ryan Michael:
I am trying to place "submit" markings after dynamics, but I would like 
the dynamics to be the actual default dynamic font as opposed to bold text.


Just replace \bold by \dynamic ;)


%%
\version "2.18.2"

{
\time 4/4
d'4\pp fis' fis'\fermata bes'-\markup{\dynamic "ff" \italic "sub."}

}
%

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