153 lines
5.2 KiB
HTML
153 lines
5.2 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
|
* with significant contributions from:
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
|
<HTML>
|
|
<HEAD>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
|
<TITLE>Predicting and controlling foldover</TITLE>
|
|
<META NAME="description" CONTENT="Predicting and controlling foldover">
|
|
<META NAME="keywords" CONTENT="book">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="book.css">
|
|
|
|
<LINK REL="next" HREF="node197.html">
|
|
<LINK REL="previous" HREF="node188.html">
|
|
<LINK REL="up" HREF="node184.html">
|
|
<LINK REL="next" HREF="node194.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html3454"
|
|
HREF="node194.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="next.png"></A>
|
|
<A NAME="tex2html3448"
|
|
HREF="node184.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="up.png"></A>
|
|
<A NAME="tex2html3442"
|
|
HREF="node192.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="prev.png"></A>
|
|
<A NAME="tex2html3450"
|
|
HREF="node4.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
|
SRC="contents.png"></A>
|
|
<A NAME="tex2html3452"
|
|
HREF="node201.html">
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
|
SRC="index.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html3455"
|
|
HREF="node194.html">Over-sampling</A>
|
|
<B> Up:</B> <A NAME="tex2html3449"
|
|
HREF="node184.html">Classical waveforms</A>
|
|
<B> Previous:</B> <A NAME="tex2html3443"
|
|
HREF="node192.html">General (non-symmetric) triangle wave</A>
|
|
<B> <A NAME="tex2html3451"
|
|
HREF="node4.html">Contents</A></B>
|
|
<B> <A NAME="tex2html3453"
|
|
HREF="node201.html">Index</A></B>
|
|
<BR>
|
|
<BR>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H1><A NAME="SECTION001440000000000000000">
|
|
Predicting and controlling foldover</A>
|
|
</H1>
|
|
|
|
<P>
|
|
Now we descend to the real situation, in which the period of the waveform
|
|
cannot be assumed to be arbitrarily long and integer-valued. Suppose (for
|
|
definiteness) we want to synthesize tones at 440 Hertz (A above middle C), and
|
|
that we are using a sample rate of 44100 Hertz, so that the period is about 100.25
|
|
samples. Theoretically, given a very high sample rate, we would expect the
|
|
fiftieth partial to have magnitude <IMG
|
|
WIDTH="35" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
|
|
SRC="img1365.png"
|
|
ALT="$1/50$"> compared to the fundamental and
|
|
a frequency about 20 kHz. If we sample this waveform at the (lower) sample
|
|
rate of 44100, then partials in excess of this frequency will be aliased, as
|
|
described in Section <A HREF="node41.html#sect3.sampling">3.1</A>. The relative strength of the
|
|
folded-over partials will be on the order of -32 decibels--quite audible.
|
|
If the fundamental frequency is raised further, more and louder partials reach
|
|
the Nyquist frequency (half the sample rate) and begin to fold over.
|
|
|
|
<P>
|
|
Foldover problems are much less pronounced for waveforms with only corners
|
|
(instead of jumps) because of the faster dropoff of higher partial frequencies;
|
|
for instance, a symmetric triangle wave at 440 Hertz would get twice the dropoff, or -64
|
|
decibels. In general, though, waveforms with discontinuities are a better
|
|
starting point for
|
|
<A NAME="14464"></A>subtractive synthesis (the most popular classical technique).
|
|
In case you were hoping, subtractive filtering can't remove foldover once it is
|
|
present in an audio signal.
|
|
|
|
<P>
|
|
<BR><HR>
|
|
<!--Table of Child-Links-->
|
|
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
|
|
|
|
<UL>
|
|
<LI><A NAME="tex2html3456"
|
|
HREF="node194.html">Over-sampling</A>
|
|
<LI><A NAME="tex2html3457"
|
|
HREF="node195.html">Sneaky triangle waves</A>
|
|
<LI><A NAME="tex2html3458"
|
|
HREF="node196.html">Transition splicing</A>
|
|
</UL>
|
|
<!--End of Table of Child-Links-->
|
|
<HR>
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html3454"
|
|
HREF="node194.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="next.png"></A>
|
|
<A NAME="tex2html3448"
|
|
HREF="node184.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="up.png"></A>
|
|
<A NAME="tex2html3442"
|
|
HREF="node192.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="prev.png"></A>
|
|
<A NAME="tex2html3450"
|
|
HREF="node4.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
|
SRC="contents.png"></A>
|
|
<A NAME="tex2html3452"
|
|
HREF="node201.html">
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
|
SRC="index.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html3455"
|
|
HREF="node194.html">Over-sampling</A>
|
|
<B> Up:</B> <A NAME="tex2html3449"
|
|
HREF="node184.html">Classical waveforms</A>
|
|
<B> Previous:</B> <A NAME="tex2html3443"
|
|
HREF="node192.html">General (non-symmetric) triangle wave</A>
|
|
<B> <A NAME="tex2html3451"
|
|
HREF="node4.html">Contents</A></B>
|
|
<B> <A NAME="tex2html3453"
|
|
HREF="node201.html">Index</A></B>
|
|
<!--End of Navigation Panel-->
|
|
<ADDRESS>
|
|
Miller Puckette
|
|
2006-12-30
|
|
</ADDRESS>
|
|
</BODY>
|
|
</HTML>
|