Sequencer object

Properties

Name
Type
Example
Description

seqId

String

"-N8o2dhQeHQXZ6Emr2I7"

The ID of a sequencer.

Methods

The sequencer object has the following methods:

Method
Return type
Description

-

Plays a sequence to time.

-

Seeks a sequence to time.

-

Sets the duration of a sequence.

-

Sets a sequencer payload.

-

Starts playing a sequence.

-

Stops playing a sequence.

play(time)

Plays a sequence to a specified time.

Parameters

Name
Type
Description

time

number

Time in seconds.

sequencer.play(10.5);

See also

getSequencer seek start stop

seek(time)

Seeks a sequence to a specified time.

Parameters

Name
Type
Description

time

number

Time in seconds.

See also

getSequencer play start stop

setDuration(duration)

Sets the duration of a sequence.

Parameters

Name
Type
Description

duration

number

Duration in seconds.

See also

getSequencer setPayload

setPayload(payload)

Sets the payload of a sequence.

Parameters

Name
Type
Description

payload

JSON

A payload defining a sequence's data and timing.

See also

getSequencer setDuration

start()

Starts playing a sequence.

stop()

Stops playing a sequence.

Last updated

Was this helpful?