Skip to content

Creating & configuring sequences

madmagic007 edited this page Jan 7, 2025 · 4 revisions

Commands

Starting a sequence

/rv (fixture/group) startsequence <sequenceName> <fixture/group name>
Starts the defined sequence on the defined fixture or groups.
Starting a new sequence on a fixture that is already running a sequence, stops the already running sequence and starts the new one. This will not apply the final state of the stopped sequence before starting the new one.

Stopping a sequence

/rv (fixture/group) stopsequence <fixture/group name>
Stops the sequences which are running on the defined fixture or group.
If a sequence is started on a group, and stopped on an individual fixture, only that fixture will stop, the others will continue.
Stopping a fixture or group itself (/sv (fixture/group) stop <fixture/group name>), will also stop the sequence on it from running.
When stopped, the defined final state will get applied.

Config

To create sequences, edit plugins/RaveVisuals/sequences.yml.
Each root key is a new sequence.
Make individual sequences structured like following:

strobe:
    repetitions: 0
    initial:
        enable: true
    final:
        enable: false
    sequence:
        0:
            delay: 1
            enable: false
        1:
            delay: 1
            enable: false

coolLaserEffect:
    repetitions: 5
    initial:
        effect: particle
        particle: dust
        color: '#0071FD'
        motion: upDown
    final:
        state: idleState
    sequence:
        0:
            delay: 50
            color: '#DF1700'
            motion: leftRight
        1:
            delay: 50
            color: '#0071FD'
            motion: upDown

example:
    repetitions: 1
    initial:
        state: enabledState
    final:
        enable: false
    sequence:
        0:
            delay: 10
            state: state1
        1:
            delay: 10
            state: state2
        2:
            delay: 30
            sequence: strobe
        3:
            delay: 50
            sequence: coolLaserEffect
        4:
            delay: 500
            effect: guardian
            motion: exampleMotion

repetitions:

Integer value defining how many times it loops. Set to 0 to run indefinetly untill stopped externally.

initial:

Can contain any value(s) from states. Can also be a state name reference by putting: state: stateName instead.
This state gets applied before the loop excecutes. Not included in the loop.
Optional, can be omitted.

final:

Can contain any value(s) from states. Can also be a state name reference by putting: state: stateName instead.
This state gets applied after the sequence has finished looping or stopped externally. Not included in the loop.
Optional, can be omitted.

sequence:

Ordered numerical list, executed in sequential order.

sequence list item:

delay: Integer value in ticks it will wait before executing this section.
Followed by any value(s) from states. Can also be a state name reference by putting: state: stateName instead.

Clone this wiki locally