lilypond-user
[Top][All Lists]
Advanced

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

Re: tempo in midi {}


From: Nick Payne
Subject: Re: tempo in midi {}
Date: Fri, 17 Feb 2012 21:35:29 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120129 Thunderbird/10.0

On 17/02/12 18:41, Martin Tarenskeen wrote:

Hi,

If I want to specify a tempo in my midi but not in my printed score, the docs tell me to do something like this:

\score {
  ...music...
  \midi {
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 72 4)
    }
  }
}

IMO this is an ugly construction for something basic like this.
But I am getting equally satisfying results when I do a much more intuitive:

\score {
  \tempo 4=72
  ...music..
  \midi {}
}

and I put the layout {} in a separate \score, without the \tempo indication.

You could just use:

\score {
  \tempo 4=72
  \set Score.tempoHideNote = ##t
  ...music..
  \midi {}
}

That's the suggestion in the NR - p.62 of the 2.15.29 PDF.

Nick


reply via email to

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