If I specify an harmonic using \harmonicByFret or \harmonicByRatio,
point-and-click works fine only if the note following the command is
included inside <> or {}
Otherwise, point-and-click opens ly/music-functions-init.ly, where these
commands are defined.
Try this snippet:
\version "2.17.7"
fretHarmonics = {
% wrong link
\harmonicByFret #4 d8\4
% ok
\harmonicByFret #5 <g\3 b\2>
\harmonicByFret #5 { d\4 }
% wrong link
\harmonicByRatio #1/3 g
% ok
\harmonicByRatio #1/3 <g>
\harmonicByRatio #1/3 { g }
}
\score {
<<
\new Staff {
\clef "treble_8"
\fretHarmonics
}
\new TabStaff { \fretHarmonics }
>>
}
I think it's a bug in the documentation.
We'd better use <> or {} ? The latter, I guess.
Thanks
--
Federico
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond