Is it possible to know which string a note is placed on in a TabStaff.

E.g.

%% Start
\version "2.19.15"

melody = { c'4 }

\score {
  <<
    \new Staff { \melody }
    \new TabStaff { \melody }
  >>
}
%% End

Here the note c'4 is placed on the second string of the TabStaff.
Since I want to do different things (\transpose) depending on which string the note is on, I need to know the string number and I need to know it before it is "printed" on the TabStaff ( I want to transpose the note differently depending on which string it is on)


Is this possible?

--
English isn't my first language.
So any error or strangeness is due to the translation.
Please correct my English so that I may become better.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to