Skip to main content

Web Components — Basic

Minimal <daw-editor> with the native Web Audio adapter. These are pure custom elements from @dawcore/components — React is only the page shell.

Loading...

What's in it

  • @dawcore/components — registers <daw-editor>, <daw-track>, transport elements
  • @dawcore/transport — NativePlayoutAdapter (zero deps, no Tone.js)
  • Five <daw-track src> children load audio via fetch on mount
  • <daw-transport for="wc-basic-editor"> binds the buttons to the editor by id

Run it locally

The same example as a standalone Vite app: pnpm example:dawcore-native → opens examples/dawcore-native/basic.html.

In Partnership With

Télécom Paris