Re: Leadsheet for voice and ukulele

2021-04-19 Thread Valentin Petzel
Hello Helge,

First at all congratulations for your first score.

→ The no string for pitch warnings come from Lilypond not knowing you have an 
Ukulele. Lilypond takes the Fretboard configurations for a chord from a table, 
which by default has guitar chords. The error just says that there are notes 
for which no strings exist to play them. Use
\include "predefined-ukulele-fretboards.ly"
To include the default set of Ukulele chords, or create your own table.

→ The only real way to do the sus thing would be changing the 
chordNameFunction. It wouldn’t be particularly hard to change the current 
implementation to take a Context Property to specify this text.

→ For the distance: If you place the Lyrics into a Lyrics context, you can 
specify the padding to the related Staff (i.e. The staff that contains the 
melody) and unrelated Staves. So you can do a
 \new Lyrics \with {
\override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing.padding = #4
 } \lyricsto "music" { \verseIII }

Note that for this to work you need to Name the Voice that contains the notes, 
so that the lyrics can be aligned to them.

→ You should use -- for hyphens in lyrics to get proper hyphenation. Use __ to 
get malisma lines.

Also your lyrics are distributed weirdly. I’ve modified your score a bit, but 
I do not know how the last stanza ist supposed to be distributed.

Cheers,
Valentin\version "2.22"

\include "deutsch.ly"

\include "predefined-ukulele-fretboards.ly"




\header {
  title = "SCARBOROUGH FAIR"
  composer = "Traditional"
}

global = {
  \key c \major
  \time 3/4
}

chordNames = \chordmode {
  \global
  d2.:m
  s
  c4. c8:sus4 c4
  d2:m c4:6
  d2:m c4:6

  f2.
  d:m
  s4 g s
  a2.
  s2 a4:sus4
  d2.:m
  f
  s
  c4 f c
  f c2
  d2.:m
  c2 c4:sus4
  a4:m a:sus4 a:m
  d2:m c4:6
  d2.:m
}

melody = \relative c' {
  \global
  \once \tieDashed
  \set melismaBusyProperties = #'()
  d4~ d d4 |
  \unset melismaBusyProperties
  a'4 4 4 |
  \set melismaBusyProperties = #'()
  \once\slurDashed
  e4.( f8) e4 |
  \unset melismaBusyProperties
  d2. ~
  d |
  \break
  r4 a' c |
  d2 c4 |
  a h g |
  a2. ~
  a2 d4 |
  \break
  d2 4 |
  c2 a4 |
  a g f |
  e8 d c2 ~ |
  c2. |
  \break
  d2 a'4 |
  g2 f4 |
  e d c |
  d2. ~ d
  \bar "|."

}

verse = \lyricmode {
  Are _ you go -- ing to
  Scar -- bo -- rough Fair? __
  Pars -- ley, sage, rose -- ma -- ry and thyme. __
  Re -- mem -- ber me to one who lives there, __ _ _
  she once was a true love of mine.
}

verseII = \lyricmode {
  
  Tell her to make me a cam -- _ bric shirt __
  Pars -- ley, sage, rose -- ma -- ry, and thyme. __
  With -- out no seams nor nee -- _ dle work, __ _ _
  then she'll be a true love of mine.
}

verseIII = \lyricmode {
  Tell her to find me an a -- cre of land __
  Pars -- ley, sage, rose -- ma -- ry and thyme. __
  Be -- tween the salt wa -- ter and the sea strands
  then she'll be a true love of mine.
}

rythm = {
  \improvisationOn
  \stemDown
  c4\downbow 8\downbow 8\upbow 8[\downbow 8]\upbow |
  4\downbow 8\downbow 8\upbow 4\downbow |
  4 8 8 4 |
  4 8 8 8[ 8] |
  4 8 8 8[ 8] |

  4 8 8 8[ 8] |
  4 8 8 4 |
  4 4 4 |
  4 8 8 8[ 8] |
  4 8 8 4 |

  4 8 8 8[ 8] |
  4 8 8 8[ 8] |
  4 4 4
  4 8 8 8[ 8] |
  4 4 4 |

  4 8 8 8[ 8] |
  4 8 8 8[ 8] |
  4 4 4 |
  4 8 8 8[ 8] |
  2.
}

leadSheetPart = <<
  \new ChordNames \chordNames
  \new FretBoards {
\set Staff.stringTunings = #ukulele-tuning\chordNames  }
  \new Staff \new Voice="music" { \melody }
  \addlyrics { \verse }
  \addlyrics { \verseII }
  \new Lyrics \with {
\override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing.padding = #4
  } \lyricsto "music" { \verseIII }
  \new RhythmicStaff { \rythm }
>>

%%{
\score {
  <<
\leadSheetPart
  >>
  \layout { }
}
%}

%%{
\score {
  <<
\transpose d a, \leadSheetPart
  >>
  \layout { }
}
%}


signature.asc
Description: This is a digitally signed message part.


Re: Leadsheet for voice and ukulele

2021-04-18 Thread Viktor Mastoridis
I forgot two important things, sorry:-)

>
> You should create your own chord definitions in a separate file and store
> that file in the folder described above.
>
I am sharing my one with you (ukulele-chords-de.ly), where I changed the Bs
> to Hs and the BESs to Bs (to comply with the German language).
>
I forgot to add that you should connect the file at the top of your
lilypond doc with
\include "ukulele-chords-de.ly"

>
>
> This is another hack, the 'ignatzek Exceptions'
> Again, you will need to define your own names, at least for certain chords.
> I created a file 'extras.ly' which you should put in the above-mentioned
> folder.
>
I forgot to mention that you should also link this document (\include "
extras.ly")
And add a line, preferably in \global:
  \set chordNameExceptions = #chExceptions

VM


Leadsheet for voice and ukulele

2021-04-18 Thread Helge Kruse

Hello,

I want to transpose a song consisting of leadsheat and ukulele. It's my
first song I typeset with Lilypond.

At least I get an output that shows the most parts. But I am not
satisfied in some points. I hope you can give me some hints how to
improve it.

- There are a lot of warnings "No string for pitch #..." In the fret
diagram I find damped strings. E.g. the first fret diagram Dm should
show all for strings corresponding to the appendix A of the notation
reference. How can I get the fret diagram with all for strings.

- The chord Csus4 is written only as C4 (omitting the sus). Even if the
sus is correct in the sense of music theory, I would like to stay witht
the C4. Unfortunately I didn't fount this in the NR. Any idea?

- This distance between the last verse and the rythm staff should be
increased.

If there are other clumsy things in my notation, any comment is appreciated.

Reagrds,
Helge

\version "2.19.80"

\include "deutsch.ly"

\header {
  title = "SCARBOROUGH FAIR"
  composer = "Traditional"
}

global = {
  \key c \major
  \time 3/4
}

chordNames = \chordmode {
  \global
  d2.:m
  s
  c4. c8:sus4 c4
  d2:m c4:6
  d2:m c4:6

  f2.
  d:m
  s4 g s
  a2.
  s2 a4:sus4
  d2.:m
  f
  s
  c4 f c
  f c2
  d2.:m
  c2 c4:sus4
  a4:m a:sus4 a:m
  d2:m c4:6
  d2.:m
}

melody = \relative c' {
  \global
  d2 d4 |
  a'4 4 4 |
  e4. f8 e4 |
  d2. ~
  d |
  \break
  r4 a' c |
  d2 c4 |
  a h g |
  a2. ~
  a2 d4 |
  \break
  d2 4 |
  c2 a4 |
  a g f |
  e8 d c2 ~ |
  c2. |
  \break
  d2 a'4 |
  g2 f4 |
  e d c |
  d2. ~ d
  \bar "|."

}

verse = \lyricmode {
  Are you go- ing to
  Scar- bo- rough Fair?
  Pars- ley, sage, rose- ma- ry and thyme.
  Re- mem- ber me to one who lives there, _ _
  she once was a true love of mine.
}

verseII = \lyricmode {
  Tell her to make me a cam- bric shirt
  Pars- ley, sage, rose- ma- ry, and thyme.
  With- out no seams nor nee _ dle work, _ _
  then she'll be a true love of mine.
}

verseIII = \lyricmode {
  Tell her to find me an a- cre of land
  Pars- ley, sage, rose- ma- ry and thyme.
  Be- tween the salt wa- ter and the sea strands
  then she'll be a true love of mine.
}

rythm = {
  \improvisationOn
  \stemDown
  c4\downbow 8\downbow 8\upbow 8[\downbow 8]\upbow |
  4\downbow 8\downbow 8\upbow 4\downbow |
  4 8 8 4 |
  4 8 8 8[ 8] |
  4 8 8 8[ 8] |

  4 8 8 8[ 8] |
  4 8 8 4 |
  4 4 4 |
  4 8 8 8[ 8] |
  4 8 8 4 |

  4 8 8 8[ 8] |
  4 8 8 8[ 8] |
  4 4 4
  4 8 8 8[ 8] |
  4 4 4 |

  4 8 8 8[ 8] |
  4 8 8 8[ 8] |
  4 4 4 |
  4 8 8 8[ 8] |
  2.
}

leadSheetPart = <<
  \new ChordNames \chordNames
  \new FretBoards {
\set Staff.stringTunings = #ukulele-tuning\chordNames  }
  \new Staff { \melody }
  \addlyrics { \verse }
  \addlyrics { \verseII }
  \addlyrics { \verseIII }
  \new RhythmicStaff { \rythm }
>>

%%{
\score {
  <<
\leadSheetPart
  >>
  \layout { }
}
%}

%%{
\score {
  <<
\transpose d a, \leadSheetPart
  >>
  \layout { }
}
%}


Leadsheet for voice and ukulele

2021-04-18 Thread Helge Kruse

Hello,

I want to transpose a song consisting of leadsheat and ukulele. It's my
first song I typeset with Lilypond.

At least I get an output that shows the most parts. But I am not
satisfied in some points. I hope you can give me some hints how to
improve it.

- There are a lot of warnings "No string for pitch #..." In the fret
diagram I find damped strings. E.g. the first fret diagram Dm should
show all for strings corresponding to the appendix A of the notation
reference. How can I get the fret diagram with all for strings.

- The chord Csus4 is written only as C4 (omitting the sus) in the
original sheet. Even if the sus is correct in the sense of music theory,
I would like to stay witht the C4. Unfortunately I didn't fount this in
the NR. Any idea?

- This distance between the last verse and the rythm staff should be
increased.

If there are other clumsy things in my notation, any comment is
appreciated.

Reagrds,
Helge

\version "2.19.80"

\include "deutsch.ly"

\header {
  title = "SCARBOROUGH FAIR"
  composer = "Traditional"
}

global = {
  \key c \major
  \time 3/4
}

chordNames = \chordmode {
  \global
  d2.:m
  s
  c4. c8:sus4 c4
  d2:m c4:6
  d2:m c4:6

  f2.
  d:m
  s4 g s
  a2.
  s2 a4:sus4
  d2.:m
  f
  s
  c4 f c
  f c2
  d2.:m
  c2 c4:sus4
  a4:m a:sus4 a:m
  d2:m c4:6
  d2.:m
}

melody = \relative c' {
  \global
  d2 d4 |
  a'4 4 4 |
  e4. f8 e4 |
  d2. ~
  d |
  \break
  r4 a' c |
  d2 c4 |
  a h g |
  a2. ~
  a2 d4 |
  \break
  d2 4 |
  c2 a4 |
  a g f |
  e8 d c2 ~ |
  c2. |
  \break
  d2 a'4 |
  g2 f4 |
  e d c |
  d2. ~ d
  \bar "|."

}

verse = \lyricmode {
  Are you go- ing to
  Scar- bo- rough Fair?
  Pars- ley, sage, rose- ma- ry and thyme.
  Re- mem- ber me to one who lives there, _ _
  she once was a true love of mine.
}

verseII = \lyricmode {
  Tell her to make me a cam- bric shirt
  Pars- ley, sage, rose- ma- ry, and thyme.
  With- out no seams nor nee _ dle work, _ _
  then she'll be a true love of mine.
}

verseIII = \lyricmode {
  Tell her to find me an a- cre of land
  Pars- ley, sage, rose- ma- ry and thyme.
  Be- tween the salt wa- ter and the sea strands
  then she'll be a true love of mine.
}

rythm = {
  \improvisationOn
  \stemDown
  c4\downbow 8\downbow 8\upbow 8[\downbow 8]\upbow |
  4\downbow 8\downbow 8\upbow 4\downbow |
  4 8 8 4 |
  4 8 8 8[ 8] |
  4 8 8 8[ 8] |

  4 8 8 8[ 8] |
  4 8 8 4 |
  4 4 4 |
  4 8 8 8[ 8] |
  4 8 8 4 |

  4 8 8 8[ 8] |
  4 8 8 8[ 8] |
  4 4 4
  4 8 8 8[ 8] |
  4 4 4 |

  4 8 8 8[ 8] |
  4 8 8 8[ 8] |
  4 4 4 |
  4 8 8 8[ 8] |
  2.
}

leadSheetPart = <<
  \new ChordNames \chordNames
  \new FretBoards {
\set Staff.stringTunings = #ukulele-tuning\chordNames  }
  \new Staff { \melody }
  \addlyrics { \verse }
  \addlyrics { \verseII }
  \addlyrics { \verseIII }
  \new RhythmicStaff { \rythm }
>>

%%{
\score {
  <<
\leadSheetPart
  >>
  \layout { }
}
%}

%%{
\score {
  <<
\transpose d a, \leadSheetPart
  >>
  \layout { }
}
%}