cycle
cycle(
@frequency 440
@duration 50
@phase 0.25
) -> llll
Generates a sinusoidal oscillator as a buffer.
Arguments
@frequency[int/float/llll]: Frequency, either as a single number, envelope, or buffer. (default:440).@duration[int/float]: Buffer duration, in milliseconds (default:50).@phase[int/float]: Initial phase, in the 0–1 range, either as a single number, envelope, or buffer. (default:0.25).
Output
Synthesized buffer [llll]
Usage
$buffer = cycle();
$buffer.view('cycle buffer')