Grace note, count-in and BPM
Description If the first note is a grace note and the BPM is something other than 120, the metronome count-in reverts back to 120 before then correctly changing the bpm just before the first note.
To Reproduce See attached video
- create a new PTE file
- Make sure metronome is on and count-in is on.
- change the BPM at the first note to something other than the default 120
- add some notes, with the very first note being a grace note
- play the midi player
- observe the count-in is incorrect at 120bpm.
Additional Info If applicable, add a screenshot or attach an example file that demonstrates the issue.
https://github.com/user-attachments/assets/70a7ff3f-ec25-425f-83fa-bc5842ec7cca
Version If applicable, include your operating system (e.g. Windows 10) and which version of Power Tab Editor (e.g. Alpha 12) you are using
Confirmed, thanks for the report!
I think the problem is that grace notes are inserted into the midi file slightly before the beat, so in this case they end up being processed before the tempo change event and cause the count-in to use the default tempo