Skip to content

Releases: Smona/faust-loader

v1.3.0: Adds the option to inline generated code

22 Jul 03:30
v1.3.0
717d22c
Compare
Choose a tag to compare

Rather than emitting separate files for each WASM module and AudioProcessor, you can now enable inline mode to embed the content of those files into the JavaScript bundle as base64 data URLs. This means using faust-loader no longer requires a web server in your project to work, and now supports single-file builds. Code splitting is still supported with inline mode via dynamic imports.

The default behavior remains unchanged. To enable inline mode, add inline: true to your loader options for faust-loader. Inline mode will likely become the default in a future major version.

v1.2.3: More robust script shebangs

10 Jan 03:36
v1.2.3
3e04dfe
Compare
Choose a tag to compare

The script was failing to run in some environments, notably a pure nix shell. This is the more modern way to resolve bash in shebangs and should be supported on all platforms

fix: Support multiple (possibly offline) audio contexts

08 Sep 03:46
b2a53e4
Compare
Choose a tag to compare

Merged PR #8:

  • Allows the use of one .dsp file in multiple audio contexts.
  • Adds a test case for OfflineAudioContext support.
  • Excludes unnecessary files from the npm package.

Fix Readme Syntax Highlighting

06 Sep 00:02
1877d17
Compare
Choose a tag to compare
v1.2.1

Merge pull request #6 from Smona/fix-readme-highlighting

v1.2.0

30 Jun 16:10
8c6ff65
Compare
Choose a tag to compare

Improves performance of DSP loading by better caching WASM module & AudioWorkletProcessor fetching.

Now, each DSP file will only be loaded and compiled once, no matter how many instances of it are created.

v1.1.0

22 Jun 00:14
877de88
Compare
Choose a tag to compare

Exports relevant Typescript types, and adds instructions for creating a declaration file so that imported modules are automatically typed.

Faust Loader v1

18 Jun 21:38
ca5ce00
Compare
Choose a tag to compare

This marks the point when the loader is working, and requirements have been nailed down! You should be able to use this now without too many surprises. The API is expected to be stable for a while as I start working with this loader in my projects, but there's still a lot of room for improvements going forward.

Bundle faust2wasm

17 Jun 18:46
faf8468
Compare
Choose a tag to compare

Many installations of the faust compiler won't include the faust2wasm command needed to generate output files. But this bundled version will hopefully work with them.