int convertFramesPerSecondsToMilliseconds(int framesPerSecond) => Duration.millisecondsPerSecond ~/ framesPerSecond;