Function createModule

  • This function creates AudioWorklet script as Data URL.

    Parameters

    • processor: new (options: AudioWorkletNodeOptions) => AudioWorkletProcessor

      This argument is class that extends AudioWorkletProcessor.

    Returns string

    Return value is AudioWorklet script as Data URL.