fix: doc example

This commit is contained in:
Felix Roos 2025-01-31 08:26:09 +01:00
parent 1f5f1a63a6
commit bcb1da826e
No known key found for this signature in database

View File

@ -54,8 +54,8 @@ Here's a simple example that uses device motion to control a synthesizer:
client:idle client:idle
tune={`enableMotion() tune={`enableMotion()
// Create a simple melody // Create a simple melody
$:n("0 1 3 5"). $:n("0 1 3 5")
.scale("C major") .scale("C:major")
// Use tilt (gravity) to control filter // Use tilt (gravity) to control filter
.lpf(gravityY.range(200, 2000)) // tilt forward/back for filter cutoff .lpf(gravityY.range(200, 2000)) // tilt forward/back for filter cutoff
// Use rotation to control effects // Use rotation to control effects