ar waveset ain, krep
A simple time stretch obtained by repeating cycles.
krep – number of times to repeat each cycle.
The input is read and each complete cycle (two zero-crossings) is repeated krep times.
There is an internal buffer as the output is slower that the input. Some care is taken that the buffer is not too short, but there may be strange effects.
instr 1 a1 soundin "input.wav" a2 waveset a1, p4 out a2 endin
University of Bath, Codemist Ltd.
New in Csound version 4.11