ExtensionVelvet noise is defined as a series of single +/-1 impulses, separated by random amounts of silence.
Pvelvet outputs a single value from the source pattern; then, it gets the "length" of this segment (num) and fills out the segment with num-1 values from the zero pattern.
For true velvet noise, zero should simply be 0. In this implementation, it may be a pattern of changing values to intersperse.
Create an instance.
| pattern |
The source pattern for the "impulses." The default is |
| num |
The "duration" for the current impulse, measured as the number of output values (not clock time). Values will be clipped such that num >= 1. |
| zero |
For each "impulse," |
The instance.