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.

MIDI 485<br />

Chang<strong>in</strong>g the tempo without a metronome mark<br />

To change the tempo <strong>in</strong> MIDI output without pr<strong>in</strong>t<strong>in</strong>g anyth<strong>in</strong>g, make the metronome mark<br />

<strong>in</strong>visible.<br />

\score {<br />

\new Staff \relative c' {<br />

\tempo 4 = 160<br />

c4 e g b<br />

c4 b d c<br />

\set Score.tempoHideNote = ##t<br />

\tempo 4 = 96<br />

d,4 fis a cis<br />

d4 cis e d<br />

}<br />

\layout { }<br />

\midi { }<br />

}<br />

= 160<br />

<br />

<br />

<br />

<br />

<br />

Demo MidiInstruments<br />

<br />

<br />

Problem: How to know which midiInstrument would be best for your composition? Solution:<br />

A <strong>LilyPond</strong> demo file.<br />

\header {<br />

title = "Demo of all midi sounds"<br />

arranger = "Myself "<br />

}<br />

baseMelody = \relative c' {<br />

c4.\mf g c16 b' c d<br />

e16 d e f g4 g'4 r<br />

R1<br />

}<br />

melody = {<br />

\tempo 4 = 150<br />

\baseMelody<br />

}<br />

\score {<br />

\new Staff ><br />

\layout { }<br />

}<br />

\score {<br />

\new Staff

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

Saved successfully!

Ooh no, something went wrong!