Repeat
ptolemy.domains.sdf.lib.Repeat

An actor that repeats a block of input tokens the specified number of times on the output. On each firing, it reads blockSize tokens and repeats each block numberOfTimes times on the output. Note that this causes a sample rate increase by a factor of numberOfTimes, and hence affects the number of invocations of downstream actors.

Author(s): Shankar Rao, Steve Neuendorffer
Version:$Id: Repeat.java,v 1.35 2005/07/08 19:58:45 cxh Exp $
Pt.Proposed Rating:Yellow (neuendor)
Pt.Accepted Rating:Yellow (neuendor)




numberOfTimes
The repetition factor. It is of type integer and has a default value of 2. It must be greater than zero.

blockSize
The number of tokens in a block. It is of type integer and has a default value of 1. It must be greater than zero.