(in samples) for a periodic signal can be determined from its frequency (
) as
, where
is the sample rate.
and a sample rate
Hz. The fundamental, or first partial, frequency of the signal would be 882 Hz. The 24th, 25th and 26th partial frequencies would be 21168, 22050 and 22932 Hz. This last component, being greater than half the sample rate by 882, would alias back to 21168 Hz, which is the frequency of the 24th partial.
is rarely an integer. In order to compute a signal with the correct frequency, it is then necessary to maintain an accurate “internal” time index and truncate/round/interpolate it to determine the waveform output at a given time step.
is not an integer, the aliased spectral components will fall between non-aliased components and be clearly perceived, as shown in Fig. 8 for a sawtooth spectrum.
![]() |
| ©2004-2025 McGill University. All Rights Reserved. Maintained by Gary P. Scavone. |