Skip to content

How do you get Tempo changes? #146

Answered by melanchall
dreammixgames asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dreammixgames,

If TempoMap.GetTempoChanges() returns nothing then there are no tempo changes. Please provide your MIDI file and I can say more.

In MIDI file times of MIDI events are written as deltas (offsets from previous events) measured in ticks. I suppose in your file those deltas become just shorter from some point in time. But that's not a tempo change. I mean tempo change is a new Set Tempo event in a file. And if GetTempoChanges returns nothing, there are no such events.

So I'm waiting for the file.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@dreammixgames
Comment options

@dreammixgames
Comment options

Answer selected by dreammixgames
Comment options

You must be logged in to vote
2 replies
@melanchall
Comment options

@delphiguy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Just question about the library
3 participants