From deaf0fd92504ae9b123ae3c9c30ea1ea72d8e21b Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Sat, 5 Dec 2009 14:35:03 +0000 Subject: [PATCH] Docs: Compile fix when using --disable-optimising. * disable midi output in tab-example.ly to prevent segfault in Tie_performer (use of a deque causes a memory corruption). --- Documentation/web/examples/tab-example.ly | 25 ++++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/Documentation/web/examples/tab-example.ly b/Documentation/web/examples/tab-example.ly index e0e5db3981..158b35b609 100644 --- a/Documentation/web/examples/tab-example.ly +++ b/Documentation/web/examples/tab-example.ly @@ -16,10 +16,10 @@ %% Hide fret number: useful to draw slide into/from a casual point of %% the fretboard. -hideFretNumber = { \once \override TabNoteHead #'transparent = ##t - \once \override NoteHead #'transparent = ##t +hideFretNumber = { \once \override TabNoteHead #'transparent = ##t + \once \override NoteHead #'transparent = ##t \once \override Stem #'transparent = ##t - \once \override NoteHead #'no-ledgers = ##t + \once \override NoteHead #'no-ledgers = ##t } \paper { @@ -28,19 +28,19 @@ hideFretNumber = { \once \override TabNoteHead #'transparent = ##t } upper= \relative c' { - \time 4/4 + \time 4/4 \key e \major \set Staff.midiInstrument = #"acoustic guitar (steel)" \set fingeringOrientations = #'(left) - + %\override Staff.Glissando #'extra-offset = #' (0.0 . 1.0) - \partial 4. \acciaccatura c16 \glissando cis8 e4 + \partial 4. \acciaccatura c16 \glissando cis8 e4 < cis-1 g'-3 >2 s8 \grace a16 ( \glissando 8\3 ) ( b ) | \2 ( b ) \grace 16 ( \glissando a8 g ) s4. | s4. < d'\3 g\2 >8 < gis,\4 d'\3 fis\2 >2\arpeggio ~ | - + < gis\4 d'\3 fis\2 >2 < b'\2\harmonic e\harmonic >2\fermata | - + } lower= \relative c { @@ -50,7 +50,7 @@ lower= \relative c { s4 e,4 s2 | s2 s8 4. ~ | e4 \hideFretNumber \grace { b8 \glissando s4 } 4\5 e,2 ~ | - + e2 < e'\6\harmonic > | } @@ -74,19 +74,20 @@ lower= \relative c { \context TabVoice = "lower tab" { \clef "moderntab" \voiceTwo \lower } >> >> - + %{ \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } - + %} + \layout { \context { \Staff \override StringNumber #'transparent = ##t } - + \context { \TabStaff \revert Arpeggio #'stencil -- 2.39.5