import { addG } from "./addg.js" ; import { curve } from "./curve.js" ; /**
 * Similar to  curve , but with added accumulation (via
 *  addG ). Systax sugar for `addg(curve(...))` and intended for
 * creating oscillator frequency sweeps. By default, the sweep speed is
 * clamped at the given `end` value.
 *
 *  example param start param end param steps param rate param clamp export const sweep = ( start , end , steps , rate ? , clamp = true ) => addG ( curve ( start , end , steps , rate , false , clamp ) ) ;