what
Generate impulses for a list of audio values
new what()
Methods
next(signal, threshold, mode, sync): [out1, out2]
Arguments
Name | Type | Default | Description |
---|---|---|---|
signal | number | ||
threshold | list | ||
mode | number | ||
sync | bool |
Returns
Name | Type | Description |
---|---|---|
out1 | number | Impulse |
out2 | number | Matched index |