Jump to content

Changing the tempo without a metronome mark: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
No edit summary
Line 20: Line 20:
[[Category:Midi]]
[[Category:Midi]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]][[Category:Snippet]]

Revision as of 22:49, 21 November 2025

To change the tempo in MIDI output without printing anything, make the metronome mark invisible.

\version "2.24"

\score {
  \new Staff \relative c' {
    \tempo 4 = 160
    c4 e g b
    c4 b d c
    \set Score.tempoHideNote = ##t
    \tempo 4 = 96
    d,4 fis a cis
    d4 cis e d
  }
  \layout { }
  \midi { }
}