sigchirp
Linear or quadratic chirp.
Namespace: dsp
Prototype
static Vecf sigchirp(float f0, float f1, int n, char mode='l')
Parameters
f0 | Initial frequency (normalized). |
f1 | Final frequency (normalized). |
n | Number of points to generate. |
mode | 'l' for linear, 'q' for quadratic. |
Description
The \(f_k\) being lineairly or quadratically distribued between \(f_0\) and \(f_1\).
For a linear chirp:
For a quadratic chirp: