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.1 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 : 02/07/2021 12:24 am
Clemens Ladisch
Posts: 321
Reputable Member
 

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

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