Re: Aligning lyrics to non-visible melody

2021-02-10 Thread Kuredant Kuredant
Thanks!
NullVoice was exactly what I was looking for.

Le mer. 10 févr. 2021 à 17:56, Xavier Scheuer  a
écrit :

> On Wed, 10 Feb 2021 at 08:50, Kuredant Kuredant 
> wrote:
> >
> > Hi,
> >
> > Given the following example:
> >
> > (snip)
> >
> > I would like to hide the "melody" staff, while keeping the lyrics
> aligned to it (i.e. keep only "song" and "songLyrics" in \score).
> > Is that possible? I've been looking through
> https://lilypond.org/doc/v2.22/Documentation/notation/vocal-music, but it
> seems that the melody staff is always displayed in the examples.
>
> Hello,
>
> Well, you can put your "melody" in a NullVoice, as explained in NR 2.1.2
> Techniques specific to lyrics > Polyphony with shared lyrics
>
> https://lilypond.org/doc/v2.22/Documentation/notation/techniques-specific-to-lyrics.html#polyphony-with-shared-lyrics
>
> You might also want to use melismata and manually beamed notes, cf. NR
> 2.1.1 Common notation for vocal music > Multiple notes to one syllable
>
> https://lilypond.org/doc/v2.22/Documentation/notation/common-notation-for-vocal-music.html#multiple-notes-to-one-syllable
>
> Which gives:
>
> melody = \relative c'' {
>   \time 3/4
>   \autoBeamOff
>   f4 g8[ f e f] |
>   e2.
> }
>
> songLyrics = \lyricmode {
>   Ky -- ri -- e __
> }
>
> song = \relative c' {
>   \time 3/4
>   c4 c c |
>   c8 c c2 |
> }
>
> \score {
>   \new StaffGroup <<
> \new Staff = "music" {
>   <<
> \new Voice = "song" {
>   \song
> }
> \new NullVoice = "melody" {
>   \melody
> }
>   >>
> }
> \new Lyrics \lyricsto "melody" {
>   \songLyrics
> }
>   >>
>   \layout {}
> }
>
> Cheers,
> Xavier
>
> --
> Xavier Scheuer 
>
>


Aligning lyrics to non-visible melody

2021-02-09 Thread Kuredant Kuredant
Hi,

Given the following example:

\version "2.23.0"

melody = \new Voice = "melody" \relative c {
  \time 3/4
  f''4 g8 f e f |
  e2.
}

songLyrics = \new Lyrics \lyricsto "melody" {
  Ky ri _ _ _ e
}

song = \new Voice = "song" \relative c' {
  \time 3/4
  c4 c c |
  c8 c c2 |
}

\score {
  \new StaffGroup <<
\melody
\song
\songLyrics
  >>
  \layout {}
}

I would like to hide the "melody" staff, while keeping the lyrics aligned
to it (i.e. keep only "song" and "songLyrics" in \score).
Is that possible? I've been looking through
https://lilypond.org/doc/v2.22/Documentation/notation/vocal-music, but it
seems that the melody staff is always displayed in the examples.


Re: Using circles in \tabFullNotation

2021-02-04 Thread Kuredant

On 1/31/2021 10:41 PM, Jean Abou Samra wrote:

Sorry, this line:

    \override Stem.Y-extent = #grob::always-Y-extent-from-stencil

should have been commented out.

Also, I now believe that the behavior of X-offset here is a bug:

https://lists.gnu.org/archive/html/bug-lilypond/2021-01/msg00014.html

Jean


That's awesome. It's even possible to easily tweak the shape of the circle.

I'll try to do some more research regarding Scheme since I don't 
understand everything that's going on.


Thanks again for all your help.




enteredby header

2021-01-30 Thread Kuredant

Hello,

The "enteredby" header field is mentioned in 
https://lilypond.org/doc/v2.23/Documentation/snippets/titles#titles-demonstrating-all-headers.


However, I can't find any reference to this field in the PDF output. 
Does anyone know how this field is used by LilyPond?





Issue with \set chordChanges = ##t

2021-01-26 Thread Kuredant

Hello,

I have some issues when using \set chordChanges = ##t as described in 
the "Showing chords at changes" of the documentation 
(https://lilypond.org/doc/v2.23/Documentation/notation/displaying-chords).


* When using \set chordChanges = ##t inside \new ChordNames, the chord 
names are moved below the staff, and are still repeated even if there is 
no change (see the attachment "chord-change-example-with-changes.pdf").


* When using \set chordChanges = ##t inside \new ChordNames, with 
#ly:one-page-breaking, the generated PDF can't be opened (see the 
attachment "chord-change-example-with-changes-one-page-breaking.pdf").



Here is the code I used, compiled with LilyPond 2.23:

\version "2.20.0"

\header {
  tagline = ##f
}

\paper {
  indent = 0\mm
}

song = \relative c, {
  \repeat unfold 16 a4 |
  \break
  \repeat unfold 8 d |
  \repeat unfold 8 a |
  \break
  \repeat unfold 4 e |
  \repeat unfold 4 d |
  \repeat unfold 8 a' |
}

\score {
  \new StaffGroup <<
    \new ChordNames {
  \set chordChanges = ##t
  \chords {
    a1:m7 q q q
    d:m7 q a:m7 q
    e:m7 d:m7 a:m7 q
  }
    }

    \new Staff {
  \clef "bass_8"
  \time 4/4
  \song
    }
  >>

  \layout {
    \context {
  \Score
  \remove "Bar_number_engraver"
    }
  }
}



chord-change-example-no-changes.pdf
Description: Adobe PDF document


chord-change-example-with-changes.pdf
Description: Adobe PDF document


chord-change-example-with-changes-one-page-breaking.pdf
Description: Adobe PDF document


Tremolos between two whole notes with LilyPond 2.20.0 and newer

2020-11-08 Thread Kuredant Kuredant
Hello,

I've been using the solution mentioned in
https://lists.gnu.org/archive/html/lilypond-user/2012-02/msg00253.html to
adjust the orientation of the tremolo beams between two whole notes, like
in this example: http://lilybin.com/vzv8uv/1

This works very well with LilyPond 2.18.2 and 2.19.48, but it no longer
works with the latest stable and development versions (2.20.0 and 2.21.7):
the beam stays horizontal.

convert-ly only tells me to remove "parser" and "location" from
"define-music-function", which doesn't improve the result, and I couldn't
find anything in the release notes related to Beam.gap, Beam.extra-offset
or Beam.stencil.

Does somehave have a solution working with newer Lilypond versions?