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.

Fretted str<strong>in</strong>gs 306<br />

<br />

<br />

X<br />

C<br />

O O<br />

F<br />

1 1 2 4 3 1<br />

21<br />

3<br />

<br />

1 2 3<br />

32<br />

1<br />

<br />

<br />

This<br />

<br />

is<br />

<br />

my<br />

<br />

song.<br />

How to change fret diagram position<br />

<br />

G<br />

O O O<br />

<br />

I<br />

<br />

like<br />

C<br />

X O O<br />

<br />

<br />

to s<strong>in</strong>g.<br />

If you want to move the position of a fret diagram, for example, to avoid collision, or to place<br />

it between two notes, you have various possibilities:<br />

1) modify #’padd<strong>in</strong>g or #’extra-offset values (as shown <strong>in</strong> the first snippet)<br />

2) you can add an <strong>in</strong>visible voice and attach the fret diagrams to the <strong>in</strong>visible notes <strong>in</strong> that<br />

voice (as shown <strong>in</strong> the second example).<br />

If you need to move the fret accord<strong>in</strong>g with a rythmic position <strong>in</strong>side the bar (<strong>in</strong> the example,<br />

the third beat of the measure) the second example is better, because the fret is aligned with the<br />

third beat itself.<br />

harmonies = \chordmode<br />

{<br />

a8:13<br />

% THE FOLLOWING IS THE COMMAND TO MOVE THE CHORD NAME<br />

\once \override ChordNames.ChordName #'extra-offset = #'(10 . 0)<br />

b8:13 s2.<br />

% THIS LINE IS THE SECOND METHOD<br />

s4 s4 b4:13<br />

}<br />

\score<br />

{<br />

<br />

}<br />

>><br />

}

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

Saved successfully!

Ooh no, something went wrong!