[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
harmonicBy and point-and-click
From: |
Federico Bruni |
Subject: |
harmonicBy and point-and-click |
Date: |
Sat, 24 Nov 2012 09:51:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.10) Gecko/20121028 Icedove/10.0.10 |
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
- harmonicBy and point-and-click,
Federico Bruni <=