swanramp
Switch-and-ramp click compensation
new swanramp([options])Options
| Name | Type | Default | Description |
|---|---|---|---|
| ramp | number | 100 | Sets the duration of the down ramp in samples. |
Methods
next(signal, trigger): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| signal | number | ||
| trigger | number |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | number | Outputs the incoming signal mixed with the de-click ramp. |
reset(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 |