What's the pragmatic way to use an audio worklet in Angular?

Discussão em 'Angular' iniciado por hillin, Dezembro 11, 2024.

  1. hillin

    hillin Guest

    I understand we can always load an audio worklet the native way (by using AudioContext.audioWorklet.addModule), but it requires us to write it in pure Javascript and handle dependency bundling ourselves. Is there a more natural to write an audio worklet in angular? - i.e. preferrably we could write it in Typescript and let angular bundle the dependencies for us.

    I saw Angular has web worker support but they does not seem to be quite the same thing.

    Continue reading...

Compartilhe esta Página