Lingo Dictionary > O-R > puppetTempo |  |

puppetTempo

Syntax

    puppetTempo framesPerSecond

Description

Command; causes the tempo channel to act as a puppet and sets the tempo to the number of frames specified by `framesPerSecond`. When the tempo channel is a puppet, Lingo can override the tempo setting in the Score and change the tempo assigned to the movie.

It's unnecessary to turn off the puppet tempo condition to make subsequent tempo changes in the Score take effect.

Note: Although it is theoretically possible to achieve frame rates up to 30,000 frames per second (fps) with the puppetTempo command, you could do this only with little animation and a very powerful machine.

Example

This statement sets the movie's tempo to 30 fps:

    puppetTempo 30

Example

This statement increases the movie's old tempo by 10 fps:

    puppetTempo oldTempo + 10