Skip to content

@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

readonly part: TimeSpan

Defined in: pattern.ts:39


value

readonly value: T

Defined in: pattern.ts:40


whole?

readonly optional whole?: TimeSpan

Defined in: pattern.ts:38