Thank you. Yes TabStaff did resolve my main problem. A previous poster
had also mentioned the TabStaff context but until I saw your code
example I misunderstood what they meant. This resolves 95% of my
issue. The other 5% I can work around. The other 5% being forcing
string number depending on turning. Referring again to this example I
was hoping to be able to specify string number separately from the notes.
For example forcing the 5th string for the first note as below.
gtrBackingNoteDetails = { s8\5 s2..
However perhaps this will not work. I can use minimum fret to
accomplish the goal.
% Begin code %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.25.22"
\language "english"
steelGuitarSixStringCSixTuning = \stringTuning <c e g a c' e'>
ros = \set TabStaff.restrainOpenStrings = ##t
mfTwo = \set TabStaff.minimumFret = #2
mfThree = \set TabStaff.minimumFret = #3
mfFive = \set TabStaff.minimumFret = #5
mfSeven = \set TabStaff.minimumFret = #7
bckngNotes = \relative c' {
d,8 e f g a b c d | d, e f g a b c d |
}
gtrBackingNoteDetails = {
s8\5 s2..
\set Staff.stringTunings = #guitar-tuning |
\ros \mfThree
s8 s s s \mfSeven s s s s\3
}
stlBackingNoteDetails = {
s8\5 s2..
\set Staff.stringTunings = \steelGuitarSixStringCSixTuning |
\ros \mfTwo
s8 s s s \mfFive s s s s\3
}
fullScore = {
<<
\new TabStaff{
<< \bckngNotes \stlBackingNoteDetails >>
}
\new TabStaff{
<< \gtrBackingNoteDetails \bckngNotes>>
}
>>
}
\score{
\fullScore
}
% End code %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%