# RangeOscillate (of `Cycle`)

class `RangeOscillate`

  Defined in RangeOscillate.sc.

  This cycler is similar to `Oscillate`, but lets you specify specific first and last cels between which to oscillate (range oscillate).

  Sample usage:

      ; Make the star cycle 5 times between cel 2 and 7.
      (star setCycle: RangeOscillate 5 2 7)

## Properties

Inherited from `Cycle`:

Property | Description
--- | ---
name |
client |
caller |
cycleDir |
cycleCnt |
completed |

Defined in RangeOscillate:

Property | Description
--- | ---
cycles |
firstC |
lastC |

## Methods

`init`(theClient theCycles theFirstC theLastC theCaller)

  Parameters: | theClient (heapPtr) – The `Prop` to which this is attached. theCycles (number) – The number of times to cycle, or -1 to cycle indefinitely. theFirstC (number) – The cel at which to start. theLastC (number) – The cel at which to end. theCaller (heapPtr) – Optional object to be cue()’d when the cycle is complete.

`doit`()

`cycleDone`()