This article applies to:
E-Prime 3.0
E-Prime 2.0
Detail
RefreshAlignment is a feature thats assists with display timing. PST recommends that Duration values that are specified are divisible by the refresh duration. Specifying a millisecond value divisible is not always possible (e.g., 60hz monitor equates to 16.6666667ms per refresh). Furthermore, when specifying a refresh rate of 60hz, the actual value is not precisely 60.00000hz. It may be 59.98, 60.02, etc. Therefore, when an occasion arises where an object is schedule to display just after an expected refresh, RefreshAlignment permits the object to draw early.
RefreshAlignment is assigned via percentage values of the refresh. The default is 25%. Thus with 25%, on a 60hz monitor at 16.6667 per refresh, RefreshAlignment permits an object or movie frame to draw up to 4.1666ms early. The value can be changed in the Experiment Object as seen in the image below.
Below is a specific example to further explain the feature:
- TD1 and TD2 have a duration of 1000 each.
- TD1 draws at time 1234 and then TD2 is scheduled to display at time 2234.
- A hypothetical refresh is expected at time 2233.
- Without refresh alignment - TD2 displays at time 2249 (2233+16) making TD1 effective duration on screen = 1015 (2249-1234) and starting TD2 a refresh late.
- With refresh alignment - TD2 displays early at time 2233. This makes TD1 effective duration = 999 but with TD2 starting one ms away from its target instead of being 15ms late.
Comments
0 comments
Please sign in to leave a comment.