-
Notifications
You must be signed in to change notification settings - Fork 4
brownian
the-drunk-coder edited this page Dec 31, 2019
·
1 revision
Define a bounded brownian motion on a parameter.
- lower boundary (float)
- upper boundary (float)
-
:wrap
(boolean) (t) - wrap value if it reaches lower or upper boundary -
:limit
(boolean) (nil) - limit value if it reaches upper or lower boundary -
:step-size
(float) (0.1) - step that the parameter will be incremented/decremented
(brownian <lower boundary> <upper boundary> :wrap <wrap> :limit <limit> :step-size <step-size>)
(s 'some ()
(always (rate (brownian 0.8 1.2)))
(nuc 'violin (violin 'a3)))