waddlesplash / QMidi

Qt library for MIDI output & MIDI file I/O.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can i change tempo in real time playing.

pie62 opened this issue · comments

commented

I see your code in

for (QMidiEvent* e : events) {

and i try to change tempo (BPM) in real time playing, But not working.
So can you recommend me how ?

If you just want to change speed, it should be more or less easy to do that -- just apply some sort of scaling factor to the ms times. Otherwise, you'll need to modify the Tempo events.