Closed dimitre closed 2 years ago
I think originally I was worried about the float comparison so the idea was to round to an int, then compare that. Perhaps I forgot to then use the rate
variable. If the existing logic works fine, I can remove rate
but I'm leaning towards using it within the comparisons instead of fps.
AH nevermind, it's a double comparison so it's probably been fine.
Removed in latest commit.
Closing here, Thanks for the great addon @danomatika
I've just noticed this var is unused, so maybe it can be removed. or you intended to use as fps. https://github.com/danomatika/ofxMidi/blob/56f15102806e8372c144f73559681cbcfbf67cfe/src/ofxMidiTimecode.cpp#L113 Cheers