Duration buildDurationFramesPerSecond(int framesPerSecond) => Duration(milliseconds: convertFramesPerSecondsToMilliseconds(framesPerSecond));