From 685937911c5a4cac6e3c19dc76ce4c609fdf4a51 Mon Sep 17 00:00:00 2001 From: prezmop <60825986+prezmop@users.noreply.github.com> Date: Sat, 24 May 2025 05:55:04 +0900 Subject: [PATCH] correct the signnature of prepare() in README --- packages/superdough/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/superdough/README.md b/packages/superdough/README.md index 89b811b93..bb9787eca 100644 --- a/packages/superdough/README.md +++ b/packages/superdough/README.md @@ -92,7 +92,7 @@ superdough({ s: 'bd', delay: 0.5 }, 0, 1); - `deadline`: seconds until the sound should play (0 = immediate) - `duration`: seconds the sound should last. optional for one shot samples, required for synth sounds -### prepare() +### prepare(value) Informs superdough that a sound will be needed in the future. If the sound is a sample that is not loaded yet, it will be fetched.