On Tue, Oct 14, 2025 at 11:35 AM Knute Snortum <[email protected]> wrote:

>
> You need two score blocks, like this:
>
> \score {
>   \new StaffGroup \with {
>     \consists "Instrument_name_engraver"
>     instrumentName = "Electric guitar"
>   } <<
>     \new Staff \with {
>       midiInstrument = "overdriven guitar"
>       \override StaffSymbol.staff-space = #(magstep 2)
>     } { \clef "treble_8" \electricGuitar }
>     \new TabStaff \with {
>       stringTunings = #guitar-tuning
>     } \electricGuitar
>   >>
>   \layout {
>       #(layout-set-staff-size 25)
>      \omit StringNumber
>   }
> }
>
> \score {
>   \removeWithTag nomidi
>   \new Staff \with {
>     midiInstrument = "overdriven guitar"
>   } \electricGuitar
>    \midi {}
> }
>

One minor change: you don't need midiInstrument in the layout score:

    \new Staff \with {
      \override StaffSymbol.staff-space = #(magstep 2)
    }

--
Knute Snortum

Reply via email to