On 2025-03-26 21:37, Ben Engbers wrote:
What do I need to do to play the midi at a different tempo (BPM=90)?

In addition to the answer you already received:

If you don't want any tempo indication in the printed output, just set the tempo for the midi file, using

\score{

  ...

  \layout{}

  \midi{ \tempo 4=90 }

}

If you have tempo changes in the middle of a piece, you have to insert the \tempo ... commands within the music and if you in such situations don't want the metronome indications to appear in the printed output, you can turn it off by setting tempoHideNote. Example:

\version "2.24.0"

music = \relative c'{
\tempo "Adagio" 4=50
c4 d e f |
g f e d |
\section
\tempo "Presto" 4 = 300
c e g c |
g e c g |
c1 |
\fine
}

\score{
  \new Staff \music
  \layout{
    \context{
      \Score
      tempoHideNote = ##t
    }
  }
  \midi{}
}


    /Mats


Reply via email to