audioflux.chirp(fmin, fmax, duration, samplate=32000, phi=None, method='logarithmic')

chirp signal

The chirp sweeps from frequency fmin to fmax (in Hz).

fmin: float

initial frequency

fmax: float

final frequency

duration: float

output duration in seconds.

samplate: int

desired sampling rate of the output signal

phi: float, optional

Phase offset, in radians.

If None, use 1 / 2 * -np.pi.

method: str

linear, quadratic, logarithmic, hyperbolic

See: scipy.signal.chirp

out: np.ndarray [shape=(duration*samplate, )]

chirp single array