Skip to content

@liminal-hq/undertone / LoopStopOptions

Interface: LoopStopOptions ​

Defined in: scheduler.ts:58

Options for stopping a loop.

Extends ​

Properties ​

fade? ​

optional fade?: number

Defined in: engine.ts:90

Fade-out length in seconds before the voice is silent. Default 0.01.

Inherited from ​

StopOptions.fade


voices? ​

optional voices?: "ring" | "cut"

Defined in: scheduler.ts:64

What happens to voices already scheduled or sounding. 'ring' (default) lets them finish naturally; 'cut' fades them out now, including notes booked into the lookahead window that have not started yet.