Skip to content

@liminal-hq/undertone / ScoreDefinition

Interface: ScoreDefinition ​

Defined in: score.ts:33

Properties ​

events ​

events: readonly ScoreEvent[]

Defined in: score.ts:38


lengthTicks ​

lengthTicks: number

Defined in: score.ts:37

Length of one pass of the cue in ticks, including any rest at the end. This is the loop length.


seam? ​

optional seam?: "ring" | "cut"

Defined in: score.ts:44

What happens to a note still held when the cue loops. 'cut' (default) closes its gate at the seam, as classic chip music does; 'ring' lets the gate run on past it. Either way the instrument's release rings on.


ticksPerSecond ​

ticksPerSecond: number

Defined in: score.ts:35

Tick rate in ticks per second — for example 560 for AdLib IMF data.