lilypond-user
[Top][All Lists]
Advanced

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

Re: Slide from some where undetermined


From: Kevin Tough
Subject: Re: Slide from some where undetermined
Date: Fri, 13 Jun 2014 10:58:10 +0200

Phil just gave me an example but in includes some unwanted marks. I've
got my code just about how I want it. Rather than omitting all of the
String Numbers how would I include the numbers for the notes of the
slide but not other individual notes. Could it be \omit StringNumber and
then \include StringNumber for multiple incidences  or is there a more
elegant way to do this? Here is the almost good code....

\version "2.18.2"
\language "english"
% Slide from somewhere not important...

song = { 
%  \omit StringNumber
    \hideNotes 
  \grace { a8\3\glissando }
%   ( a8\3\glissando )
  \unHideNotes
  c'4\3 ds'\2 f'\2
}

\score {
  <<
    \new Staff { \clef "treble_8" \song }
    \new TabStaff { \song }
  >>
  \layout {
    \context {
      \Score
      \override Glissando.minimum-length = #4
      \override Glissando.springs-and-rods =
                          #ly:spanner::set-spacing-rods
      \override Glissando.thickness = #2
    }
  }
}

I have yet to play with the parameters of Glissando but I imagine they
are more or less self-explanatory.

Namaste,
Kevin Tough

On Fri, 2014-06-13 at 09:14 +0100, Phil Burfitt wrote:
> ----- Original Message ----- 
> From: "Kevin Tough" <address@hidden>
> To: "lilypond-user" <address@hidden>
> Sent: Friday, June 13, 2014 6:32 AM
> Subject: Slide from some where undetermined
> 
> 
> > Hi Folks,
> > 
> > I just tried, for some time to write a simple slide on one string. Now I
> > have numbers in circles appearing above the notes even with all the
> > extras commented and/or erased. Is there some simple thing I have missed
> > in the documentation? I just want to indicate a slide without anything
> > more than showing a slide. No finger indication, just a slide. The
> > player should decide her/himself what finger to use.
> > 
> > \version "2.18.2"
> > 
> > % Hide the fret number of slide start...
> > 
> > hideFretNumber = {
> >  \once \hide TabNoteHead
> >  \once \hide NoteHead
> >  \once \hide Stem
> > }
> > 
> > music = \relative c' {
> > %\hideFretNumber d8\2 (\glissando g2\2)
> > d4 g2\2
> > }
> > 
> > \score {
> >  <<
> >    \new Staff {
> >      \clef "treble_8"
> >      \music
> >    }
> >    \new TabStaff {
> >      \music
> >    }
> >  >>
> > }
> > 
> > I've erased the hideFretNumber block and all other commented lines and
> > as soon as I tell it to use the G from the second string these circles
> > with numbers start showing above the G????????
> > 
> > Namaste,
> > Kevin Tough
> > 
> 
> 
> Does this do what you want?
> 
> \hideFretNumber <d>8\2 (\glissando <g>2\2)
> 
> 
> Phil.
> 
> 





reply via email to

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