Hi

I'm using lillypond for guitar notation.   It is working well for score
display.

I put this example of a riff together that is typical for blues music.

You'll note the triplet rhythm but I have a bend in the first 3 triplets.

I'm using a hidden grace note to do this - I assume that is valid.  I
expected  to see rhythm of 1/3 for all 3 notes.   It's very close but the
first two triplets seem wrong.  The third is correct and that was a whole
note bend.  The 4th triplet is correct too.

I'm pretty sure grace notes don't form part of rythym - I'm using grace
note for full note bend, 1/4 note bend.   You'll see the midi I collected
below the ly file.

It's very close - I had to slow down the midi to even hear this - I'm using
the note durations for giving feedback hence I wondered if there is a way
to solve this.

I first thought it was due to floating point limits but the third triplet
is correct.   Any ideas?

\version "2.25.20"

\language "english"
\header {
  title = "Riff test"
  composer = "Nelly"
}

\paper {
  #(set-paper-size "a4landscape")
}

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

}

electricGuitar = \relative c' {

  \tempo 1 = 20
  \unHideNotes
  \tuplet 3/2 { d8\^\3 \once \hideNotes \grace e8\3 e\2 a\1 }
  \tuplet 3/2 { c8\^\1 \once \hideNotes \grace cqs\3 a e\2 }
  \tuplet 3/2 { g8\^\2 \once \hideNotes \grace a16\1 a8\1 e8\2 }
  \tuplet 3/2 { d8\3 c\3 a\4s }
  \unHideNotes




}

\score {
  \new StaffGroup \with {
    \consists "Instrument_name_engraver"
    instrumentName = "Electric guitar"
  } <<
    \new Staff \with {
      midiInstrument = "overdriven guitar"

    }
    { \clef "treble_8" \electricGuitar }
    \new TabStaff \with {
      stringTunings = #guitar-tuning
    } \electricGuitar
  >>
  \layout {

    \omit StringNumber


  }
  \midi {
    \tempo 1 = 20
  }
}

First triplet
pitch, duration_string, duration, fullname, tie, midi pitch, octave
D4, 16th, 0.2516th, , 62.0, 4
E4, 16th, 0.2516th, , 64.0, 4
A4, eighth, 1/3Eighth Triplet (1/3 QL), , 69.0, 4


Second triplet
pitch, duration_string, duration, fullname, tie, midi pitch, octave
C5, 16th, 0.2516th, , 72.0,
C5, 16th, 0.2516th, , 72.0, 5
E4, eighth, 1/3Eighth Triplet (1/3 QL), , 64.0, 4

Third tripet
pitch, duration_string, duration, fullname, tie, midi pitch, octave
G4, eighth, 1/3Eighth Triplet (1/3 QL), , 67.0, 4
A4, eighth, 1/3Eighth Triplet (1/3 QL), , 69.0, 4
E4, eighth, 1/3Eighth Triplet (1/3 QL), , 64.0, 4

Reply via email to