From bcb1da826ef4ae52a06b682782f9368bacc74c1f Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 31 Jan 2025 08:26:09 +0100 Subject: [PATCH] fix: doc example --- packages/motion/docs/devicemotion.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/motion/docs/devicemotion.mdx b/packages/motion/docs/devicemotion.mdx index ebf1dbc4..9afccc89 100644 --- a/packages/motion/docs/devicemotion.mdx +++ b/packages/motion/docs/devicemotion.mdx @@ -54,8 +54,8 @@ Here's a simple example that uses device motion to control a synthesizer: client:idle tune={`enableMotion() // Create a simple melody -$:n("0 1 3 5"). -.scale("C major") +$:n("0 1 3 5") +.scale("C:major") // Use tilt (gravity) to control filter .lpf(gravityY.range(200, 2000)) // tilt forward/back for filter cutoff // Use rotation to control effects