# Does midi tempo depend on the time signature?

**URL:** <https://forum.juce.com/t/does-midi-tempo-depend-on-the-time-signature/15745>\
**Category:** General JUCE discussion\
**Created:** [October 21, 2015, 2:40pm UTC](https://forum.juce.com/t/does-midi-tempo-depend-on-the-time-signature/15745 "2015-10-21T14:40:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oxxyyd](https://avatars.discourse-cdn.com/v4/letter/o/e47c2d/32.png) [@oxxyyd](https://forum.juce.com/u/oxxyyd)\
**Post date:** [October 21, 2015, 2:40pm UTC](https://forum.juce.com/t/does-midi-tempo-depend-on-the-time-signature/15745/1 "2015-10-21T14:40:12Z")

</div>

No I would say, you're not expected to play twice as fast just because you change the time signature of a melody from 4/4 to 2/4. It's supposed to have the same speed in bpm (e.g 100) regardless of if it's played in 5/4 or 7/12 beats per bar or whatever.

So you could just as well skip the line

```
findAllTimeSigEvents (tempoEvents);
```

in MidiFile::convertTimestampTicksToSeconds(). It won't change the tempo of the midi file, just eat cpu cycles. And after all, if the time signature event indeed was supposed to contribute to the timestamp calculations, wouldn't you have to inspect its content?

&nbsp;

---

<div class="post-metadata">

**Author:** ![jgerrard](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@jgerrard](https://forum.juce.com/u/jgerrard)\
**Post date:** [October 22, 2015, 10:47am UTC](https://forum.juce.com/t/does-midi-tempo-depend-on-the-time-signature/15745/2 "2015-10-22T10:47:37Z")

</div>

Seeing as tempo is measured in BPM, I'd be surprised if the time signature affected it. For example, if you went from 2/4 to 4/4, the BPM would not change&nbsp;whilst&nbsp;the number of bars would.

So based upon this, it looks like you're right! We'll investigate further just to be sure, and if it turns out to be superfluous, remove it.

Thank you!
