Il giorno sab, 23/04/2011 alle 19.43 +0100, Graham Percival ha scritto: 
> On Thu, Apr 21, 2011 at 04:52:52PM +0200, Federico Bruni wrote:
> > I made several tries but none worked.
> > This works:
> > 
> >   \octaveCheck c'
> >   \chordGlissando
> >   <bes cis fis>8 <b\3 d g>
> > 
> > 
> > (full snippet attached)
> > 
> > Maybe it could be added in the Documentation (NR 2.4.1, Default
> > tablatures)?
> 
> I'd be happy to have that small example added.  The "full snippet"
> is too long for the docs unless you really need that extra
> material.
> 

The snippet was long just to demonstrate that the issue happens only in
relative mode.  But I can make it smaller.

I might add these lines in notation/fretted-strings.itely, after the
include of chord-glissando-in-tablature.ly:

######################################################################

When chordGlissando is used in relative mode more than once, all chord
glissandi following the first one must be preceded by an octave
check.  Otherwise the notes in these chords are raised by one octave.

@lilypond[quote,ragged-right,verbatim]
\new TabStaff \relative c' {
  \chordGlissando
  <bes\3 cis\2 fis\1>8 <b\3 d\2 g\1>
  \octaveCheck c'
  \chordGlissando
  <bes\3 cis\2 fis\1>8 <b\3 d\2 g\1>
  \octaveCheck c'
  \chordGlissando
  <bes\3 cis\2 fis\1>8 <b\3 d\2 g\1>
}
@end lilypond

#######################################################################

Or should I rather edit
Documentation/snippets/new/chord-glissando-in-tablature.ly?

One more question: a warning appears when I compile this snippet.  Is it
ok for docs?

warning: Failed octave check, got: c''
  
  \octaveCheck c'


Let me know and then I'll make the patch.
Thanks,
Federico


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

Reply via email to