From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Sun Jun 27 09:25:09 2021
Is this function true regardless of the OLDBPM?
BPM is sort of a general meaure of the beat speed.

It seem true to me "but my clcok does not always tick".....

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){
//TickTime "length ms of a tick" 1/QPS
track[i].midiMess[j].time=track[i].midiMess[j].time*percBPM;
}
}
}
}

--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
• From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Sun Jun 27 10:05:52 2021
söndag 27 juni 2021 kl. 18:25:15 UTC+2 skrev Jonas Thörnvall:
Is this function true regardless of the OLDBPM?
BPM is sort of a general meaure of the beat speed.

It seem true to me "but my clcok does not always tick".....

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){
//TickTime "length ms of a tick" 1/QPS track[i].midiMess[j].time=track[i].midiMess[j].time*percBPM;
}
}
}
}
Well not true in the true sense but true in the sense giving correct BPM

--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)