Class: MlsGenInterface

MlsGenInterface()

MLSGenInterface provides a class for interfacing with the MLSGen WASM module.

Constructor

new MlsGenInterface()

Creates an instance of MlsGenInterface. Makes a call to the WASM glue code to load the WASM module.
Source:

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.
Source:

getImpulseResponse

Calculate and return the Impulse Response of the recorded signal.
Source:

getMLS

Calculate the Maximum Length Sequence (MLS) with period P = 2^N - 1 using the MLSGen WASM module.
Source:

setRecordedSignals

Given a recorded MLS signal, this function sets the recordedSignal property of the MLSGen object.
Source:

withGarbageCollection

A Higher-Order function that takes an async callback function that access the MLSGen object, providing safe garbage collection.
Source: