@liminal-hq/undertone / LoopOptions
Interface: LoopOptions
Defined in: scheduler.ts:37
Properties
bpm?
optionalbpm?:number
Defined in: scheduler.ts:41
Tempo in beats per minute, four beats to a cycle. Default 120 (2-second cycles).
ctx?
optionalctx?:AudioContextLike
Defined in: scheduler.ts:39
Audio context to schedule against; a lazily-created shared AudioContext when omitted.
timer?
optionaltimer?:TimerLike
Defined in: scheduler.ts:43
Injectable timer (tests tick it by hand); defaults to global setInterval/clearInterval.