# Changing Frames per Second

**URL:** <https://psychtoolbox.discourse.group/t/changing-frames-per-second/1584>\
**Category:** Uncategorized\
**Created:** [February 1, 2006, 2:08pm UTC](https://psychtoolbox.discourse.group/t/changing-frames-per-second/1584 "2006-02-01T14:08:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike.lamprecht](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@mike.lamprecht](https://psychtoolbox.discourse.group/u/mike.lamprecht)\
**Post date:** [February 1, 2006, 2:08pm UTC](https://psychtoolbox.discourse.group/t/changing-frames-per-second/1584/1 "2006-02-01T14:08:13Z")

</div>

Is there a way using Screen to control how many frames are played per   
second?  
  
I am creating something similar to DriftDemo except the grating is   
full screen. I have gotten this far, but now I need to be able to   
control the frames per second in order to control the frequency of the   
sinusoid on the screen.  
  
In the end, this full screen sinusoid would flow at the same frequency   
as a TTL. Since I need these to be in sync, if I can control the FPS I   
hope to be able to start the TTL and the movie at the same time. Do   
you think I will need Simulink to create this in real time? I have no   
experience with Simulink or using Real Time components of MatLab and   
would love to do this without that hassle! :)  
  
Thanks for any help,  
Mike
