Audio & MIDI

MIDI tempo event builder

Generate FF 51 tempo-event bytes from a quarter-note BPM value.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Microseconds per quarter note = round(60,000,000/BPM). Store that integer in three big-endian bytes after FF 51 03.

120 BPM gives 500,000 microseconds: FF 51 03 07 A1 20.

Limits

Output excludes delta-time and track wrapping. Rounded microseconds can make the represented BPM differ slightly from the input.