Class JPosScrollCommand

Linearly transition cursor's position to a different position on a bar. Can be placed in the middle of a measure.

Example:

#BPMCHANGE 120
#JPOSSCROLL 2 760 1
#SCROLL 0.8
1111,
#JPOSSCROLL 2 760 0
#SCROLL -0.8
2222,

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

commandType: CommandType

The direction of the scroll.

distance: number

The relative distance in pixels to move the cursor.

time: number

The amount of seconds it takes for cursor to transition. If it takes too long before another #JPOSSCROLL is passed, it will be cancelled and next transition will happen at the cursor's current position.

Methods

Generated using TypeDoc