Skip to content

matchEvents

matchEvents(eventsFrom, eventsTo, options?): Int32Array<ArrayBufferLike>

Defined in: packages/pleco-xa/src/sequence/matching.js:199

Match one set of events to another (nearest neighbor with optional left/right constraints).

number[] | Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>

number[] | Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>

boolean = true

allow matches left of the source event.

boolean = true

allow matches right of the source event.

Int32Array<ArrayBufferLike>

for each source event, the matched target index.