waveset
A simple time stretch by repeating cycles.
Syntax
Initialization
ilen (optional, default=0) -- the length (in samples) of the audio signal. If ilen is set to 0, it defaults to half the given note length (p3).
Performance
ain -- the input audio signal.
krep -- the number of times the cycle is repeated.
The input is read and each complete cycle (two zero-crossings) is repeated krep times.
There is an internal buffer as the output is clearly slower that the input. Some care is taken if the buffer is too short, but there may be strange effects.
Examples
Here is an example of the waveset opcode. It uses the file waveset.csd.
See also
Credits
Author: John ffitch
February 2001
New in version 4.11