Interface IHasRepeats

A hit object that spans some length.

interface IHasRepeats {
    duration: number;
    endTime: number;
    nodeSamples: HitSample[][];
    repeats: number;
    spanDuration: number;
    spans: number;
}

Hierarchy (view full)

Properties

duration: number

The duration of the hit object.

endTime: number

The time at which the hit object ends.

nodeSamples: HitSample[][]

The samples to be played when each node of the IHasPath is hit. 0: The first node. 1: The first repeat. 2: The second repeat. ... n-1: The last repeat. n: The last node.

repeats: number

The amount of times the hit object repeats.

spanDuration: number

The duration of a single span.

spans: number

The number of spans of the hit object.