Normalized cardinal sine with cut-off frequency at 0.5.


Prototype

static float sinc(float t)

Parameters

tTemporal sampling point (as fractionnal number of samples).

Returns

Normalized cut-off frequency, between 0 and 0.5.

Description

Compute a cardinal sine with cut-off frequency at 0.5: \[ y(t) = \frac{\sin(\pi t)}{\pi t} \]

See also

sinc2()