Hi Sarah.

You need a midi block which then needs to be in a score block.

\version "2.16.2"

\score {

\new Staff

\relative c' {

\key d\minor

\time 3/2

\set Staff.midiInstrument = #"Acoustic Grand"

<f, a d>2 <a d f> <d f a> |

<f bes d>4 <g e'>8 <a f'> <bes g'> <a f'> <g e'> <f d'> <e cis'>2 |

}

\midi {}

\layout {}

}


On 12/03/2013 2:31 PM, Sarah k Alawami wrote:
Cool. it worked!  Now why did the midi file not create? only the pdf. I don't' 
want to move on unless I know  my octaves are correct. in the right hand 
anyways. lol!

Thanks and be blessed.


On Mar 11, 2013, at 8:09 PM, wjm <mooney...@aim.com> wrote:

Hi,
If you move the opening curly brace to below the \relative line
and remove the \new Staff line altogether the result should compile with no 
bar-check errors and no, possibly unwanted, empty staff lines.
The altered result is below.
I hope this helps.
Regards
Bill

\relative c'
{
\key d\minor
\time 3/2

%\new Staff

\set Staff.midiInstrument = #"piano"

<f, a d>2 <a d f> <d f a> |
<f bes d>4 <g e'>8 <a f'> <bes g'> <a f'> <g e'> <f d'> <e cis'>2 |

}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to