svelte-audio-renderer

Limitations

What the renderer doesn't do, and what to use instead.

One parent per node

Nesting describes a tree, so one node can't feed two places, for example a splitter's outputs going to different nodes. Use audioNode and call connect() yourself for fan-out and feedback.

Nothing renders during SSR

Custom-renderer components render nothing on the server. They start in the browser after the page loads.

Creation options are read once

Changing a creation option after the node exists does nothing, as in Web Audio. Wrap the element in {#key value} to recreate it.

Custom renderers are experimental

The custom renderer API in Svelte is behind a flag, and it may change before the flag is removed.