Skip to main content

saw

saw(
@frequency 440
@duration 50
) -> llll

Generates a bipolar, anti-aliased sawtooth 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).

Output

synthesized buffer [llll]


Usage

$buffer = saw();
$buffer.inspect('saw buffer')