[tablatures] snippet "Slides in tablature", NR 2.4.1 |
[ Thread Index |
Date Index
| More lilynet.net/tablatures Archives
]
- To: lilypond-bug <bug-lilypond@xxxxxxx>
- Subject: [tablatures] snippet "Slides in tablature", NR 2.4.1
- From: Federico Bruni <fedelogy@xxxxxxxxx>
- Date: Sun, 10 Apr 2011 11:23:03 +0200
- Cc: tablatures@xxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=5beod73P5NSs1miM/veilq71yizT2Az5ZlTwqCJPn5g=; b=GkEBrPygsxw86aNYfvU56nZg2ieQce89ie4HAoXK6WFSWu8uWNEwNAyW3t/FN+BZLc dhcDrhyEgniAGdOZqDylEdAhB1Md3PXEFbApUmehoxp46QOqT+HcrnDuzikPMcaCTR5B 9LvgTRiP1o8bsFXQQxfxSHfxy7YXCTI3RsEgs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=RK1hA/8PUcEg4AhBLfrXZ25aGSsOZ7TS9lGgnmF410cIp6Xw6iHtZdUg7pge9T0eVs pUqEDsbCO+DNtioiQy/bknYPyXYVBM3ZJ6b32TUM1oJNv4OpffdZTl8i9k7dSzUI4Fl9 cRBExfyIO4g8sIZLQHaJKZtJg8oqza6GYk4QQ=
Hi,
I've seen an error in a snippet in NR 2.4.1, Default tablature:
http://lilypond.org/doc/v2.13/Documentation/notation/common-notation-for-fretted-strings#default-tablatures
The section is Slides in tablature.
There are two errors actually:
- last two 5 and 7 frets are printed badly (because of hideNotes, I
suppose)
- in slide into and slide from you shouldn't see the starting or ending
fret, so 0 should be removed
There's already a snippet for slides in tablature in the LSR:
http://lsr.dsi.unimi.it/LSR/Item?id=633
which is not up-to-date, because the whiteout property is missing.
(BTW, who maintain the LSR?)
This should work fine:
hideFretNumber = {
\once \override TabNoteHead #'transparent = ##t
\once \override TabNoteHead #'whiteout = ##f
\once \override NoteHead #'transparent = ##t
\once \override NoteHead #'no-ledgers = ##t
\once \override Stem #'transparent = ##t
\once \override Accidental #'transparent = ##t
\once \override Glissando #'(bound-details left padding) = #0.3 %%
for slides from/into: it increases the lenght of glissando and make it
more visible
}
slides = {
c'8\3(\glissando d'8\3)
c'8\3\glissando d'8\3
\hideFretNumber
\grace { g16\3\glissando }
c'4\3
\afterGrace d'4\3\glissando {
\stemDown \hideFretNumber
g16\3 }
}
\score {
<<
\new Staff { \clef "treble_8" \slides }
\new TabStaff { \slides }
>>
\layout {
\context {
\Score
\override Glissando #'minimum-length = #4
\override Glissando #'springs-and-rods =
#ly:spanner::set-spacing-rods
\override Glissando #'thickness = #2
}
}
}