Audio & MIDI
MIDI time-signature event
Generate the four data bytes of a MIDI time-signature meta event.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Encode the denominator as log₂(denominator). The event is FF 58 04 followed by numerator, exponent, clocks and notated 32nd notes.
Standard 4/4 with 24 clocks and 8 notated 32nds becomes FF 58 04 04 02 18 08.
Limits
Output excludes delta-time. A time-signature event does not itself change tempo.