2

I am working on transcribing a score that I have but have come across a problem with adding some tremolos with the instrument.

It needs to look something like this:

photograph of score: bar of 12, with two tremolo figures separated by dotted crotchet rests, each figure represented as pairs of quavers with two extra truncated beams

Looking at the documentation I can get the following:

LilyPond output: incomplete bar of 12, with two tremolo figures separated by dotted crotchet rests, each figure represented as pairs of quavers with two extra truncated beams. NB: bar is incomplete

Using the following code:

\relative c' {
  \time 12/8
  \repeat unfold 2 {
    \override Beam.gap-count = #2
    \repeat tremolo 2 { b32. d }
    r4.
  }
}

I think it is a matter of altering the values within the tremolo tag but all the combinations I have found cannot fill in the bar

Any help would be appreciated.

Elements in Space
  • 253
  • 1
  • 3
  • 12
RoboTom
  • 21
  • 2

2 Answers2

1

The reason you are having trouble getting LilyPond to display the notation in the image, is that it isn't following the normal convention for writing tremolos.

A single tremolo figure is represented by two notes of the same value, and that value is the total value the figure takes. The number of extra beams determines the value of each component note.

To fill the bar correctly, the topmost beam (that connects the note stems) in the original image shouldn't be there.

As is, LilyPond (correctly) interprets your bar as only ¾ full (9/8 of 12/8). This is why you're not getting the automatic barline at the end.


There are two interpretations of the tremolo figure that would make sense, theses will both look the same as each other (and be without a connected topmost beam):

  • As 4 sets of pairs of dotted 32nd notes:

    \relative c' {
      \time 12/8
      \repeat tremolo 4 { b32. d } r4.
      \repeat tremolo 4 { f32. g } r4. |
    }
    

    or

  • As 6 sets of pairs of (un-dotted) 32nd notes:

    \relative c' {
      \time 12/8
      \repeat tremolo 6 { b32 d } r4. 
      \repeat tremolo 6 { f32 g } r4. |
    }
    

    (this probably makes the most sense)

But typically, when multiple tremolo beams are used they will be performed as unmeasured tremolos (as quick as possible), so it doesn't really matter which of theses ways you choose to code it.

a complete bar of 12/8, with two tremolo figures separated by dotted crotchet rests (each figure represented as a pairs of dotted crotchets with three extra truncated beams between them)


However, if you really do want to replicate the original image you can use some invisible spacer rests (i.e. s); something like the following. But this is a bit of a hack, and you should be aware that this is not the normal/correct music notation for tremolos:

\relative c' {
  \time 12/8
    \repeat tremolo 2 { b32. s d s } r4.
    \repeat tremolo 2 { f32. s g s } r4. |
}
Elements in Space
  • 253
  • 1
  • 3
  • 12
-1

Is your question why the measure is shorter than the original? That doesn't have anything to do with tremolos. As you fill in more notes, the length of each measure will change. If you use:

\paper {
    ragged-right = ##f
    ragged-last-bottom = ##f
}

...you will see the measures "fill out" to make up the space. There is a whole section in the manuals about horizontal spacing:

https://lilypond.org/doc/v2.22/Documentation/notation/horizontal-spacing

ksnortum
  • 2,809
  • 4
  • 27
  • 36
  • I think its wrong beucase im missing a beat somewhere along the way ive manged to get something to work by doing \override Beam.gap-count = #2 \repeat tremolo 4 { b,,32.[( d]) } r4. \repeat tremolo 4 { f!32.[( g]) } r4. | – RoboTom Oct 08 '22 at 09:51
  • The problem isn't that the bar is shorter than the original, the problem is that the bar isn't complete. – Elements in Space Nov 14 '22 at 23:18