bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tablatures] snippet "Slides in tablature", NR 2.4.1


From: Valentin Villenave
Subject: Re: [tablatures] snippet "Slides in tablature", NR 2.4.1
Date: Wed, 13 Apr 2011 10:05:22 +0200

On Sun, Apr 10, 2011 at 11:23 AM, Federico Bruni <address@hidden> wrote:
> 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
>
> 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
>    }
>  }
> }

Hi Federico, hi everybody,

here's a patch for the documentation accordingly to what you proposed.
I'm not entirely sure it's suitable to introduce a new function (or
more exactly, I'm wondering if it shouldn't rather be added to
music-function.ly instead). Not being a guitar player, I can't tell.

(I've also amended the LSR snippet to add 'whiteout.)

Cheers,
Valentin.

Attachment: 0001-Doc-improve-Slides-in-Tablature-snippet.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]