155 lines
5.9 KiB
HTML
155 lines
5.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
<!--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>
|
|
<TITLE>Ring modulation and spectra</TITLE>
|
|
<META NAME="description" CONTENT="Ring modulation and spectra">
|
|
<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="node82.html">
|
|
<LINK REL="previous" HREF="node80.html">
|
|
<LINK REL="up" HREF="node80.html">
|
|
<LINK REL="next" HREF="node82.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html1760"
|
|
HREF="node82.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/next.png"></A>
|
|
<A NAME="tex2html1754"
|
|
HREF="node80.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/up.png"></A>
|
|
<A NAME="tex2html1748"
|
|
HREF="node80.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/prev.png"></A>
|
|
<A NAME="tex2html1756"
|
|
HREF="node4.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/contents.png"></A>
|
|
<A NAME="tex2html1758"
|
|
HREF="node201.html">
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/index.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html1761"
|
|
HREF="node82.html">Octave divider and formant</A>
|
|
<B> Up:</B> <A NAME="tex2html1755"
|
|
HREF="node80.html">Examples</A>
|
|
<B> Previous:</B> <A NAME="tex2html1749"
|
|
HREF="node80.html">Examples</A>
|
|
<B> <A NAME="tex2html1757"
|
|
HREF="node4.html">Contents</A></B>
|
|
<B> <A NAME="tex2html1759"
|
|
HREF="node201.html">Index</A></B>
|
|
<BR>
|
|
<BR>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H2><A NAME="SECTION00951000000000000000">
|
|
Ring modulation and spectra</A>
|
|
</H2>
|
|
|
|
<P>
|
|
Example E01.spectrum.pd serves to introduce a spectrum
|
|
measurement tool we'll be using; here we'll skip to the
|
|
second example, E02.ring.modulation.pd, which shows the effect of ring modulating a harmonic
|
|
spectrum (which was worked out theoretically in Section <A HREF="node77.html#sect5.ringmod">5.2</A> and
|
|
shown in Figure <A HREF="node77.html#fig05.04">5.4</A>). In the example we consider a signal whose
|
|
harmonics (from 0 through 5) all have unit amplitude. The harmonics may be
|
|
turned on and off separately using toggle switches. When they are all on,
|
|
the spectral envelope peaks at DC (because the constant signal counts twice as
|
|
strongly as the other sinusoids), has a flat region from
|
|
harmonics 1 through 5, and then descends to zero.
|
|
|
|
<P>
|
|
|
|
<DIV ALIGN="CENTER"><A NAME="fig05.09"></A><A NAME="5792"></A>
|
|
<TABLE>
|
|
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 5.9:</STRONG>
|
|
Ring modulation of a complex tone by a sinusoid: (a) its realization;
|
|
(b) a measured spectrum.</CAPTION>
|
|
<TR><TD><IMG
|
|
WIDTH="444" HEIGHT="656" BORDER="0"
|
|
SRC="img486.png"
|
|
ALT="\begin{figure}\psfig{file=figs/fig05.09.ps}\end{figure}"></TD></TR>
|
|
</TABLE>
|
|
</DIV>
|
|
|
|
<P>
|
|
In the signal generation portion of the patch (part (a) of the figure), we sum
|
|
the six partials and multiply the sum by the single, carrier oscillator.
|
|
(The six signals are summed implicitly by connecting them all to the same
|
|
inlet of the <TT>*~</TT> object.) The value of ``fundamental" at the top
|
|
is computed to line up well with the spectral analysis, whose result is
|
|
shown in part (b) of the figure.
|
|
|
|
<P>
|
|
The spectral analysis (which uses techniques that won't be described until
|
|
Chapter <A HREF="node163.html#chapter-fourier">9</A>) shows the location of the
|
|
sinusoids (assuming a discrete spectrum) on the horizontal axis and their
|
|
magnitudes on the vertical one. So the presence of a peak at DC of magnitude
|
|
one in the spectrum of the input signal predicts, à la Figure <A HREF="node77.html#fig05.03">5.3</A>,
|
|
that there should be a peak in the output spectrum, at the carrier frequency,
|
|
of height 1/2. Similarly, the two other sinusoids in the input signal, which
|
|
have height 1/2 in the spectrum, give rise to two peaks each, of height 1/4,
|
|
in the output. One of these four has been reflected about the left edge of
|
|
the figure (taking the absolute value of its negative frequency).
|
|
|
|
<P>
|
|
<HR>
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html1760"
|
|
HREF="node82.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/next.png"></A>
|
|
<A NAME="tex2html1754"
|
|
HREF="node80.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/up.png"></A>
|
|
<A NAME="tex2html1748"
|
|
HREF="node80.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/prev.png"></A>
|
|
<A NAME="tex2html1756"
|
|
HREF="node4.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/contents.png"></A>
|
|
<A NAME="tex2html1758"
|
|
HREF="node201.html">
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
|
SRC="file:/usr/local/share/lib/latex2html/icons/index.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html1761"
|
|
HREF="node82.html">Octave divider and formant</A>
|
|
<B> Up:</B> <A NAME="tex2html1755"
|
|
HREF="node80.html">Examples</A>
|
|
<B> Previous:</B> <A NAME="tex2html1749"
|
|
HREF="node80.html">Examples</A>
|
|
<B> <A NAME="tex2html1757"
|
|
HREF="node4.html">Contents</A></B>
|
|
<B> <A NAME="tex2html1759"
|
|
HREF="node201.html">Index</A></B>
|
|
<!--End of Navigation Panel-->
|
|
<ADDRESS>
|
|
Miller Puckette
|
|
2006-12-30
|
|
</ADDRESS>
|
|
</BODY>
|
|
</HTML>
|