You must set a name for the \new Staff {\rguitar-part}. Like: new Staff =
"guitar" {\rguitar-part}

And also you must set the ChordNames above using the \with command. Like:
\new ChordNames \with { alignAboveContext = "guitar" } { *some nice chords
or variables* }

Em qui., 20 de mar. de 2025 21:25, Steve Carlock <[email protected]>
escreveu:

> I'm having an issue with most of the chord symbols (except for the No
> Chord) being displayed below the staff line.  Obviously I've messed
> something up but I have not been able to figure it out.  If someone could
> please take a look and point me in the right direction, I would appreciate
> it.
>
> Thanks.
>
> Environment:
>
> Frescobaldi: 3.3.0
> Extension API: 0.9.0
> Python: 3.12.3
> python-ly: 0.9.7
> Qt: 5.15.13
> PyQt: 5.15.10
> sip: 6.7.12
> qpageview: 0.6.2
> poppler: 24.2.0
> python-poppler-qt: 21.3.0
> OS: Linux-6.8.0-55-generic-x86_64-with-glibc2.39
>
>
>
> % % % % %
> \version "2.24.4"
>
> \language "english"
>
> global =  {
>   \tempo "Freely"
>   \time 4/4 \numericTimeSignature
>   \key g \major
> }
>
> Intro-I-rests = { \partial 8 r8 | R1*7 | R1\fermata | }
> Intro-II-rests = { \tempo 4=110 R1*4 | }
>
> Intro-I-chords = \chords {
>   \set chordChanges = ##t
>   \set additionalPitchPrefix = "add"
>   \partial 8 s8 |
>   a4.:m7 e8:m7~ q2 | d2 c2 | g2 d2 | <c e g d'>1 |
>   a4.:m7 e8:m7~ q2 | d4. c8~ q2 | g2 d2 | <c e g d'>1 |
> }
>
> cpattern-I = \chords {
>   \set chordChanges = ##t
>   \set additionalPitchPrefix = "add"
>   a4.:m7 e8:m7~ q2 | d4. <c e g d'>8~ q2 | g2 d2 | <c e g d'>1 |
> }
>
> chord-line =   {
>   \global
>   \Intro-I-chords
>   \Intro-II-rests
>   \cpattern-I
> }
>
> rguitar-rpattern-I =  { a4. e8~ 2 | d4. c8~ 2 | g2 d2 | c1 | }
>
> rguitar-part = <<
>   \new Voice  \with {
>     \consists Pitch_squash_engraver
>   }
>   {
>     \clef "treble_8"
>     \global
>     \Intro-I-rests
>     \Intro-II-rests
>     \improvisationOn
>     \rguitar-rpattern-I
>     \improvisationOff
>   }
> >>
>
> \score {
>   <<
>     \new ChordNames {
>       \global
>       \Intro-I-chords
>       \Intro-II-rests
>       \cpattern-I
>     }
>
>     \new Staff { \rguitar-part }
>   >>
>   \layout {}
> }
> % % % % %
>

Reply via email to