Files
Cagire/docs/engine/words.md

556 B

Words & Sounds

Word definitions let you abstract sound design into reusable units.

Defining Sounds

: lead "saw" s 0.3 gain 1200 lpf ;

Use it with different notes:

c4 note lead .
e4 note lead .

Self-Contained Words

Include the emit to make the word play directly:

: kk "kick" s 1 decay . ;
: hh "hihat" s 0.5 gain 0.5 decay . ;

Steps become simple:

kk
0.5 at hh

Effect Presets

: dark 800 lpf 0.6 lpq ;
: wet 0.7 verb 8 verbdiff ;
c4 note saw s dark wet .