fbpx
Skip to main content

MIDI Forum

Delta Times and tic...
 
Notifications
Clear all

Delta Times and ticks

2 Posts
2 Users
0 Reactions
10.2 K Views
Jonas
Posts: 207
Reputable Member
Topic starter
 

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.midiMess.length;j++){
if (track.midiMess[j].time!=0){
track.midiMess[j].time=track.midiMess[j].time*percBPM;
}
}
}
}

 
Posted : 01/07/2021 11:24 pm
Clemens Ladisch
Posts: 323
Reputable Member
 

The whole point of the SMF format is interoperability. Changing it would break a large amount of software.

 
Posted : 02/07/2021 9:55 pm
Share: