lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

show guitar bends on regular staff?


From: Walt North
Subject: show guitar bends on regular staff?
Date: Wed, 18 Sep 2024 16:34:11 -0700
User-agent: Mozilla Thunderbird

Is it possible to show guitar bends on regular staff in addition to the tabstaff? 

Or would that need to a glissando or slur type of thing.

Example taken from lilypond documentation.

\version "2.24.2"

bend-styles = {
  <>^"up"
  f'4\^ g'4\^ f'2

  <>^"up and down"
  f'4\^ g'4 f'2

  <>^"'hold"
  \grace f'4\^ g'2\bendHold \^ g'2

  <>^"'pre-bend"
  \grace f'4\preBend \^ g'1\bendHold \^ g'1

  <>^"'pre-bend-hold"
  \grace f'4\preBendHold \^ g'1\bendHold \^ g'1\^ f'

  \bar "|."
}

\score {
  \new StaffGroup
  <<
    \new Staff {
      \override TextScript.font-size = -2
      \clef "G_8"
      \bend-styles
    }
    \new TabStaff \bend-styles
  >>
  \layout {
    \context {
      \Voice
      \omit StringNumber
    }
    \context {
      \TabStaff
      minimumFret = #5
    }
    \context {
      \TabVoice
      \consists Bend_spanner_engraver
    }
  }
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]