dur_to_frames.Rd
return the number of frames associated with a specific duration (in ms)
dur_to_frames(duration, refresh_rate)
the duration in ms
the monitor refresh rate (e.g. 60)
the number of frames