Work on documentation

This commit is contained in:
2026-01-31 15:03:20 +01:00
parent 1903d77ac1
commit c3f8ab5fb4
6 changed files with 500 additions and 0 deletions

43
docs/engine_words.md Normal file
View File

@@ -0,0 +1,43 @@
# Words & Sounds
Word definitions let you abstract sound design into reusable units.
## Defining Sounds
```forth
: lead "saw" s 0.3 gain 1200 lpf ;
```
Use it with different notes:
```forth
c4 note lead .
e4 note lead .
```
## Self-Contained Words
Include the emit to make the word play directly:
```forth
: kk "kick" s 1 decay . ;
: hh "hihat" s 0.5 gain 0.5 decay . ;
```
Steps become simple:
```forth
kk
0.5 at hh
```
## Effect Presets
```forth
: dark 800 lpf 0.6 lpq ;
: wet 0.7 verb 8 verbdiff ;
```
```forth
c4 note saw s dark wet .
```