Interface SongLoop

Options available for Song#loop.

These properties are not used within nbs.js for anything other than storage.

They only exist as data fields to work with other applications that implement functionality.

interface SongLoop {
    enabled: boolean;
    startTick: number;
    totalLoops: number;
}

Properties

enabled: boolean

Whether looping is enabled.

startTick: number

Where the song should loop back to.

Unit is ticks.

totalLoops: number

Number of times the song should loop.

0 designates infinite.