Go to the source code of this file.
◆ ADSR_DRAIN_MAX_TICKS
| #define ADSR_DRAIN_MAX_TICKS 16 |
◆ ADSR_ONSET_MAX_SPINS
| #define ADSR_ONSET_MAX_SPINS 2000000 |
◆ ASSERT_ENVX_NEAR
| #define ASSERT_ENVX_NEAR |
( |
|
nominal, |
|
|
|
step, |
|
|
|
got |
|
) |
| |
Value:
cester_assert_true(seekDone)
#define ENVX_MARGIN(step)
◆ ATTACK
| #define ATTACK |
( |
|
step, |
|
|
|
shift, |
|
|
|
exp |
|
) |
| |
Value: (\
(((step) & 3) << 8) | \
(((shift) & 31) << 10) | \
(!!(exp) << 15))
◆ DECAY
Value: (\
(((shift) & 15) << 4))
◆ ENVX_INCREMENT
◆ ENVX_MARGIN
◆ RELEASE
| #define RELEASE |
( |
|
shift, |
|
|
|
exp |
|
) |
| |
Value: (\
(((shift) & 31) << 16) | \
(!!(exp) << 21))
◆ SUSTAIN
| #define SUSTAIN |
( |
|
step, |
|
|
|
shift, |
|
|
|
level, |
|
|
|
direction, |
|
|
|
exp |
|
) |
| |
Value: (\
(((step) & 3) << 22) | \
(((shift) & 31) << 24) | \
(((level) & 15) << 0) | \
(!!(direction) << 30) | \
(!!(exp) << 31))