}
private int deltas[] = new int[4];
private void addEventToTrack(MfiContext mfiContext, long tick, Track mfiTrack, int mfiTrackNumber, MfiEvent mfiEvent) {
MfiMessage mfiMessage = mfiEvent.getMessage();
deltas[mfiTrackNumber] += mfiMessage.getDelta();
double tickDash = deltas[mfiTrackNumber] * mfiContext.getScale();
if ((tickDash / tick) * 100 < 95 && (tickDash / tick) * 100 != 0 && !(mfiMessage instanceof NopMessage))
Debug.println(Level.SEVERE, String.format("XXXXX track: %d, tick: %d, tick': %.2f (%.2f), %d, %s\n",
mfiTrackNumber,
tick,