bug-lilypond
[Top][All Lists]
Advanced

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

Re: GSoC page: hammer-on and pull-off are already implemented


From: Federico Bruni
Subject: Re: GSoC page: hammer-on and pull-off are already implemented
Date: Fri, 13 Apr 2012 09:08:41 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

I'm CCing the tablature list, in case anyone (Patrick?) has some suggestions about this doc addition.

Il 12/04/2012 00:40, Colin Hall ha scritto:
I think you are right, I cannot find any mention in the doc.
>  It should be in NR 2.4.1
>
>  Pull-off and hammer-on are slurs.
>  Hammer-on when the pitch goes up, pull-off when it goes down.
I'm not familiar with the terms used by fretted string instrument
musicians, so I'd be very grateful if you or Marc would submit a
suitable documentation suggestion, as decribed here:

http://www.lilypond.org/doc/v2.15/Documentation/contributor/documentation-suggestions

Once the bug squad receive that we can create a tracker for the
Documentation issue.


I would put hammer-on and pull-off in NR 2.4.1, Selected snippets, before "Slides in tablature" (because legato slides use slurs).

Sorry for my bad english...here we go.

## Doc snippet ##

Hammer-on and pull-off can be obtained using slurs. Hammer-on is a raising slur, while pull-off is a falling slur:

\new TabStaff {
  \relative c' {
    d4( e\2)
    a( g)
  }
}


The arc of hammer-on and pull-off is upwards in voice one and three, downwards in voice two and four:

\new TabStaff {
  \relative c' {
    << { \voiceOne g2( a) }
    \\ { \voiceTwo a,( b) }
    >> \oneVoice
  }
}


Hammer-on and pull-off work the same way in chords. By default, only one arc is drawn. You can have a double arc by setting the doubleSlur property to true (be sure to use \once or set it back to false when you don't need it anymore):

\new TabStaff {
  \relative c' {
    % chord hammer-on and pull-off
    \once \set doubleSlurs = ##t
    <g' b>8( <a c> <g b>)
    g( a2) % to check that slur is single again
  }
}


[Remember to add the @cindex entries]

>  >  I'm not sure if we take bug reports against the GSoC page, but no
>  >  matter. Once I have those references from you I can create a tracker.
See issue tracker here:

http://code.google.com/p/lilypond/issues/detail?id=2475


thanks!



reply via email to

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