Re: reciting text over line breaks

2017-11-10 Thread Michael Gerdau
Hi Benjamin,

assuming you have your music in a varible called e.g. \music you simply
put your verses like shown below and combine them as with any other
score. That should give you the desired result.

verse = \lyricmode {
  It \once \override LyricText.self-alignment-X = #LEFT "is truly right
and just,"
  \once \override LyricText.self-alignment-X = #LEFT "our duty and"
  our sal -- va -- tion,
  a -- \once \override LyricText.self-alignment-X = #LEFT "ways and"
  \once \override LyricText.self-alignment-X = #LEFT "everywhere to"
  give you thanks,
  Lord, \once \override LyricText.self-alignment-X = #LEFT "holy Father,
almighty and e" -- ver -- last -- ing
}

HTH,
Michael
-- 
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver



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


markup circle and sub

2017-11-10 Thread Gianmaria Lari
This code works well and create a rehearsal mark in a box

\version "2.19.80"
\mark \markup {*\box {A1}*}




Now I would like the same except for the number that should be in
subscript. What I should do? I tried this but does not work (it writes A
and 1 in two different boxes):

\version "2.19.80"
\mark \markup {\box {*A \sub 1*}}


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


Re: Assign Dynamics Context to PianoStaff for MIDI

2017-11-10 Thread Gianmaria Lari
Hello Ben,

On 5 October 2017 at 20:24, Ben  wrote:

> On 10/5/2017 12:03 PM, Robert Murdoch wrote:
>
> Hi,
>
> I was wondering how to assign a Dynamics context to a PianoStaff...
>
>
> Hello,
>
> I usually end up creating a separate score for MIDI as well as a 'normal'
> layout.
> I find that is the most efficient way to handle it, especially with piano
> in the instrumentation.
> What version of LilyPond are you using?
>
> However, I think you could do something like this...
> (I saw this elsewhere on the mailing list if I remember correctly)
>
> \version "2.19.65"
>
> right = \relative c'' { c d e f c d e f }
> left = \relative c' { c d e f c d e f }
> dynamics = { s4\mf\> s4*3 s4\! s4\mp }
>
> \score {
>   \new PianoStaff <<
> \new Staff = "up" \right
> \new Dynamics \dynamics
> \new Staff = "down" \left
>   >>
>   \layout {}
> }
>
> \score {
>   \new PianoStaff <<
> \new Staff = "up" <<
>   \right
>   \dynamics
> >>
> \new Staff = "down" <<
>   \left
>   \dynamics
> >>
>   >>
>   \midi {}
> }
>

I copy and pasted your code, but I have not been able to hear any dynamics.
The midi volume looks always the same. I also tried with

dynamics = { s4\f\> s4*3 s4\! s4\p }

but no difference. Is there anything I'm missing?

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


Re: markup circle and sub

2017-11-10 Thread Andrew Bernard
Hi Gianmaria,

\version "2.19.80"
\mark \markup { \box \column {\line {A\sub1} }}


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


Re: Assign Dynamics Context to PianoStaff for MIDI

2017-11-10 Thread Gianmaria Lari
I simplified the code but this also does not create any dynamics:

\version "2.19.80"

dynamics = {s4\p \< s4 s4 s4 s4 s4 s4 s4 \!\f}
music = \fixed c' {c d e f c d e f}

\score {
  \new Staff {<<\music \dynamics>>}
  \midi { }
  \layout {}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: markup circle and sub

2017-11-10 Thread David Kastrup
Gianmaria Lari  writes:

> This code works well and create a rehearsal mark in a box
>
>  \version "2.19.80"
>  \mark \markup {\box {A1}}
>
> Now I would like the same except for the number that should be in
> subscript. What I should do? I tried this but does not work (it writes
> A and 1 in two different boxes):
>
>  \version "2.19.80"
>  \mark \markup {\box {A \sub 1}}

\version "2.19.80"
\mark \markup {\box \concat {A \sub 1}}

-- 
David Kastrup

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


Re: markup circle and sub

2017-11-10 Thread Robin Bannister

Gianmaria Lari wrote:


(it writes A
and 1 in two different boxes)


\version "2.19.80"
\mark \markup {* \box \concat {A \sub 1} *}

\box will apply to each item in a subsequent list,
unless you give the list to another command, like \concat, first.


Cheers,
Robin

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


Re: Assign Dynamics Context to PianoStaff for MIDI

2017-11-10 Thread David Kastrup
Gianmaria Lari  writes:

> I simplified the code but this also does not create any dynamics:
>
> \version "2.19.80"
>
> dynamics = {s4\p \< s4 s4 s4 s4 s4 s4 s4 \!\f}
> music = \fixed c' {c d e f c d e f}
>
> \score {
>   \new Staff {<<\music \dynamics>>}
>   \midi { }
>   \layout {}
> }

In ly/performer-init.ly I read

\context {
  \type "Performer_group"
  \name Voice
  \consists "Dynamic_performer"
  \consists "Tie_performer"
  \consists "Piano_pedal_performer"
  \consists "Note_performer"
  \consists "Beam_performer"
  \consists "Slur_performer"
}

so dynamics are performed at Voice level, but you change them in a
_different_ Voice.

Try \new Staff { \new Voice <<\music \dynamics>>} instead in order to
get the dynamics into the same voice.


-- 
David Kastrup

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


Re: markup circle and sub

2017-11-10 Thread David Kastrup
David Kastrup  writes:

> Gianmaria Lari  writes:
>
>> This code works well and create a rehearsal mark in a box
>>
>>  \version "2.19.80"
>>  \mark \markup {\box {A1}}
>>
>> Now I would like the same except for the number that should be in
>> subscript. What I should do? I tried this but does not work (it writes
>> A and 1 in two different boxes):
>>
>>  \version "2.19.80"
>>  \mark \markup {\box {A \sub 1}}
>
> \version "2.19.80"
> \mark \markup {\box \concat {A \sub 1}}

Still a redundant brace pair.

\mark \markup \box \concat {A \sub 1}

works fine.

-- 
David Kastrup

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


Re: Assign Dynamics Context to PianoStaff for MIDI

2017-11-10 Thread Gianmaria Lari
On 10 November 2017 at 11:14, David Kastrup  wrote:

> Gianmaria Lari  writes:
>
> > I simplified the code but this also does not create any dynamics:
> >
> > \version "2.19.80"
> >
> > dynamics = {s4\p \< s4 s4 s4 s4 s4 s4 s4 \!\f}
> > music = \fixed c' {c d e f c d e f}
> >
> > \score {
> >   \new Staff {<<\music \dynamics>>}
> >   \midi { }
> >   \layout {}
> > }
>
> In ly/performer-init.ly I read
>
> \context {
>   \type "Performer_group"
>   \name Voice
>   \consists "Dynamic_performer"
>   \consists "Tie_performer"
>   \consists "Piano_pedal_performer"
>   \consists "Note_performer"
>   \consists "Beam_performer"
>   \consists "Slur_performer"
> }
>
> so dynamics are performed at Voice level, but you change them in a
> _different_ Voice.
>
> Try \new Staff { \new Voice <<\music \dynamics>>} instead in order to
> get the dynamics into the same voice.


I understood absolutely nothing about what I changed etc. but it works
great!  Thank you David!! Do you know where are explained these things in
the documentation?
g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: markup circle and sub

2017-11-10 Thread Gianmaria Lari
Thank you David, Robin and Andrew for the help and the explanation!
g.


On 10 November 2017 at 11:24, David Kastrup  wrote:

> David Kastrup  writes:
>
> > Gianmaria Lari  writes:
> >
> >> This code works well and create a rehearsal mark in a box
> >>
> >>  \version "2.19.80"
> >>  \mark \markup {\box {A1}}
> >>
> >> Now I would like the same except for the number that should be in
> >> subscript. What I should do? I tried this but does not work (it writes
> >> A and 1 in two different boxes):
> >>
> >>  \version "2.19.80"
> >>  \mark \markup {\box {A \sub 1}}
> >
> > \version "2.19.80"
> > \mark \markup {\box \concat {A \sub 1}}
>
> Still a redundant brace pair.
>
> \mark \markup \box \concat {A \sub 1}
>
> works fine.
>
> --
> David Kastrup
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Assign Dynamics Context to PianoStaff for MIDI

2017-11-10 Thread David Kastrup
Gianmaria Lari  writes:

> On 10 November 2017 at 11:14, David Kastrup  wrote:
>
>> Gianmaria Lari  writes:
>>
>> > I simplified the code but this also does not create any dynamics:
>> >
>> > \version "2.19.80"
>> >
>> > dynamics = {s4\p \< s4 s4 s4 s4 s4 s4 s4 \!\f}
>> > music = \fixed c' {c d e f c d e f}
>> >
>> > \score {
>> >   \new Staff {<<\music \dynamics>>}
>> >   \midi { }
>> >   \layout {}
>> > }
>>
>> In ly/performer-init.ly I read
>>
>> \context {
>>   \type "Performer_group"
>>   \name Voice
>>   \consists "Dynamic_performer"
>>   \consists "Tie_performer"
>>   \consists "Piano_pedal_performer"
>>   \consists "Note_performer"
>>   \consists "Beam_performer"
>>   \consists "Slur_performer"
>> }
>>
>> so dynamics are performed at Voice level, but you change them in a
>> _different_ Voice.
>>
>> Try \new Staff { \new Voice <<\music \dynamics>>} instead in order to
>> get the dynamics into the same voice.
>
>
> I understood absolutely nothing about what I changed etc. but it works
> great!  Thank you David!! Do you know where are explained these things in
> the documentation?

Some section about contexts.

\new Staff { << \music \dynamics >> }

in this case (where neither \music nor \dynamics contain extra
context-relevant instructions) is roughly equivalent to

\new Staff { << \new Voice \music   \new Voice \dynamics >> }

-- 
David Kastrup

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


Re: Assign Dynamics Context to PianoStaff for MIDI

2017-11-10 Thread Gianmaria Lari
On 10 November 2017 at 15:16, David Kastrup  wrote:

> Gianmaria Lari  writes:
>
> > On 10 November 2017 at 11:14, David Kastrup  wrote:
> >
> >> Gianmaria Lari  writes:
> >>
> >> > I simplified the code but this also does not create any dynamics:
> >> >
> >> > \version "2.19.80"
> >> >
> >> > dynamics = {s4\p \< s4 s4 s4 s4 s4 s4 s4 \!\f}
> >> > music = \fixed c' {c d e f c d e f}
> >> >
> >> > \score {
> >> >   \new Staff {<<\music \dynamics>>}
> >> >   \midi { }
> >> >   \layout {}
> >> > }
> >>
> >> In ly/performer-init.ly I read
> >>
> >> \context {
> >>   \type "Performer_group"
> >>   \name Voice
> >>   \consists "Dynamic_performer"
> >>   \consists "Tie_performer"
> >>   \consists "Piano_pedal_performer"
> >>   \consists "Note_performer"
> >>   \consists "Beam_performer"
> >>   \consists "Slur_performer"
> >> }
> >>
> >> so dynamics are performed at Voice level, but you change them in a
> >> _different_ Voice.
> >>
> >> Try \new Staff { \new Voice <<\music \dynamics>>} instead in order to
> >> get the dynamics into the same voice.
> >
> >
> > I understood absolutely nothing about what I changed etc. but it works
> > great!  Thank you David!! Do you know where are explained these things in
> > the documentation?
>
> Some section about contexts.
>
> \new Staff { << \music \dynamics >> }
>
> in this case (where neither \music nor \dynamics contain extra
> context-relevant instructions) is roughly equivalent to
>
> \new Staff { << \new Voice \music   \new Voice \dynamics >> }
>

Ok, now it's clear. Thank you also for the info on the documentation, I
will check "context".
g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: reciting text over line breaks

2017-11-10 Thread Benjamin Bloomfield
Yes, but I want to allow line breaks in the middle of those breves if it
makes sense for line breaks to occur there.  This is actually the way I had
been doing it, but it is a tedious process of trial and error to figure out
that, e.g., the line should break after "and" in "always and everywhere",
and I'd really like to find a way to make this automatic.

Thanks,

*Benjamin Bloomfield*

On Fri, Nov 10, 2017 at 3:17 AM, Michael Gerdau  wrote:

> Hi Benjamin,
>
> assuming you have your music in a varible called e.g. \music you simply
> put your verses like shown below and combine them as with any other
> score. That should give you the desired result.
>
> verse = \lyricmode {
>   It \once \override LyricText.self-alignment-X = #LEFT "is truly right
> and just,"
>   \once \override LyricText.self-alignment-X = #LEFT "our duty and"
>   our sal -- va -- tion,
>   a -- \once \override LyricText.self-alignment-X = #LEFT "ways and"
>   \once \override LyricText.self-alignment-X = #LEFT "everywhere to"
>   give you thanks,
>   Lord, \once \override LyricText.self-alignment-X = #LEFT "holy Father,
> almighty and e" -- ver -- last -- ing
> }
>
> HTH,
> Michael
> --
>  Michael Gerdau   email: m...@qata.de
>  GPG-keys available on request or at public keyserver
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: reciting text over line breaks

2017-11-10 Thread David Wright
On Fri 10 Nov 2017 at 09:43:04 (-0500), Benjamin Bloomfield wrote:
> Yes, but I want to allow line breaks in the middle of those breves if it
> makes sense for line breaks to occur there.  This is actually the way I had
> been doing it, but it is a tedious process of trial and error to figure out
> that, e.g., the line should break after "and" in "always and everywhere",
> and I'd really like to find a way to make this automatic.

I suppose it depends on whether you're trying to duplicate the effect
of that publication or not. I take my cue from the first two lines,
and set everyhing ragged-right. Each linebreak occurs either at a
barline or a breath.

The benefits are that you're less likely to get lost on the page,
especially when the text is unfamiliar, or in Latin, or one syllable's
melisma is spread over two lines. And you can see where each breath
and phrase has to reach. These benefit the cantor and the choir.

The downsides are that it takes up more room (which is why newspapers
justify narrow columns), and some people just think that everything
must be justified. These benefit the congregation if they're given
copies.

Even with the Mark and John passion gospels, there wasn't enough text
to consider automating it. I would imagine there'll be scheming
involved, which is beyond my capabilities anyway. Sorry.

> >   It \once \override LyricText.self-alignment-X = #LEFT "is truly right
> > and just,"

ll = \lyricmode { \once \override LyricText.self-alignment-X = #LEFT }
cc = \lyricmode { \once \override LyricText.self-alignment-X = #CENTER }
rr = \lyricmode { \once \override LyricText.self-alignment-X = #RIGHT }

or suchlike is handy in any score.

Cheers,
David.

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


Increasing spacing between staves

2017-11-10 Thread David Sumbler
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

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


Re: Increasing spacing between staves

2017-11-10 Thread Ben

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

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


Hi David,

(not sure what version you are on but this will change the space for the 
piano)


Yes. Simply use this code to taste:

\new PianoStaff \with {
\override StaffGrouper.staff-staff-spacing = #'(
(basic-distance . 0)
(padding . 0))
  }

via http://lilypond.org/doc/v2.19/Documentation/learning/vertical-spacing

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


Re: Increasing spacing between staves

2017-11-10 Thread Ben

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
    }
  >>



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


Lyric alignment

2017-11-10 Thread Samuel Speer
Hi list members,

Lily naturally spaces measures beautifully when there are no lyrics, but
when lyrics are added, she gets thrown off quite a bit. There have been
several discussions about that already on the list.

Is there a way to have Lily act as if syllables have no width?

What I would like to do is to see the output with Lily's typical spacing
and then manually move problematic syllables. This would be a mess at
first, but I feel it might be helpful for me in the long run.

I took a look in the internals reference but wasn't sure if there was a
straightforward to tell Lily that syllables have a width of 0.

Thanks in advance,
Sam
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: markup circle and sub

2017-11-10 Thread bart deruyter
Hey,

I found that this works:

\version "2.19.62"
\mark \markup  \box {\concat {A \sub 1}}

grtz,
Bart

http://www.bartart3d.be/
On Twitter 
On Identi.ca 
On Google+ 

2017-11-10 10:11 GMT+01:00 Gianmaria Lari :

> This code works well and create a rehearsal mark in a box
>
> \version "2.19.80"
> \mark \markup {*\box {A1}*}
>
>
>
>
> Now I would like the same except for the number that should be in
> subscript. What I should do? I tried this but does not work (it writes A
> and 1 in two different boxes):
>
> \version "2.19.80"
> \mark \markup {\box {*A \sub 1*}}
>
>
> Thank you, g.
>
> ___
> 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


Lyric alignment question

2017-11-10 Thread Samuel Speer
Hi list members,


Lily naturally spaces measures beautifully when there are no lyrics, but
when lyrics are added, she gets thrown off quite a bit. There have been
several discussions about that already on the list.

Is there a way to have Lily act as if syllables have no width?

What I would like to do is to see the output with Lily's typical spacing
and then manually move problematic syllables. This would be a mess at
first, but I feel it might be helpful for me in the long run.

I took a look in the internals reference but wasn't sure if there was a
straightforward to tell Lily that syllables have a width of 0.


Thanks in advance,
Sam
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lyric alignment question

2017-11-10 Thread tyronicus
Hi list members,


Lily naturally spaces measures beautifully when there are no lyrics, but
when lyrics are added, she gets thrown off quite a bit. There have been
several discussions about that already on the list.

Is there a way to have Lily act as if syllables have no width?

What I would like to do is to see the output with Lily's typical spacing and
then manually move problematic syllables. This would be a mess at first, but
I feel it might be helpful for me in the long run.

I took a look in the internals reference but wasn't sure if there was a
straightforward to tell Lily that syllables have a width of 0.


Thanks in advance,
Sam



--
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


percussion (drum set) help

2017-11-10 Thread Paul Scott
How can I move the eighth rest to the level of the snare drum part?
sn8\rest doesn't seem to be allowed.
Any other feedback on my code would also be appreciated.
I'm successful with most of my percussion code.

\version "2.19.80"

\score{
  \new DrumStaff
  \drummode{
\clef percussion << { cymr4 4 4 4 } \\ { r8 sn8 4 4 4 } { hhp4 4 4 4 } >>
  }
}

TIA,

Paul


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


Re: Lyric alignment

2017-11-10 Thread Abraham Lee
Hi, Sam!

On Fri, Nov 10, 2017 at 11:49 AM, Samuel Speer 
wrote:

> Lily naturally spaces measures beautifully when there are no lyrics, but
> when lyrics are added, she gets thrown off quite a bit. There have been
> several discussions about that already on the list.
>
> Is there a way to have Lily act as if syllables have no width?
>
> What I would like to do is to see the output with Lily's typical spacing
> and then manually move problematic syllables. This would be a mess at
> first, but I feel it might be helpful for me in the long run.
>
> I took a look in the internals reference but wasn't sure if there was a
> straightforward to tell Lily that syllables have a width of 0.
>

Try this:

\override Lyrics.LyricText.extra-spacing-width = #'(-inf.0 . +inf.0)

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


Re: percussion (drum set) help

2017-11-10 Thread David Wright
On Fri 10 Nov 2017 at 12:27:19 (-0700), Paul Scott wrote:
> How can I move the eighth rest to the level of the snare drum part?
> sn8\rest doesn't seem to be allowed.
> Any other feedback on my code would also be appreciated.
> I'm successful with most of my percussion code.
> 
> \version "2.19.80"
> 
> \score{
>   \new DrumStaff
>   \drummode{
> \clef percussion << { cymr4 4 4 4 } \\ { r8 sn8 4 4 4 } { hhp4 4 4 4 } >>
>   }
> }

You could try adding yet another voice, just for the rests:

 \\ { \notemode { c'8\rest } }

and replacing your r8 with s8

Cheers,
David.

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


Re: percussion (drum set) help

2017-11-10 Thread Paul Scott
On Fri, Nov 10, 2017 at 01:56:56PM -0600, David Wright wrote:
> On Fri 10 Nov 2017 at 12:27:19 (-0700), Paul Scott wrote:
> > How can I move the eighth rest to the level of the snare drum part?
> > sn8\rest doesn't seem to be allowed.
> > Any other feedback on my code would also be appreciated.
> > I'm successful with most of my percussion code.
> > 
> > \version "2.19.80"
> > 
> > \score{
> >   \new DrumStaff
> >   \drummode{
> > \clef percussion << { cymr4 4 4 4 } \\ { r8 sn8 4 4 4 } { hhp4 4 4 4 } 
> > >>
> >   }
> > }
> 
> You could try adding yet another voice, just for the rests:
> 
>  \\ { \notemode { c'8\rest } }
> 
> and replacing your r8 with s8

Thanks!  That works.

Paul


> 
> Cheers,
> David.
> 


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


Re: Lyric alignment

2017-11-10 Thread Samuel Speer
>
> Try this:
>
> \override Lyrics.LyricText.extra-spacing-width = #'(-inf.0 . +inf.0)
>
> HTH,
> Abraham
>

Thank you very much! That was very helpful.

For the benefit of anyone who reads this archive in the future, the
positive should actually come before the negative:

\override Lyrics.LyricText.extra-spacing-width = #'(+inf.0 . -inf.0)

Also, here is the page of the Internals Reference that explains this:

http://lilypond.org/doc/v2.19/Documentation/internals/lyrictext
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyric alignment

2017-11-10 Thread Abraham Lee
Hi, Sam!

On Fri, Nov 10, 2017 at 3:12 PM, Samuel Speer  wrote:

> Try this:
>>
>> \override Lyrics.LyricText.extra-spacing-width = #'(-inf.0 . +inf.0)
>>
>> HTH,
>> Abraham
>>
>
> Thank you very much! That was very helpful.
>
> For the benefit of anyone who reads this archive in the future, the
> positive should actually come before the negative:
>
> \override Lyrics.LyricText.extra-spacing-width = #'(+inf.0 . -inf.0)
>
> Also, here is the page of the Internals Reference that explains this:
>
> http://lilypond.org/doc/v2.19/Documentation/internals/lyrictext
>

Did that work for you? I actually can't get that to work on any 2.19
release (at least up to 62, can't confirm beyond that at the moment), but I
also didn't realize that my solution was throwing errors so that's no good.
Sorry about that.

What about this:

\override Lyrics.LyricText.X-extent = #'(0 . 0)

This works for me as expected.

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


New User introduction

2017-11-10 Thread Daniel Chavez
Hello,
I am a new user to this list and would like to introduce myself.
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, and thus, Lilypond came 
up.
I run Mac OS X 10.13, High Sierra, and as I use the Voiceover screen reader do 
to me being blind, I find LilyPond is very unique. I'm just blown away how you 
can just write text, and Lilypond is able to translate it into actual music 
scores and sheep music, totally awesome!
I hope to figure out the syntax of Lilypond and write all the music I compose 
on my keyboard, a Cassio CTK7000, and store said music as sheep music for which 
I wrote in Lilypond.
I hope that by me subscribing to this list, I can learn awesome things about 
Lilypond.
Have an wesome day.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New User introduction

2017-11-10 Thread Ralph Palmer
Welcome, Daniel Chavez -

I hope LilyPond is a help to your transcription efforts. I've been using
LilyPond for a number of years now, and find that the documentation and the
community are a great support. I hope you have a way to find your way
around in the documentation.

All the best,

Ralph

On Fri, Nov 10, 2017 at 5:05 PM, Daniel Chavez  wrote:

> Hello,
> I am a new user to this list and would like to introduce myself.
> 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, and thus,
> Lilypond came up.
> I run Mac OS X 10.13, High Sierra, and as I use the Voiceover screen
> reader do to me being blind, I find LilyPond is very unique. I'm just blown
> away how you can just write text, and Lilypond is able to translate it into
> actual music scores and sheep music, totally awesome!
> I hope to figure out the syntax of Lilypond and write all the music I
> compose on my keyboard, a Cassio CTK7000, and store said music as sheep
> music for which I wrote in Lilypond.
> I hope that by me subscribing to this list, I can learn awesome things
> about Lilypond.
> Have an wesome day.
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


mix dynamic within markup on single note

2017-11-10 Thread 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.
Here is my current hacky approach:


%%
\version "2.18.2"

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

}
%

Any best practices to doing this? If I try to put the "\ff" within the
markup i get an error, but I know you can put notepads and things within
markup since I have done that before ...

-- 
ॐ नमः शिवाय
___
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-10 Thread Ryan Michael
Sorry should read *"submit"* not submit.

Ryan.

On Fri, Nov 10, 2017 at 10:20 PM, Ryan Michael 
wrote:

> 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.
> Here is my current hacky approach:
>
>
> %%
> \version "2.18.2"
>
> {
> \time 4/4
> d'4\pp fis' fis'\fermata bes'-\markup{\bold "ff" \italic "sub."}
>
> }
> %
>
> Any best practices to doing this? If I try to put the "\ff" within the
> markup i get an error, but I know you can put notepads and things within
> markup since I have done that before ...
>
> --
> ॐ नमः शिवाय
>



-- 
ॐ नमः शिवाय
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Newbie having trouble with transposition(s)

2017-11-10 Thread 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