lilypond-user
[Top][All Lists]
Advanced

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

Re: show guitar bends on regular staff?


From: Walt North
Subject: Re: show guitar bends on regular staff?
Date: Fri, 20 Sep 2024 16:30:45 -0700
User-agent: Mozilla Thunderbird

That should have read:

Am I missing something?  It seems like using devnull to align lyrics to does NOT pay attention to ties.  Ties do seem to be honored when using voice for alignment.

On 9/18/2024 4:34 PM, Walt North wrote:

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]