How to remove all notes and only show Chords and Lyrics?

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

How to remove all notes and only show Chords and Lyrics?

Dominic Sonntag
Hi,

in a special case I need a "score" with notes, only chords and lyrics. A basic example is
this:

\version "2.19.82"
\score { <<
    \new ChordNames { s4 f2 c }
    \new Staff {
        \relative c' {
            \partial 4
            \time 4/4
            \key f \major
            f8 g | f4. e16 d e c8~ c4
        }
    }
    \addlyrics { It's not time to make a change, }
>> }


I want the notes and clefs and barlines etc. (the whole staff) not to be shown, but the
lyrics should still take the time the notes have. In this little example, the result
should look something like this:

         F              C
It's not time to make a change,

or see my attached image.

How can I achieve this? (Maybe with the least effort on changing the input as it is a long
song.)

Kind regards
Dominic

tiny_ex_no_notes.png (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Kieren MacMillan
Hi Dominic,

> in a special case I need a "score" with notes, only chords and lyrics.

Have you looked through the archives for related threads (e.g., https://lists.gnu.org/archive/html/lilypond-user/2018-12/msg00111.html)?

Cheers,
Kieren.
________________________________

Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]


Reply | Threaded
Open this post in threaded view
|

RE: How to remove all notes and only show Chords and Lyrics?

lilypond-5
In reply to this post by Dominic Sonntag


> -----Original Message-----
> From: lilypond-user <lilypond-user-bounces+lilypond=[hidden email]>
> On Behalf Of Dominic Sonntag
> Sent: Friday, December 6, 2019 11:08 AM
> To: [hidden email]
> Subject: How to remove all notes and only show Chords and Lyrics?
>
> Hi,
>
> in a special case I need a "score" with notes, only chords and lyrics. A basic
> example is
> this:
>
> \version "2.19.82"
> \score { <<
>     \new ChordNames { s4 f2 c }
>     \new Staff {
>         \relative c' {
>             \partial 4
>             \time 4/4
>             \key f \major
>             f8 g | f4. e16 d e c8~ c4
>         }
>     }
>     \addlyrics { It's not time to make a change, }
> >> }
>
>
> I want the notes and clefs and barlines etc. (the whole staff) not to be shown,
> but the lyrics should still take the time the notes have. In this little example, the
> result should look something like this:
>
>          F              C
> It's not time to make a change,
>
> or see my attached image.
>
> How can I achieve this? (Maybe with the least effort on changing the input as it
> is a long
> song.)
>
> Kind regards
> Dominic
[>]
This is not exactly what you want, but it is close:
\version "2.19.82"

\layout {
  \set RhythmicStaff.explicitKeySignatureVisibility = #all-invisible
  \set Staff.printKeyCancellation = ##f
    \context {
        \RhythmicStaff
      \remove "Time_signature_engraver"
      \override Clef.break-visibility = #all-invisible
    }
}


\score { <<
    \new ChordNames { s4 f2 c }
    \new RhythmicStaff {
      \new NullVoice
        \relative c' {          
            \override Score.BarLine.stencil = ##f
            \partial 4
            \time 4/4
            \key f \major
            f8 g | f4. e16 d e c8~ c4
        }
    }
    \addlyrics { It's not time to make a change, }
>> }


Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Knute Snortum
In reply to this post by Kieren MacMillan
On Fri, Dec 6, 2019 at 2:00 PM Kieren MacMillan
<[hidden email]> wrote:
>
> Hi Dominic,
>
> > in a special case I need a "score" with notes, only chords and lyrics.
>
> Have you looked through the archives for related threads (e.g., https://lists.gnu.org/archive/html/lilypond-user/2018-12/msg00111.html)?

I also found this in the archives.  Hope it helps.

https://lists.gnu.org/archive/html/lilypond-user/2018-12/msg00080.html

---
Knute Snortum
(via Gmail)

Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Dominic Sonntag
In reply to this post by lilypond-5
This is really quite close, but can I remove that horizontal line and bring the chords and
lyrics closer together?


On 07.12.19 15:50, [hidden email] wrote:

>
>
>> -----Original Message-----
>> From: lilypond-user <lilypond-user-bounces+lilypond=[hidden email]>
>> On Behalf Of Dominic Sonntag
>> Sent: Friday, December 6, 2019 11:08 AM
>> To: [hidden email]
>> Subject: How to remove all notes and only show Chords and Lyrics?
>>
>> Hi,
>>
>> in a special case I need a "score" with notes, only chords and lyrics. A basic
>> example is
>> this:
>>
>> \version "2.19.82"
>> \score { <<
>>     \new ChordNames { s4 f2 c }
>>     \new Staff {
>>         \relative c' {
>>             \partial 4
>>             \time 4/4
>>             \key f \major
>>             f8 g | f4. e16 d e c8~ c4
>>         }
>>     }
>>     \addlyrics { It's not time to make a change, }
>>>> }
>>
>>
>> I want the notes and clefs and barlines etc. (the whole staff) not to be shown,
>> but the lyrics should still take the time the notes have. In this little example, the
>> result should look something like this:
>>
>>          F              C
>> It's not time to make a change,
>>
>> or see my attached image.
>>
>> How can I achieve this? (Maybe with the least effort on changing the input as it
>> is a long
>> song.)
>>
>> Kind regards
>> Dominic
> [>]
> This is not exactly what you want, but it is close:
> \version "2.19.82"
>
> \layout {
>   \set RhythmicStaff.explicitKeySignatureVisibility = #all-invisible
>   \set Staff.printKeyCancellation = ##f
>     \context {
>         \RhythmicStaff
>       \remove "Time_signature_engraver"
>       \override Clef.break-visibility = #all-invisible
>     }
> }
>
>
> \score { <<
>     \new ChordNames { s4 f2 c }
>     \new RhythmicStaff {
>       \new NullVoice
>         \relative c' {          
>             \override Score.BarLine.stencil = ##f
>             \partial 4
>             \time 4/4
>             \key f \major
>             f8 g | f4. e16 d e c8~ c4
>         }
>     }
>     \addlyrics { It's not time to make a change, }
>>> }
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Dominic Sonntag
In reply to this post by Kieren MacMillan
Hi Kieren,

thanks for this hint. I checked it and it looks *quite* good, but there is a problem that
chords are out of alignment.

I created a "minimal" example (which doesn't fit into ten lines because of the layout
setup part) you can find attached and the result.

As you can see, the chords in the second version (without notes) are always a bit late,
they should appear more to the left.

Do you have an idea how to solve this?

Best regards
Dominic



On 06.12.19 22:59, Kieren MacMillan wrote:

> Hi Dominic,
>
>> in a special case I need a "score" with notes, only chords and lyrics.
>
> Have you looked through the archives for related threads (e.g., https://lists.gnu.org/archive/html/lilypond-user/2018-12/msg00111.html)?
>
> Cheers,
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer (he/him/his)
> ‣ website: www.kierenmacmillan.info
> ‣ email: [hidden email]
>
>

tiny_example_no_notes3.ly (2K) Download Attachment
Bildschirmfoto_2019-12-10_08-42-18.png (21K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: How to remove all notes and only show Chords and Lyrics?

lilypond-5
In reply to this post by Dominic Sonntag


> -----Original Message-----
> From: Dominic Sonntag <[hidden email]>
> Sent: Tuesday, December 10, 2019 8:44 AM
> To: [hidden email]
> Cc: [hidden email]
> Subject: Re: How to remove all notes and only show Chords and Lyrics?
>
> This is really quite close, but can I remove that horizontal line and bring the
> chords and lyrics closer together?
>
>
> On 07.12.19 15:50, [hidden email] wrote:
> >
> >
> >> -----Original Message-----
> >> From: lilypond-user
> >> <lilypond-user-bounces+lilypond=[hidden email]>
> >> On Behalf Of Dominic Sonntag
> >> Sent: Friday, December 6, 2019 11:08 AM
> >> To: [hidden email]
> >> Subject: How to remove all notes and only show Chords and Lyrics?
> >>
> >> Hi,
> >>
> >> in a special case I need a "score" with notes, only chords and
> >> lyrics. A basic example is
> >> this:
> >>
> >> \version "2.19.82"
> >> \score { <<
> >>     \new ChordNames { s4 f2 c }
> >>     \new Staff {
> >>         \relative c' {
> >>             \partial 4
> >>             \time 4/4
> >>             \key f \major
> >>             f8 g | f4. e16 d e c8~ c4
> >>         }
> >>     }
> >>     \addlyrics { It's not time to make a change, }
> >>>> }
> >>
> >>
> >> I want the notes and clefs and barlines etc. (the whole staff) not to
> >> be shown, but the lyrics should still take the time the notes have.
> >> In this little example, the result should look something like this:
> >>
> >>          F              C
> >> It's not time to make a change,
> >>
> >> or see my attached image.
> >>
> >> How can I achieve this? (Maybe with the least effort on changing the
> >> input as it is a long
> >> song.)
> >>
> >> Kind regards
> >> Dominic
> > [>]
> > This is not exactly what you want, but it is close:
> > \version "2.19.82"
> >
> > \layout {
> >   \set RhythmicStaff.explicitKeySignatureVisibility = #all-invisible
> >   \set Staff.printKeyCancellation = ##f
> >     \context {
> >         \RhythmicStaff
> >       \remove "Time_signature_engraver"
> >       \override Clef.break-visibility = #all-invisible
> >     }
> > }
> >
> >
> > \score { <<
> >     \new ChordNames { s4 f2 c }
> >     \new RhythmicStaff {
> >       \new NullVoice
> >         \relative c' {
> >             \override Score.BarLine.stencil = ##f
> >             \partial 4
> >             \time 4/4
> >             \key f \major
> >             f8 g | f4. e16 d e c8~ c4
> >         }
> >     }
> >     \addlyrics { It's not time to make a change, }
> >>> }
> >
> >
[>]

Try:
\layout {
     \context {
         \RhythmicStaff
       \remove "Time_signature_engraver"
        \override StaffSymbol.line-count = #'0
     }
     \context {
       \Lyrics
       \override LyricText.Y-offset = #10.0
     }
 }

You can play with the Y-offset, if it is to close for you
Jaap


Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Dominic Sonntag
Hi Jaap,

this is really great! It is now very close to what I need (but better without the use of
LyricText.Y-offset).

Now I have the problem that in *some* lines the chords are very far away from the lyrics
whereas in most lines, they are positioned very well.

Do you have any idea what's the reason for this and how I could solve it?

Kind regards
Dominic



On 10.12.19 15:14, [hidden email] wrote:

>
>
>> -----Original Message-----
>> From: Dominic Sonntag <[hidden email]>
>> Sent: Tuesday, December 10, 2019 8:44 AM
>> To: [hidden email]
>> Cc: [hidden email]
>> Subject: Re: How to remove all notes and only show Chords and Lyrics?
>>
>> This is really quite close, but can I remove that horizontal line and bring the
>> chords and lyrics closer together?
>>
>>
>> On 07.12.19 15:50, [hidden email] wrote:
>>>
>>>
>>>> -----Original Message-----
>>>> From: lilypond-user
>>>> <lilypond-user-bounces+lilypond=[hidden email]>
>>>> On Behalf Of Dominic Sonntag
>>>> Sent: Friday, December 6, 2019 11:08 AM
>>>> To: [hidden email]
>>>> Subject: How to remove all notes and only show Chords and Lyrics?
>>>>
>>>> Hi,
>>>>
>>>> in a special case I need a "score" with notes, only chords and
>>>> lyrics. A basic example is
>>>> this:
>>>>
>>>> \version "2.19.82"
>>>> \score { <<
>>>>     \new ChordNames { s4 f2 c }
>>>>     \new Staff {
>>>>         \relative c' {
>>>>             \partial 4
>>>>             \time 4/4
>>>>             \key f \major
>>>>             f8 g | f4. e16 d e c8~ c4
>>>>         }
>>>>     }
>>>>     \addlyrics { It's not time to make a change, }
>>>>>> }
>>>>
>>>>
>>>> I want the notes and clefs and barlines etc. (the whole staff) not to
>>>> be shown, but the lyrics should still take the time the notes have.
>>>> In this little example, the result should look something like this:
>>>>
>>>>          F              C
>>>> It's not time to make a change,
>>>>
>>>> or see my attached image.
>>>>
>>>> How can I achieve this? (Maybe with the least effort on changing the
>>>> input as it is a long
>>>> song.)
>>>>
>>>> Kind regards
>>>> Dominic
>>> [>]
>>> This is not exactly what you want, but it is close:
>>> \version "2.19.82"
>>>
>>> \layout {
>>>   \set RhythmicStaff.explicitKeySignatureVisibility = #all-invisible
>>>   \set Staff.printKeyCancellation = ##f
>>>     \context {
>>>         \RhythmicStaff
>>>       \remove "Time_signature_engraver"
>>>       \override Clef.break-visibility = #all-invisible
>>>     }
>>> }
>>>
>>>
>>> \score { <<
>>>     \new ChordNames { s4 f2 c }
>>>     \new RhythmicStaff {
>>>       \new NullVoice
>>>         \relative c' {
>>>             \override Score.BarLine.stencil = ##f
>>>             \partial 4
>>>             \time 4/4
>>>             \key f \major
>>>             f8 g | f4. e16 d e c8~ c4
>>>         }
>>>     }
>>>     \addlyrics { It's not time to make a change, }
>>>>> }
>>>
>>>
> [>]
>
> Try:
> \layout {
>      \context {
>          \RhythmicStaff
>        \remove "Time_signature_engraver"
>         \override StaffSymbol.line-count = #'0
>      }
>      \context {
>        \Lyrics
>        \override LyricText.Y-offset = #10.0
>      }
>  }
>
> You can play with the Y-offset, if it is to close for you
> Jaap
>

tiny_example_no_notes_not_really_tiny.ly (4K) Download Attachment
Bildschirmfoto_2019-12-10_17-17-09.png (97K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Kieren MacMillan
Hi Dominic,

> Hi Jaap,
> this is really great!

I agree!

> Now I have the problem that in *some* lines the chords are very far away from the lyrics
> whereas in most lines, they are positioned very well.
>
> Do you have any idea what's the reason for this and how I could solve it?

There were two issues: the basic- and minimum-distances as set, and the page height. The following modified snippet fixes both (I think?).

%%%  SNIPPET BEGINS
\version "2.18.2"

\paper {
    indent = 0
    paper-height = 120\in
    ragged-right = ##t
    system-system-spacing = #'((basic-distance . 6) (minimum-distance . 6)
                                  (padding . 2.5) (stretchability . 0))
    score-system-spacing.padding = #12
}

lyricsbreak = \tag #'lyricsheet { \bar "" \break }

verseOne = \lyricmode {
    \set stanza = "1. "
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod \lyricsbreak
    tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \lyricsbreak
    At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd \lyricsbreak
    gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \lyricsbreak
}

verseTwo = \lyricmode {
    \set stanza = "2. "
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod \lyricsbreak
    tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \lyricsbreak
    At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd \lyricsbreak
    gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \lyricsbreak
}


harmonies = {
    \chordmode { \set majorSevenSymbol = \markup { "maj7" }
                 s4 f2 c bes2 g:m7 f d:m g:m c f c bes g:m7 f d:m % p.1
                 g:m c f c bes g:m7 f d:m g:m c f c bes g:m7 f d:m c4 f
    }
}

melody = \relative c'' {
    \key f \major
    \time 4/4
    \partial 4
    \autoBeamOff
   
    a8 bes | c8. bes16 a bes c8~ c4 a8 bes | c4 c16 c d8~ d f, f g |
    a4 f8 g a4 bes8 a | a g16 g~ g f g8~ g4 a8 bes16 c~ |
    c4 a16 bes8 c16~ c4 r8 a16 bes | c4 c8 c16 d~ d8 f, f g | a4 r8 f16 g a4 bes16 a8.
   
    % p.2:
    f8 g~ g4 r a8 bes | c bes a16 bes8. c4 r8 a16 bes | c8 c c c d f, r f16 g |
    a4 r8 f16 g a4 bes16 a f f | g2 r8. f16 a8 bes | c4 r8 a16 bes c8. a16 a8 bes16 c~ |
    c16 c c8~ c16 c d8 r8. f,16 f8 g | \time 6/4
    a8. g16 f8 g a16 a8. a16 bes8. a8 g f4 | R1. | \time 4/4
    r2 r4 a8 bes | c c a16 bes8 c16~ c4 r8 a16 bes |
    \bar "|."            
}

\layout {
    \context {
        \ChordNames
        \override ChordName.font-name = #"Alegreya Medium"
        \override VerticalAxisGroup.staff-affinity = #DOWN
        \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
        #'((basic-distance . 1) (minimum-distance . 1) (padding . 1) (stretchability . 0))
    }
    \context {
        \Lyrics
        \override LyricText.font-name = #"Alegreya"
        \override VerticalAxisGroup.staff-affinity = #UP
        \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
        #'((basic-distance . 1) (minimum-distance . 1) (padding . 1) (stretchability . 0))
    }
}


\score {
    <<
        \new ChordNames \harmonies
        \new RhythmicStaff {
            \new NullVoice \melody
            \addlyrics { \verseOne \verseTwo }
        }
    >>
   
    \layout {
        \set RhythmicStaff.explicitKeySignatureVisibility = #all-invisible
        \set Staff.printKeyCancellation = ##f
        \context {
            \RhythmicStaff
            \remove "Time_signature_engraver"
            \remove "Bar_number_engraver"
            \remove "Bar_engraver"
            \override Clef.break-visibility = #all-invisible
            \override StaffSymbol.line-count = #'0
        }
    }
}
%%%  SNIPPET ENDS

Note that I also removed all the custom contexts from my version (which may be inferior, ultimately, to this one!).

What remains to fix (IMO) is the mid-lyrics gaps. I’ll look into what’s causing those and report back if I fix it.

Hope this helps!
Kieren.


________________________________

Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Dominic Sonntag
Hi Kieren,

we're coming closer! But running your snippet as-is through lilypond I still have some
gaps (see attached screenshot).

Now they are (probably) no more between chords and lyrics but between the whole lines.

Using annotate-spacing I see that there is a greater "extra dist (system-system-spacing)"
between some lines. In most lines it is less than 2, but the two gaps have 5.21 or 27.86.
How can I reduce those? I can't find a reason for those gaps being that big ...

Kind regards
Dominic



On 10.12.19 18:11, Kieren MacMillan wrote:

> Hi Dominic,
>
>> Hi Jaap,
>> this is really great!
>
> I agree!
>
>> Now I have the problem that in *some* lines the chords are very far away from the lyrics
>> whereas in most lines, they are positioned very well.
>>
>> Do you have any idea what's the reason for this and how I could solve it?
>
> There were two issues: the basic- and minimum-distances as set, and the page height. The following modified snippet fixes both (I think?).
>
> %%%  SNIPPET BEGINS
> \version "2.18.2"
>
> \paper {
>     indent = 0
>     paper-height = 120\in
>     ragged-right = ##t
>     system-system-spacing = #'((basic-distance . 6) (minimum-distance . 6)
>                                   (padding . 2.5) (stretchability . 0))
>     score-system-spacing.padding = #12
> }
>
> lyricsbreak = \tag #'lyricsheet { \bar "" \break }
>
> verseOne = \lyricmode {
>     \set stanza = "1. "
>     Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod \lyricsbreak
>     tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \lyricsbreak
>     At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd \lyricsbreak
>     gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \lyricsbreak
> }
>
> verseTwo = \lyricmode {
>     \set stanza = "2. "
>     Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod \lyricsbreak
>     tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \lyricsbreak
>     At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd \lyricsbreak
>     gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \lyricsbreak
> }
>
>
> harmonies = {
>     \chordmode { \set majorSevenSymbol = \markup { "maj7" }
>                  s4 f2 c bes2 g:m7 f d:m g:m c f c bes g:m7 f d:m % p.1
>                  g:m c f c bes g:m7 f d:m g:m c f c bes g:m7 f d:m c4 f
>     }
> }
>
> melody = \relative c'' {
>     \key f \major
>     \time 4/4
>     \partial 4
>     \autoBeamOff
>    
>     a8 bes | c8. bes16 a bes c8~ c4 a8 bes | c4 c16 c d8~ d f, f g |
>     a4 f8 g a4 bes8 a | a g16 g~ g f g8~ g4 a8 bes16 c~ |
>     c4 a16 bes8 c16~ c4 r8 a16 bes | c4 c8 c16 d~ d8 f, f g | a4 r8 f16 g a4 bes16 a8.
>    
>     % p.2:
>     f8 g~ g4 r a8 bes | c bes a16 bes8. c4 r8 a16 bes | c8 c c c d f, r f16 g |
>     a4 r8 f16 g a4 bes16 a f f | g2 r8. f16 a8 bes | c4 r8 a16 bes c8. a16 a8 bes16 c~ |
>     c16 c c8~ c16 c d8 r8. f,16 f8 g | \time 6/4
>     a8. g16 f8 g a16 a8. a16 bes8. a8 g f4 | R1. | \time 4/4
>     r2 r4 a8 bes | c c a16 bes8 c16~ c4 r8 a16 bes |
>     \bar "|."            
> }
>
> \layout {
>     \context {
>         \ChordNames
>         \override ChordName.font-name = #"Alegreya Medium"
>         \override VerticalAxisGroup.staff-affinity = #DOWN
>         \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
>         #'((basic-distance . 1) (minimum-distance . 1) (padding . 1) (stretchability . 0))
>     }
>     \context {
>         \Lyrics
>         \override LyricText.font-name = #"Alegreya"
>         \override VerticalAxisGroup.staff-affinity = #UP
>         \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
>         #'((basic-distance . 1) (minimum-distance . 1) (padding . 1) (stretchability . 0))
>     }
> }
>
>
> \score {
>     <<
>         \new ChordNames \harmonies
>         \new RhythmicStaff {
>             \new NullVoice \melody
>             \addlyrics { \verseOne \verseTwo }
>         }
>     >>
>    
>     \layout {
>         \set RhythmicStaff.explicitKeySignatureVisibility = #all-invisible
>         \set Staff.printKeyCancellation = ##f
>         \context {
>             \RhythmicStaff
>             \remove "Time_signature_engraver"
>             \remove "Bar_number_engraver"
>             \remove "Bar_engraver"
>             \override Clef.break-visibility = #all-invisible
>             \override StaffSymbol.line-count = #'0
>         }
>     }
> }
> %%%  SNIPPET ENDS
>
> Note that I also removed all the custom contexts from my version (which may be inferior, ultimately, to this one!).
>
> What remains to fix (IMO) is the mid-lyrics gaps. I’ll look into what’s causing those and report back if I fix it.
>
> Hope this helps!
> Kieren.
>
>
> ________________________________
>
> Kieren MacMillan, composer (he/him/his)
> ‣ website: www.kierenmacmillan.info
> ‣ email: [hidden email]
>

Bildschirmfoto_2019-12-11_06-36-44.png (65K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Aaron Hill
On 2019-12-10 10:10 pm, Dominic Sonntag wrote:

> Hi Kieren,
>
> we're coming closer! But running your snippet as-is through lilypond I
> still have some
> gaps (see attached screenshot).
>
> Now they are (probably) no more between chords and lyrics but between
> the whole lines.
>
> Using annotate-spacing I see that there is a greater "extra dist
> (system-system-spacing)"
> between some lines. In most lines it is less than 2, but the two gaps
> have 5.21 or 27.86.
> How can I reduce those? I can't find a reason for those gaps being that
> big ...

This seems to help things behave a little better w.r.t. system-system
spacing:

%%%%
   % Do not use zero lines, but keep one around and hide it.
   \override StaffSymbol.line-count = 1
   \override StaffSymbol.transparent = ##t
%%%%

I would probably use a \paper section like this to evenly spread lines
across the page:

%%%%
   \paper {
     indent = 0
     ragged-right = ##t
     ragged-bottom = ##f
     ragged-last-bottom = ##f
     system-system-spacing =
       #'((basic-distance . 0) (minimum-distance . 0)
          (padding . 0) (stretchability . 250))
     last-bottom-spacing =
       #'((basic-distance . 0) (minimum-distance . 0)
          (padding . 0) (stretchability . 1000))
   }
%%%%

This uses the strechability feature to divide the remaining space
between the bottom of the page and between the systems.


-- Aaron Hill

Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Kieren MacMillan
Hi Aaron,

> I would probably use a \paper section like this to evenly spread lines across the page:

Hmmm… As a typesetter, I would much prefer in this case to have ragged-bottom = ##t, and then deal with the “line leading” properly/correctly. I’ll poke around to see if that can be done well.

And of course the inter-lyric gaps still need handling/fixing…

Cheers,
Kieren.
________________________________

Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Dominic Sonntag
Hi all,

It is a quite good solution for now, and as you said, inter-lyric gaps are still there.
For my current situation I could live with it, but it's far from perfect.

I can reduce the spacing between the system to a very small amount via (padding . 0.0) in
system-system-spacing. But then the distance between chords and the corresponding lyrics
is relatively big (like setting the above padding to 2.0). Which spacing setting can be
used to reduce this spacing?

Kind regards
Dominic


On 11.12.19 15:21, Kieren MacMillan wrote:

> Hi Aaron,
>
>> I would probably use a \paper section like this to evenly spread lines across the page:
>
> Hmmm… As a typesetter, I would much prefer in this case to have ragged-bottom = ##t, and then deal with the “line leading” properly/correctly. I’ll poke around to see if that can be done well.
>
> And of course the inter-lyric gaps still need handling/fixing…
>
> Cheers,
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer (he/him/his)
> ‣ website: www.kierenmacmillan.info
> ‣ email: [hidden email]
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to remove all notes and only show Chords and Lyrics?

Kieren MacMillan
Hi Dominic,

> I can reduce the spacing between the system to a very small amount via (padding . 0.0) in
> system-system-spacing. But then the distance between chords and the corresponding lyrics
> is relatively big (like setting the above padding to 2.0). Which spacing setting can be
> used to reduce this spacing?

Since you’re not showing the ["fake"] RhythmicStaff, why not put the chords and lyrics on the same side?
See modified snippet, below.

Hope that helps!
Kieren.

%%%  SNIPPET BEGINS
\version "2.19.83"

\paper {
   indent = 0
   paper-height = 120\in
   ragged-right = ##t
   ragged-bottom = ##f
   system-system-spacing =
    #'((basic-distance . 3) (minimum-distance . 3) (padding . 2) (stretchability . 0))
   score-system-spacing.padding = #12
}

verseOne = \lyricmode {
   \set stanza = "1. "
   Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod \break
   tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \break
   At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd \break
   gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \break
}

verseTwo = \lyricmode {
   \set stanza = "2. "
   Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod \break
   tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \break
   At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd \break
   gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \break
}


harmonies = {
   \chordmode { \set majorSevenSymbol = \markup { "maj7" }
                s4 f2 c bes2 g:m7 f d:m g:m c f c bes g:m7 f d:m % p.1
                g:m c f c bes g:m7 f d:m g:m c f c bes g:m7 f d:m c4 f
   }
}

melody = \relative c'' {
   \key f \major
   \time 4/4
   \partial 4
   \autoBeamOff

   a8 bes | c8. bes16 a bes c8~ c4 a8 bes | c4 c16 c d8~ d f, f g |
   a4 f8 g a4 bes8 a | a g16 g~ g f g8~ g4 a8 bes16 c~ |
   c4 a16 bes8 c16~ c4 r8 a16 bes | c4 c8 c16 d~ d8 f, f g | a4 r8 f16 g a4 bes16 a8.

   % p.2:
   f8 g~ g4 r a8 bes | c bes a16 bes8. c4 r8 a16 bes | c8 c c c d f, r f16 g |
   a4 r8 f16 g a4 bes16 a f f | g2 r8. f16 a8 bes | c4 r8 a16 bes c8. a16 a8 bes16 c~ |
   c16 c c8~ c16 c d8 r8. f,16 f8 g | \time 6/4
   a8. g16 f8 g a16 a8. a16 bes8. a8 g f4 | R1. | \time 4/4
   r2 r4 a8 bes | c c a16 bes8 c16~ c4 r8 a16 bes |
   \bar "|."            
}

\layout {
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
  \context {
    \ChordNames
    \override ChordName.font-name = #"Alegreya Medium"
    \override VerticalAxisGroup.staff-affinity = #DOWN
    \override VerticalAxisGroup.nonstaff-nonstaff-spacing =
        #'((basic-distance . 1.5) (minimum-distance . 1.5) (padding . 0.25) (stretchability . 0))
  }
  \context {
    \Lyrics
    \override LyricText.font-name = #"Alegreya"
    \override VerticalAxisGroup.staff-affinity = #DOWN
    \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
        #'((basic-distance . 1) (minimum-distance . 1) (padding . 1) (stretchability . 0))
  }
  \context {
    \Staff
    printKeyCancellation = ##f
  }
  \context {
    \RhythmicStaff
    \remove "Time_signature_engraver"
    \remove "Bar_number_engraver"
    \remove "Bar_engraver"
    explicitKeySignatureVisibility = #all-invisible
    \override Clef.break-visibility = #all-invisible
    \override StaffSymbol.line-count = 0
  }
}


\score {
   <<
       \new ChordNames \harmonies
       \new Lyrics \with { alignAboveContext = "melody" } { \verseOne \verseTwo }
       \new RhythmicStaff \new NullVoice = "melody" \melody
   >>
}
%%%  SNIPPET ENDS
________________________________

Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]