From 3c33d2670b2c036b00b85cb3cbcbfcb2b519327f Mon Sep 17 00:00:00 2001 From: James Lowe Date: Mon, 6 Jan 2014 07:19:12 +0000 Subject: [PATCH] makelsr.py For commit 51230c664 --- .../editorial-annotations.snippet-list | 3 ++ .../snippets/fretted-strings.snippet-list | 3 ++ .../hammer-on-and-pull-off-using-chords.ly | 29 +++++++++++++++++++ .../hammer-on-and-pull-off-using-voices.ly | 28 ++++++++++++++++++ .../snippets/hammer-on-and-pull-off.ly | 26 +++++++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 Documentation/snippets/hammer-on-and-pull-off-using-chords.ly create mode 100644 Documentation/snippets/hammer-on-and-pull-off-using-voices.ly create mode 100644 Documentation/snippets/hammer-on-and-pull-off.ly diff --git a/Documentation/snippets/editorial-annotations.snippet-list b/Documentation/snippets/editorial-annotations.snippet-list index b2cb2d8ff9..c8d2a9a51c 100644 --- a/Documentation/snippets/editorial-annotations.snippet-list +++ b/Documentation/snippets/editorial-annotations.snippet-list @@ -20,6 +20,9 @@ drawing-circles-around-various-objects.ly embedding-native-postscript-in-a--markup-block.ly grid-lines--changing-their-appearance.ly grid-lines--emphasizing-rhythms-and-notes-synchronization.ly +hammer-on-and-pull-off-using-chords.ly +hammer-on-and-pull-off-using-voices.ly +hammer-on-and-pull-off.ly how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-2.ly making-some-staff-lines-thicker-than-the-others.ly diff --git a/Documentation/snippets/fretted-strings.snippet-list b/Documentation/snippets/fretted-strings.snippet-list index 9854081839..35ad8bda09 100644 --- a/Documentation/snippets/fretted-strings.snippet-list +++ b/Documentation/snippets/fretted-strings.snippet-list @@ -17,6 +17,9 @@ fretboards-alternate-tables.ly fretted-string-harmonics-in-tablature.ly guitar-slides.ly guitar-strum-rhythms.ly +hammer-on-and-pull-off-using-chords.ly +hammer-on-and-pull-off-using-voices.ly +hammer-on-and-pull-off.ly how-to-change-fret-diagram-position.ly jazz-combo-template.ly laissez-vibrer-ties.ly diff --git a/Documentation/snippets/hammer-on-and-pull-off-using-chords.ly b/Documentation/snippets/hammer-on-and-pull-off-using-chords.ly new file mode 100644 index 0000000000..880a2cf8fd --- /dev/null +++ b/Documentation/snippets/hammer-on-and-pull-off-using-chords.ly @@ -0,0 +1,29 @@ +% DO NOT EDIT this file manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.16.0 +\version "2.16.0" + +\header { + lsrtags = "editorial-annotations, fretted-strings" + + texidoc = " +When using hammer-on or pull-off with chorded notes, only a single arc +is drawn. However @q{double arcs} are possible by setting the +@code{doubleSlurs} property to @code{#t}. + +" + doctitle = "Hammer on and pull off using chords" +} % begin verbatim + + +\new TabStaff { + \relative c' { + % chord hammer-on and pull-off + \set doubleSlurs = ##t + 8( ) + } +} diff --git a/Documentation/snippets/hammer-on-and-pull-off-using-voices.ly b/Documentation/snippets/hammer-on-and-pull-off-using-voices.ly new file mode 100644 index 0000000000..df84036ae8 --- /dev/null +++ b/Documentation/snippets/hammer-on-and-pull-off-using-voices.ly @@ -0,0 +1,28 @@ +% DO NOT EDIT this file manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.16.0 +\version "2.16.0" + +\header { + lsrtags = "editorial-annotations, fretted-strings" + + texidoc = " +The arc of hammer-on and pull-off is upwards in voices one and three and +downwards in voices two and four: + +" + doctitle = "Hammer on and pull off using voices" +} % begin verbatim + + +\new TabStaff { + \relative c' { + << { \voiceOne g2( a) } + \\ { \voiceTwo a,( b) } + >> \oneVoice + } +} diff --git a/Documentation/snippets/hammer-on-and-pull-off.ly b/Documentation/snippets/hammer-on-and-pull-off.ly new file mode 100644 index 0000000000..57c830a2ce --- /dev/null +++ b/Documentation/snippets/hammer-on-and-pull-off.ly @@ -0,0 +1,26 @@ +% DO NOT EDIT this file manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.16.0 +\version "2.16.0" + +\header { + lsrtags = "editorial-annotations, fretted-strings" + + texidoc = " +Hammer-on and pull-off can be obtained using slurs. + +" + doctitle = "Hammer on and pull off" +} % begin verbatim + + +\new TabStaff { + \relative c' { + d4( e\2) + a( g) + } +} -- 2.39.2