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.

W<strong>in</strong>ds 328<br />

<br />

<br />

<br />

Graphical and text woodw<strong>in</strong>d diagrams<br />

In many cases, the keys other than the central column can be displayed by key name as well as<br />

by graphical means.<br />

\relative c'' {<br />

\textLengthOn<br />

c1^\markup<br />

\woodw<strong>in</strong>d-diagram<br />

#'piccolo<br />

#'((cc . (one three))<br />

(lh . (gis))<br />

(rh . (ees)))<br />

}<br />

c^\markup<br />

\override #'(graphical . #f) {<br />

\woodw<strong>in</strong>d-diagram<br />

#'piccolo<br />

#'((cc . (one three))<br />

(lh . (gis))<br />

(rh . (ees)))<br />

}<br />

<br />

<br />

<br />

E <br />

G <br />

Recorder f<strong>in</strong>ger<strong>in</strong>g chart<br />

The follow<strong>in</strong>g example demonstrates how f<strong>in</strong>ger<strong>in</strong>g charts for w<strong>in</strong>d <strong>in</strong>struments can be realized.<br />

% range chart for paetzold contrabass recorder<br />

centermarkup = {<br />

\once \override TextScript #'self-alignment-X = #CENTER<br />

\once \override TextScript #'X-offset =#(ly:make-simple-closure<br />

`(,+<br />

,(ly:make-simple-closure (list<br />

ly:self-alignment-<strong>in</strong>terface::centered-on-x-parent))<br />

,(ly:make-simple-closure (list<br />

ly:self-alignment-<strong>in</strong>terface::x-aligned-on-self))))<br />

}<br />

\score {<br />

\new Staff \with {

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

Saved successfully!

Ooh no, something went wrong!