Skip to content

v0.2.0 — support context sample rates and render quanta - #55

Merged
yuichkun merged 3 commits into
mainfrom
release/v0.2.0
Nov 12, 2026
Merged

yuichkun merged 3 commits into
mainfrom
release/v0.2.0

Conversation

@yuichkun

@yuichkun yuichkun commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

den 0.1.0 used 128-sample audio loops to visit FFT buffers and compiled the playground only for 48 kHz. This release upgrades to unworklet 0.6.0, uses fixed-count buffer loops, and compiles for the actual AudioContext sample rate and render quantum. Persistent hop phase now survives snapshots taken between 128-sample boundaries.

Upgrade: update the unworklet packages to 0.6.0 together and pass ctx.renderQuantumSize to the affected spectral, convolution, spatial-chain and resident time-stretch constructors. Host-side prepared-convolution packets keep their existing shape. See the 0.2.0 changelog and migration example. Smaller or non-dividing quanta can require more eager FFT/search work; this is not a new real-time capacity guarantee.

The playground also waits for arriving input before its spectral-freeze example captures startup history, fixing a reproduced delayed-source race.

Validation:

  • Clean locked installation, TypeScript check, and release package inspection (191 public files).
  • Independent DFT/WOLA/FIR and WSOLA comparisons at 44.1/48/96 kHz with quanta 32/128/256, including non-128 snapshot boundaries and a quantum-48 case.
  • FFT capacity limits, guard buffers, and existing convolution/spatial regressions.
  • Packed native browser consumers and playground context switching, including 44.1/96 kHz × 32/256.
  • The full Entry gate passed on the reviewed head: 1,103 numerical tests, 94 packed/browser tests, 2 realtime tests, and all 54 playground examples. Publication reruns the gate on the merge commit.

Audio remains CANDIDATE; existing listening-approval and real-time limitations are unchanged.

@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
den Ready Ready Preview Nov 12, 2026 1:51pm UTC

Request Review

@yuichkun
yuichkun marked this pull request as ready for review November 12, 2026 13:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T13:57:34.567674Z ef16200 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@yuichkun
yuichkun merged commit 4ce7e0f into main Nov 12, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — ef162007 Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant