This commit is contained in:
43
docs/engine_words.md
Normal file
43
docs/engine_words.md
Normal 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 .
|
||||
```
|
||||
Reference in New Issue
Block a user