10.04.2013 Views

in Snippets - LilyPond

in Snippets - LilyPond

in Snippets - LilyPond

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chords 230<br />

Chords<br />

Section “Chord notation” <strong>in</strong> Notation Reference<br />

Add<strong>in</strong>g a figured bass above or below the notes<br />

When writ<strong>in</strong>g a figured bass, you can place the figures above or below the bass notes, by def<strong>in</strong><strong>in</strong>g<br />

the BassFigureAlignmentPosition<strong>in</strong>g #'direction property (exclusively <strong>in</strong> a Staff context).<br />

Choices are #UP (or #1), #CENTER (or #0) and #DOWN (or #-1).<br />

This property can be changed as many times as you wish. Use \once \override if you don’t<br />

want the override to apply to the whole score.<br />

bass = {<br />

\clef bass<br />

g4 b, c d<br />

e d8 c d2<br />

}<br />

cont<strong>in</strong>uo = \figuremode {<br />

4 4 4<br />

\override Staff.BassFigureAlignmentPosition<strong>in</strong>g #'direction = #UP<br />

%\bassFigureStaffAlignmentUp<br />

< _+ >4 <br />

\set Staff.useBassFigureExtenders = ##t<br />

\override Staff.BassFigureAlignmentPosition<strong>in</strong>g #'direction = #DOWN<br />

%\bassFigureStaffAlignmentDown<br />

4. 8 4<br />

}<br />

\score {<br />

><br />

}<br />

6 6<br />

<br />

5<br />

<br />

Add<strong>in</strong>g bar l<strong>in</strong>es to ChordNames context<br />

4<br />

<br />

To add bar l<strong>in</strong>e <strong>in</strong>dications <strong>in</strong> the ChordNames context, add the Bar_engraver.<br />

\new ChordNames \with {<br />

\override BarL<strong>in</strong>e #'bar-extent = #'(-2 . 2)<br />

\consists "Bar_engraver"<br />

}<br />

\chordmode {<br />

f1:maj7 f:7 bes:7<br />

}<br />

F F 7<br />

B 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!