Products Applications Downloads Features Wiki forum Store

Sequencer CHOP

From Wiki077
Jump to: navigation, search

Summary

The Sequencer CHOP sequences animations or single-sample snapshots that are stored in CHOPs, sequencing them one after the other in realtime. These CHOPs are listed in rows of a Table DAT. As each CHOP is sequenced, its row is removed from the table.

When the Sequencer CHOP is first created, a sample Table DAT is also created and Docked to it. Attach an Info CHOP to the Sequencer CHOP to watch the current state.

A script must add rows to the end of the table. The echo Command adds rows, as does the tabinsert Command. The sequencer Command may be used to manually insert a new CHOP into the current sequence. This will also restart paused Sequencer CHOPs.

Parameters - Sequencer Page

DAT List - The table of CHOPs to sequence, the table contains the paths to the CHOPs to be sequenced.

Reset - Reset the sequence to the default CHOP.

Speed - A multiplier controlling playback speed.

Play - Sequences when 1, otherwise stops playback of the sequence.

Step Forward - Moves forward one sample in the current CHOP when toggled.

Step Backward - Moves backward one sample in the current CHOP when toggled.

Options

The DAT List table holds one row for each CHOP to be sequenced. The first row is the column names. The second row is the default CHOP used when the DAT list is depleted or when the Sequencer CHOP is reset using the Reset parameter. The second row is never deleted.

Additional columns specify additional options. The columns are:

  • chop - The path to the next CHOP to be sequenced.
  • blendtime - The time in seconds to transition to the next CHOP. (If blendtime is blank, it is 0 seconds.)
  • end - There are three options for this column:
    • next - Forces the CHOP to be the next in the sequence order. (If end is blank, it is this option.)
    • repeat - Repeats the CHOP data until "repeat" is removed from the column or the sequencer Command moves the sequence forward.
    • hold - Holds the sequence at the end of the CHOP data until "hold" is removed from the column or the sequencer Command moves the sequence forward.
  • enable - When the enable column is 0 the CHOP will not be sequenced but the row remains in the DAT list. (Blank means it is enabled.)
  • interruptable - When the interruptable column is 0 the CHOP can not be interrupted or skipped via the sequencer Command. (Blank or 1 means it is interruptable.)
  • abort - When the abort column is 1 the CHOP is skipped and the row is deleted from the DAT list. (default 0)
  • requeue - When the requeue column is 1 it re-adds the row to the end of the table after playing. (default 0)


Sequencer Table Example

Below is an example of a table used for the DAT List of the Sequencer CHOP.

Note that the 2nd clip_glide in the sequence will repeat the clip_glide animation until the repeat is removed from the end column, or the sequencer Command is used to advance the sequence forward.

The last two clips in the sequence are not enabled, so the sequence will keep running the clip_slowflight animation until clip_dive or clip_land are re-enabled (possibly waiting for an event to enable them). These last two clips were also set to be not interruptable, since they do not transition (blend) into the other flying animations and must run to completion.

SequencerTable.png


Personal tools