@liminal-hq/undertone / Hap
Interface: Hap<T>
Defined in: pattern.ts:37
One event returned by querying a pattern. part is the fragment of the event inside the queried span; whole is the event's full extent, which may reach outside the query. An event is an onset (actually triggers a voice) only when part starts exactly where whole does — see hasOnset().
Type Parameters
T
T
Properties
part
readonlypart:TimeSpan
Defined in: pattern.ts:39
value
readonlyvalue:T
Defined in: pattern.ts:40
whole?
readonlyoptionalwhole?:TimeSpan
Defined in: pattern.ts:38