openmixer — generated API reference
    Preparing search index...

    Function generateSweep

    • Generate an exponential sine sweep and its Farina inverse filter — see the module doc for the arithmetic. Everything scales with spec.sampleRate; nothing is pinned to a rate.

      Throws RangeError for a sweep that cannot exist (a non-positive rate or duration, f1 ≤ f0, or f1 at/above Nyquist) — a programmer's error, not a measurement refusal.

      Parameters

      Returns FarinaSweep