fix errors in README.md

This commit is contained in:
nkymut 2024-11-27 01:16:06 +08:00
parent d741b4d17a
commit f01d51f76a

View File

@ -54,8 +54,8 @@ const pattern = sequence([
```javascript
// Use button values to control amplitude
$: sequence([
note("bd").gain(pad.X), // X button controls gain
note("[hh oh]").gain(pad.tglY), // Y button toggles gain
s("bd").gain(pad.X), // X button controls gain
s("[hh oh]").gain(pad.tglY), // Y button toggles gain
]);
// Use analog stick for continuous control