five-on-it / apps/client/src/renderer/clips / Clip
Interface: Clip
Defined in: apps/client/src/renderer/clips.ts:51
One clip of the library.
Properties
duration
readonlyduration:number
Defined in: apps/client/src/renderer/clips.ts:54
Its length (s).
layer
readonlylayer:"full"|"upper"
Defined in: apps/client/src/renderer/clips.ts:58
full keys the whole figure; upper only the parts it has channels for.
loop
readonlyloop:boolean
Defined in: apps/client/src/renderer/clips.ts:56
Whether it loops; else it plays once and holds its last key.
name
readonlyname:string
Defined in: apps/client/src/renderer/clips.ts:52
parts
readonlyparts: readonly (Channel|undefined)[]
Defined in: apps/client/src/renderer/clips.ts:62
The keys of each part by its index in FIGURE_PARTS; none for a part the clip leaves alone.
root
readonlyroot:Channel|undefined
Defined in: apps/client/src/renderer/clips.ts:64
The root's keys (a full clip).
stride
readonlystride:number
Defined in: apps/client/src/renderer/clips.ts:60
Metres one cycle covers (a walk, a run), played by the distance; 0 for a clip played by time.