fbpx


The MIDI Forum

  Friday, 02 July 2021
  1 Replies
  7.8K Visits
5
Votes
Undo
  Subscribe
I can see there may be a historical reason for the delta times, but is there still a "good reason" to keep them in favour over realtime?
In my sequencer "not exactly midi" i just do function below to recalculate bpm to any?

It seem the deltatimes and odd bit format make the files ***alot*** harder to read/readout.

function reCalcNotesTime(BPM){
percBPM=OLDBPM/BPM;
for (var i=1;i<maxtrack;i++){
for (var j=0;j< track[i].midiMess.length;j++){
if (track[i].midiMess[j].time!=0){
track[i].midiMess[j].time=track[i].midiMess[j].time*percBPM;
}
}
}
}
0
Votes
Undo
The whole point of the SMF format is interoperability. Changing it would break a large amount of software.
  • Page :
  • 1
There are no replies made for this post yet.