bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: Either Midi output or pdf


From: Xavier Scheuer
Subject: Re: Bug: Either Midi output or pdf
Date: Fri, 5 Aug 2011 17:08:50 +0200

On 5 August 2011 17:02, PaulvdM <address@hidden> wrote:
>
> When I add
>    \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 56 2)
> }  }
>
> to the score part, I only get a midi file (no pdf), when I comment that part
> I get the expected pdf

You need to add  \layout { }  within your \score block.
This is explained in NR 3.5.1 Creating MIDI files

  If there is a \midi block in a \score with no \layout block, only
  MIDI output will be produced.  When notation is needed too, a
  \layout block must also be present.

    \score {
      ...music...
      \midi { }
      \layout { }
    }

http://lilypond.org/doc/v2.14/Documentation/notation/creating-midi-files.html

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]