Write some amount of documentation

This commit is contained in:
2026-01-31 01:46:18 +01:00
parent e1c4987db5
commit 8cd0ec92c0
57 changed files with 2096 additions and 198 deletions

44
docs/vibrato.md Normal file
View File

@@ -0,0 +1,44 @@
# Vibrato
Add pitch vibrato to oscillator sounds.
## Basic Vibrato
```forth
"lead" s
60 note
5 vib ( vibrato rate in Hz )
0.5 vibmod ( vibrato depth )
.
```
## Vibrato Shape
Control the LFO waveform:
```forth
"pad" s
c4 note
4 vib
0.3 vibmod
0 vibshape ( 0=sine, other values for different shapes )
.
```
## Subtle vs Expressive
```forth
( subtle vibrato for pads )
"pad" s 3 vib 0.1 vibmod .
( expressive vibrato for leads )
"lead" s 6 vib 0.8 vibmod .
```
## Words
| Word | Stack | Description |
|------|-------|-------------|
| `vib` | (f --) | Set vibrato rate (Hz) |
| `vibmod` | (f --) | Set vibrato depth |
| `vibshape` | (f --) | Set vibrato LFO shape |