Constructor
new MlsGenInterface()
Creates an instance of MlsGenInterface. Makes a call to the WASM glue code to load the
WASM module.
Members
factory
Factory function that provide an asynchronous function that fetches the WASM module and
returns a promise that resolves when the module is loaded.
getImpulseResponse
Calculate and return the Impulse Response of the recorded signal.
getMLS
Calculate the Maximum Length Sequence (MLS) with period P = 2^N - 1 using the MLSGen
WASM module.
setRecordedSignals
Given a recorded MLS signal, this function sets the recordedSignal property of the
MLSGen object.
withGarbageCollection
A Higher-Order function that takes an async callback function that access the MLSGen
object, providing safe garbage collection.