Chapter 2 of 10

Get started

Companion lab · Read full chapter in the guide →

Boot a page with renderDevice(), confirm the graph reached the engine with didEmit, and recover from lost first commits on hub URLs.

In this lab you will

Minimal pattern

function renderDevice() {
  const tone = wax.mul(wax.cycle(440), 0.15);
  wax.render(tone, tone);
  if (!wax.didEmit() && wax.reemitLast) wax.reemitLast("retry");
}

Try it

Minimal tone · Hybrid tone

Example code
Loading…