Adding Sinusoids of the Same Frequency. Additive Synthesis. Spectrum. Music 270a: Modulation



Similar documents
Voltage. Oscillator. Voltage. Oscillator

SIGNAL PROCESSING & SIMULATION NEWSLETTER

Laboratory Manual and Supplementary Notes. CoE 494: Communication Laboratory. Version 1.2

7. Beats. sin( + λ) + sin( λ) = 2 cos(λ) sin( )

Angle Modulation, II. Lecture topics FM bandwidth and Carson s rule. Spectral analysis of FM. Narrowband FM Modulation. Wideband FM Modulation

A Sound Analysis and Synthesis System for Generating an Instrumental Piri Song

VCO Phase noise. Characterizing Phase Noise

Lecture 8 ELE 301: Signals and Systems

Graham s Guide to Synthesizers (part 1) Analogue Synthesis

Analysis/resynthesis with the short time Fourier transform

0. Basic Audio Terminology. Wave Concepts. Oscillator, Waveform and Timbre. Wave Graphs (time-amplitude domain) Harmonic Series (Harmonic Contents)

Mathematical Harmonies Mark Petersen

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Experiment 3: Double Sideband Modulation (DSB)

Little LFO. Little LFO. User Manual. by Little IO Co.

Trigonometric functions and sound

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

DDS. 16-bit Direct Digital Synthesizer / Periodic waveform generator Rev Key Design Features. Block Diagram. Generic Parameters.

Final Report. Hybrid Synth by Synthesize Me. Members: Jamie Madaris Jack Nanney

B3. Short Time Fourier Transform (STFT)

Frequency Response of FIR Filters

Amplitude Modulation Fundamentals

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

A-145 LFO. 1. Introduction. doepfer System A LFO A-145

Chapter 29 Alternating-Current Circuits

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

SOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY

Introduction to Receivers

Audio Engineering Society. Convention Paper. Presented at the 129th Convention 2010 November 4 7 San Francisco, CA, USA

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

Analog and Digital Signals, Time and Frequency Representation of Signals

ANALYTICAL METHODS FOR ENGINEERS

TMA4213/4215 Matematikk 4M/N Vår 2013

The Sonometer The Resonant String and Timbre Change after plucking

The Fourier Analysis Tool in Microsoft Excel

SGN-1158 Introduction to Signal Processing Test. Solutions

The continuous and discrete Fourier transforms

Auto-Tuning Using Fourier Coefficients

f x a 0 n 1 a 0 a 1 cos x a 2 cos 2x a 3 cos 3x b 1 sin x b 2 sin 2x b 3 sin 3x a n cos nx b n sin nx n 1 f x dx y

Instruction Manual and Experiment Guide for the PASCO scientific Model WA-9307A D 6/94 FOURIER SYNTHESIZER PASCO scientific $7.

Teaching Fourier Analysis and Wave Physics with the Bass Guitar

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT

Application Note: Spread Spectrum Oscillators Reduce EMI for High Speed Digital Systems

Agilent PN Extending Vector Signal Analysis to 26.5 GHz with 20 MHz Information Bandwidth

Review of Fourier series formulas. Representation of nonperiodic functions. ECE 3640 Lecture 5 Fourier Transforms and their properties

Lecture 1-6: Noise and Filters

EE 179 April 21, 2014 Digital and Analog Communication Systems Handout #16 Homework #2 Solutions

Keysight Technologies Understanding the Fundamental Principles of Vector Network Analysis. Application Note

Separation and Classification of Harmonic Sounds for Singing Voice Detection

Lecture 1-10: Spectrograms

Appendix D Digital Modulation and GMSK

USB 3.0 CDR Model White Paper Revision 0.5

The Phase Modulator In NBFM Voice Communication Systems

Spectrum Level and Band Level

MICROPHONE SPECIFICATIONS EXPLAINED

Ralph L. Brooker, Member, IEEE. Andrew Corporation, Alexandria, VA 22314, USA

Timing Errors and Jitter

Musical Analysis and Synthesis in Matlab

SIGNAL PROCESSING FOR EFFECTIVE VIBRATION ANALYSIS

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

The Calculation of G rms

The Computer Music Tutorial

Pulsed Fourier Transform NMR The rotating frame of reference. The NMR Experiment. The Rotating Frame of Reference.

The Math in Laser Light Math

Quarterly Progress and Status Report. Measuring inharmonicity through pitch extraction

Understand the effects of clock jitter and phase noise on sampled systems A s higher resolution data converters that can

APPLICATIONS AND MODELING WITH QUADRATIC EQUATIONS

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2009 Linear Systems Fundamentals

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

How To Understand The Nyquist Sampling Theorem

FFT Spectrum Analyzers

LABORATORY 10 TIME AVERAGES, RMS VALUES AND THE BRIDGE RECTIFIER. Bridge Rectifier

Lesson 3 DIRECT AND ALTERNATING CURRENTS. Task. The skills and knowledge taught in this lesson are common to all missile repairer tasks.

PHYS 331: Junior Physics Laboratory I Notes on Noise Reduction

3.2 Sources, Sinks, Saddles, and Spirals

Exercises on Oscillations and Waves

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

Scientific Programming

Contents. Preface. xiii. Part I 1

Experiment 1: SOUND. The equation used to describe a simple sinusoidal function that propagates in space is given by Y = A o sin(k(x v t))

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

RF Network Analyzer Basics

Improving A D Converter Performance Using Dither

AN Application Note: FCC Regulations for ISM Band Devices: MHz. FCC Regulations for ISM Band Devices: MHz

Algebra 1 Course Information

The Physics of Music: Brass Instruments. James Bernhard

POWER SYSTEM HARMONICS. A Reference Guide to Causes, Effects and Corrective Measures AN ALLEN-BRADLEY SERIES OF ISSUES AND ANSWERS

5 Signal Design for Bandlimited Channels

Finding Equations of Sinusoidal Functions From Real-World Data

Agilent Creating Multi-tone Signals With the N7509A Waveform Generation Toolbox. Application Note

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

Understanding Mixers Terms Defined, and Measuring Performance

Sequential multi-effect sequencer

Electrical Resonance

Nonlinear Signal Analysis: Time-Frequency Perspectives

Transcription:

Adding Sinusoids of the Same Frequency Music 7a: Modulation Tamara Smyth, trsmyth@ucsd.edu Department of Music, University of California, San Diego (UCSD) February 9, 5 Recall, that adding sinusoids of the same frequency but with possibly different amplitudes and phases, produces another sinusoid at that frequency: A n cos(ωt+φ n ) = n A n cosφ n cos(ωt) n = Bcos(ωt) Csin(ωt) = Acos(ωt+φ), where B = C = A n sinφ n sin(ωt) n A n cosφ n, n A n sinφ n, and where the amplitude and phase is given by A = ( ) C (B +C ), φ = tan. B n Music 7a: Modulation Spectrum Additive Synthesis When sinusoids of different frequencies are added together, the resulting signal is no longer sinusoidal. The spectrum of a signal is a graphical representation of the complex amplitudes, or phasors Ae jφ, of its frequency components (obtained using the DFT). The DFT of y( ) at frequency ω k is a measure of the the amplitude and phase of the complex DFT sinusoid e jω knt which is present in y( ) at frequency ω k : N Y(ω k ) = n= y(n)e jω knt Projecting a signal y( ) onto a DFT sinusoid provides a measure of how much that DFT sinusoid is in y( ). Discrete signals may be represented as the sum of sinusoids of arbitrary amplitudes, phases, and frequencies. Sounds may be synthesized by setting up a bank of oscillators, each set to the appropriate amplitude, phase and frequency: x(t) = A k cos(ω k t+φ k ) k= Since the output of each oscillator is added to produce the synthesized sound, the technique is called additive synthesis. Additive synthesis provides maximum flexibility in the types of sound that can be synthesized and can realize tones that are indistinguishable from the original. Signal analysis, which provides amplitude, phase and frequency functions for a signal, is often a prerequisite to additive synthesis, which is sometimes also called Fourier recomposition. Music 7a: Modulation 3 Music 7a: Modulation 4

.9.8.7.6.5.4.3.. 5 5 5 3 35.8.6.4...4.6.8 Additive Synthesis Caveat Additive synthesis of standard periodic waveforms Drawback: it often requires many oscillators to produce good quality sounds, and can be very computationally demanding. Also, many functions are useful only for a limited range of pitch and loudness. For example, the timbre of a piano played at A4 is different from one played at A; the timbre of a trumpet played loudly is quite different from one played softly at the same pitch. It is possible however, to use some knowledge of acoustics to determine functions: e.g., in specifying amplitude envelopes for each oscillator, it is useful to know that in many acoustic instruments the higher harmonics attack last and decay first. Table : Other Simple Waveforms Synthesized by Adding Cosine Functions Type Harmonics Phase (cos) Phase (sin) square Odd, n = [,3,5,...,N] /n π/ triangle Odd, n = [,3,5,...,N] /n π/ sawtooth all, n = [,,3,...,N] /n π/.5.5...3.4.5.6.7.8.9...3.4.5.6.7.8.9...3.4.5.6.7.8.9 Figure : Summing sinusoids to produce other simple waveforms Music 7a: Modulation 5 Music 7a: Modulation 6 Harmonics and Pitch Beat Notes Notice that even though these new waveforms contain more than one frequency component, they are still periodic. Because each of these frequency components are integer multiples of some fundamental frequency f and producing a spectrum with evenly spaced frequency components, they are called harmonics. Signals with harmonic spectra have a periodic waveform where the period is the inverse of the fundamental. Pitch is our subjective response to a fundamental frequency within the audio range. The harmonics contribute to the timbre of a sound, but do not necessarily alter the pitch. What happens when two sinusoids that are not harmonically related are added? Magnitude Spectrum of Beat Note Frequency (Hz) Figure : Beat Note made by adding sinusoids at frequencies 8 Hz and Hz. The resulting waveform shows a periodic, low frequency amplitude envelope superimposed on a higher frequency sinusoid. Beat Note Waveform (f = Hz, f = Hz)..4.6.8..4.6.8 The beat note comes about by adding two sinusoids that are very close in frequency. Music 7a: Modulation 7 Music 7a: Modulation 8

Multiplication of Sinusoids Modulation What happens when we multiply a low frequency sinusoids with a higher frequency sinusoid? sin(π()t) cos(π()t) ( e jπ()t e jπ()t )( e jπ()t +e jπ()t ) = j = ] [e jπ()t e jπ()t +e jπ(8)t e jπ(8)t 4j = [sin(π()t)+sin(π(8)t)] The multiplication of two sinusoids (as above) results in the sum of real sinusoids, and thus a spectrum having four frequency components (including the negative frequencies). Interestingly, none of the resulting spectral components are at the frequency of the multiplied sinusoids. Rather, they are at their sum and the difference. Sinusoidal multiplication can therefore be expressed as an addition (which makes sense because all signals can can be represented by the sum of sinusoids). Music 7a: Modulation 9 Modulation is the alteration of the amplitude, phase, or frequency of an oscillator in accordance with another signal. The oscillator being modulated is the carrier, and the altering signal is called the modulator. modulation, therefore, is the alteration of the amplitude of a carrier by a modulator. The spectral components generated by a modulated signal are called sidebands. There are three main techniques of amplitude modulation: Ring modulation Classical amplitude modulation Single-sideband modulation Music 7a: Modulation Ring Modulation Ring Modulation cont. Ring modulation (RM), introduced as the beat note waveform, occurs when modulation is applied directly to the amplitude input of the carrier modulator: x(t) = cos(πf t)cos(πf c t). Recall that this multiplication can also be expressed as the sum of sinusoids using the inverse of Euler s formula: x(t) = cos(πf t)+ cos(πf t), where f = f c f and f = f c +f. f f c f f f c f frequency Figure 3: Spectrum of ring modulation. Music 7a: Modulation f Notice again that neither the carrier frequency nor the modulation frequency are present in the spectrum. f f c f f f c f frequency Figure 4: Spectrum of ring modulation. Because of its spectrum, RM is also sometimes called double-sideband (DSB) modulation. Ring modulating can be realized without oscillators just by multiplying two signals together. The multiplication of two complex sounds produces a spectrum containing frequencies that are the sum and difference between each of the frequencies present in each of the sounds. The number of components in RM is two times the number of frequency components in one signal multiplied by the number of frequency components in the other. Music 7a: Modulation f

Classic Modulation RM and AM Spectra Classic amplitude modulation (AM) is the more general of the two techniques. In AM, the modulating signal includes a constant, a DC component, in the modulating term, x(t) = [A +cos(πf t)]cos(πf c t). Multiplying out the above equation yields x(t) = A cos(πf c t)+cos(πf t)cos(πf c t). The first term in the result above shows that the carrier frequency is actually present in the resulting spectrum. The second term can be expanded in the same way as was done for ring modulation, using the inverse Euler formula (left as an exercise). Where the centre frequency f c was absent in RM, it is present in classic AM. The sidebands are identical. f f A A f c f f f c f frequency Figure 5: Spectrum of amplitude modulation. f c f f f c f frequency Figure 6: Spectrum of ring modulation. A DC offset A in the modulating term therefore has the effect of including the centre frequency f c at an amplitude equal to the offset. f f Music 7a: Modulation 3 Music 7a: Modulation 4 RM and AM waveforms Single-Sideband modulation Because of the DC component, the modulating signal is often unipolar the entire signal is above zero and the instantaneous amplitude is always positive. 3 Unipolar signal...3.4.5.6.7.8.9 Figure 7: A unipolar signal. Single-sideband modulation changes the amplitudes of two carrier waves that have quadrature phase relationship. Single-sideband modulation is given by x ssb (t) = x(t) cos(πf c t) H{x(t)} sin(πf c t), where H is the Hilbert transform. The effect of a DC offset in the modulating term is seen in the difference between AM and RM signals. 3 Modulation 3...3.4.5.6.7.8.9 Ring Modulation.5.5...3.4.5.6.7.8.9 Figure 8: AM (top) and RM (bottom) waveforms. The signal without the DC offset that oscillates between the positive and negative is called bipolar Music 7a: Modulation 5 Music 7a: Modulation 6

Frequency Modulation (FM) Chirp Signal Where AM is the modulation of amplitude, frequency modulation (FM) is the modulation of the carrier frequency with a modulating signal. Untill now we ve seen signals that do not change in frequency over time how do we modify the signal to obtain a time-varying frequency? One approach might be to concatenate small sequences, with each having a given frequency for the duration of the unit..5.5 Concatenating Sinusoids of Different Frequency.5.5.5 3 3.5 4 4.5 Figure 9: A signal made by concatenating sinusoids of different frequencies will result in discontinuities if care is not taken to match the initial phase. Care must be taken in not introducing discontinuities when lining up the phase of each segment. Music 7a: Modulation 7 A chirp signal is one that sweeps linearly from a low to a high frequency. To produce a chirping sinusoid, modifying its equation so the frequency is time-varying will likely produce better results than concatenating segments. Recall that the original equation for a sinusoid is given by x(t) = Acos(ω t+φ) where the instantaneous phase, given by (ω t+φ), changes linearly with time. Notice that the time derivative of the phase is the radian frequency of the sinusoid ω, which in this case is a constant. More generally, if x(t) = Acos(θ(t)), the instantaneous frequency is given by ω(t) = d dt θ(t). Music 7a: Modulation 8 Chirp Sinusoid Sweeping Frequency Now, let s make the phase quadratic, and thus non-linear with respect to time. θ(t) = πµt +πf t+φ. The instantaneous frequency (the derivative of the phase θ), becomes which in Hz becomes ω i (t) = d dt θ(t) = 4πµt+πf, f i (t) = µt+f. Notice the frequency is no longer constant but changing linearly in time. To create a sinusoid with frequency sweeping linearly from f to f, consider the equation for a line y = mx+b to obtain instantaneous frequency: f(t) = f f T t+f, where T is the duration of the sweep. Music 7a: Modulation 9 The time-varying expression for the instantaneous frequency can be used in the original equation for a sinusoid,.5.5 x(t) = Acos(πf(t)t+φ). Chirp signal swept from to 3 Hz.5.5.5 3 Time(s) Phase summary: Figure : A chirp signal from to 3 Hz. If the instantaneous phase θ(t) is constant, the frequency is zero (DC). If θ(t) is linear, the frequency is fixed (constant). if θ(t) is quadratic, the frequency changes linearly with time. Music 7a: Modulation

Vibrato simulation FM Vibrato Vibrato is a term used to describe a wavering of pitch. Vibrato (in varying amounts) occurs very naturally in the singing voice and in many sustained instruments (where the musician has control after the note has been played), such as the violin, wind instruments, the theremin, etc.). In Vibrato, the frequency does not change linearly but rather sinusoidally, creating a sense of a wavering pitch. Since the instantaneous frequency of the sinusoid is the derivative of the instantaneous phase, and the derivative of a sinusoid is a sinusoid, a vibrato can be simulated by applying a sinusoid to the instantaneous phase of a carrier signal: x(t) = A c cos(πf c t+a m cos(πf m t+φ m )+φ c ), that is, by FM synthesis. FM synthesis can create a vibrato effect, where the instantaneous frequency of the carrier oscillator varies over time according to the parameters controlling the width of the vibrato (the deviation from the carrier frequency) the rate of the vibrato. The width of the vibrato is determined by the amplitude of the modulating signal, A m. The rate of vibrato is determined by the frequency of the modulating signal, f m. In order for the effect to be perceived as vibrato, the vibrato rate must be below the audible frequency range and the width made quite small. Music 7a: Modulation Music 7a: Modulation FM Synthesis of Musical Instruments Frequency Modulation When the vibrato rate is in the audio frequency range, and when the width is made larger, the technique can be used to create a broad range of distinctive timbres. Frequency modulation (FM) synthesis was invented by John Chowning at Stanford University s Center for Computer Research in Music and Acoustics (CCRMA). FM synthesis uses fewer oscillators than either additive or AM synthesis to introduce more frequency components in the spectrum. Where AM synthesis uses a signal to modulate the amplitude of a carrier oscillator, FM synthesis uses a signal to modulate the frequency of a carrier oscillator. The general equation for an FM sound synthesizer is given by x(t) = A(t)[cos(πf c t+i(t)cos(πf m t+φ m )+φ c ], where A(t) the time varying amplitude f c the carrier frequency I(t) the modulation index f m the modulating frequency φ m,φ c arbitrary phase constants. Music 7a: Modulation 3 Music 7a: Modulation 4

Modulation Index Modulation Index cont. The function I(t), called the modulation index envelope, determines significantly the harmonic content of the sound. Given the general FM equation x(t) = A(t)[cos(πf c t+i(t)cos(πf m t+φ m )+φ c ], the instantaneous frequency f i (t) (in Hz) is given by f i (t) = d πdt θ(t) = d πdt [πf ct+i(t)cos(πf m t+φ m )+φ c ] = π [πf c I(t)sin(πf m t+φ m )πf m + d dt I(t)cos(πf mt+φ m )] = f c I(t)f m sin(πf m t+φ m )+ d πdt I(t)cos(πf mt+φ m ). Music 7a: Modulation 5 Without going any further in solving this equation, it is possible to get a sense of the effect of the modulation index I(t) from f i (t) = f c I(t)f m sin(πf m t+φ m )+ di(t) cos(πf m t+φ m )/π. dt We may see that if I(t) is a constant (and it s derivative is zero), the third term goes away and the instantaneous frequency becomes f i (t) = f c I(t)f m sin(πf m t+φ m ). Notice now that in the second term, the quantity I(t)f m multiplies a sinusoidal variation of frequency f m, indicating that I(t) determines the maximum amount by which the instantaneous frequency deviates from the carrier frequency f c. Since the modulating frequency f m is at audio rates, this translates to addition of harmonic content. Since I(t) is a function of time, the harmonic content, and thus the timbre, of the synthesized sound may vary with time. Music 7a: Modulation 6 FM Sidebands Bessel Functions of the First Kind The upper and lower sidebands produced by FM are given by f c ±kf m. The amplitude of the k th sideband is given by J k, a Bessel function of the first kind, of order k. magnitude J.5.5 J.5.5 5 5 5 5 5 5.5.5 fc 4fm fc 3fm fc fm fc fm fc fc +fm fc +fm fc +3fm fc +4fm frequency J.5 5 5 5 J 3.5 5 5 5 Figure : Sidebands produced by FM synthesis. The modulation index may be see as I = d f m, where d is the amount of frequency deviation from f c. When d =, the index I is also zero, and no modulation occurs. Increasing d causes the sidebands to acquire more power at the expense of the power in the carrier frequency. Music 7a: Modulation 7 J 4.5.5 5 5 5 J 5.5.5 5 5 5 Figure : Bessel functions of the first kind, plotted for orders through 5. Notice that higher order Bessel functions, and thus higher order sidebands, do not have significant amplitude when I is small. Bessel functions are solutions to Bessel s differential equation. Music 7a: Modulation 8

Higher values of I therefore produce higher order sidebands. In general, the highest-ordered sideband that has significant amplitude is given by the approximate expression k = I +. Odd-Numbered Lower Sidebands The amplitude of the odd-numbered lower sidebands is the appropriate Bessel function multipled by -, since odd-ordered Bessel functions are odd functions. That is J k = J k. J.5.5 J.5.5 5 5 5 5 5 5 J 3.5.5 J 3.5.5 5 5 5 5 5 5 J 5.5.5 J 5.5.5 5 5 5 5 5 5 Figure 3: Bessel functions of the first kind, plotted for odd orders. Music 7a: Modulation 9 Music 7a: Modulation 3 Effect of Phase in FM FM Spectrum The phase of a spectral component does not have an audible effect unless other spectral components of the same frequency are present, i.e., there is interference. In the case of frequency overlap, the amplitudes will either add or subtract, resulting in a perceived change in the sound. If the FM spectrum contains frequency components below Hz, they are folded over the Hz axis to their corresponding positive frequencies (akin to aliasing or folding over the Nyquist limit). In the case that the carrier is an odd function (a sine wave), the act of folding reverses the phase. A sideband with a negative frequency is equivalent to a component with the corresponding positive frequency but with the opposite phase. The frequencies present in an FM spectrum are f c ±kf m, where k is an integer greater than zero (the carrier frequency component is at k = ). 5 5 5 Spectrum of a simple FM instrument: fc =, fm =, I = 5 5 3 35 4 45 5 55 6 Frequency (Hz) Figure 4: Spectrum of a simple FM instrument, where fc =, fm =, and I =. 5 5 5 Spectrum of a simple FM instrument: fc = 9, fm = 6, I = 5 5 5 3 35 Frequency (Hz) Figure 5: Spectrum of a simple FM instrument, where fc = 9, fm = 6, and I =. Music 7a: Modulation 3 Music 7a: Modulation 3

Fundamental Frequency in FM Missing Harmonics in FM Spectrum In determining the fundamental frequency of an FM sound, first represent the ratio of the carrier and modulator frequencies as a reduced fraction, f c = N, f m N where N and N are integers with no common factors. The fundamental frequency is then given by f = f c = f m. N N Example: a carrier frequency f c = and modulator frequency f m = yields the ratio of f c = f m = = N. N and a fundamental frequency of f = = =. Likewise the ratio of f c = 9 to f m = 6 is 3: and the fundamental frequency is given by f = 9 3 = 6 = 3. Music 7a: Modulation 33 For N >, every N th harmonic of f is missing in the spectrum. This can be seen in the plot below where the ratio of the carrier to the modulator is 4:3 and N = 3. 5 5 5 Spectrum of a simple FM instrument: fc = 4, fm = 3, I = 4 6 8 4 6 Frequency (Hz) Figure 6: Spectrum of a simple FM instrument, where fc = 4, fm = 3, and I =. Notice the fundamental frequency f is and every third multiple of f is missing from the spectrum. Music 7a: Modulation 34 Some FM instrument examples When implementing simple FM instruments, we have several basic parameters that will effect the overall sound:. The duration,. The carrier and modulating frequencies 3. The maximum (and in some cases minimum) modulating index scalar 4. The envelopes that define how the amplitude and modulating index evolve over time. Using the information taken from John Chowning s article on FM (details of which appear in the text Computer Music (pp. 5-7)), we may develop envelopes for the following simple FM instruments: bell-like tones, wood-drum brass-like tones clarinet-like tones Bell Woodwind Brass Wood drum.5.5.5.5 Env 5 5...3.4.5..4.6.5..5. 5 Mod. Index 5 5 4...3.4.5 4..4.6.5..5. Figure 7: Envelopes for FM bell-like tones, wood-drum tones, brass-like tones and clarinet tones. Music 7a: Modulation 35 Music 7a: Modulation 36

Formants Formants with Two Carrier Oscillators Another characteristic of sound, in addition to its spectrum, is the presence of formants, or peaks in the spectral envelope. The formants describe certain regions in the spectrum where there are strong resonances (where the amplitude of the spectral components is considerably higher). As an example, pronounce aloud the vowels a, e, i, o, u while keeping the same pitch for each. Since the pitch is the same, we know the integer relationship of the spectral components is the same. The formants are what allows us to hear a difference between the vowel sounds. In FM synthesis, the peaks in the spectral envelop can be controlled using an additional carrier oscillator. In the case of a single oscillator, the spectrum is centered around a carrier frequency. With an additional oscillator, an additional spectrum may be generated that is centered around a formant frequency. When the two signals are added, their spectra are combined. If the same oscillator is used to modulate both carriers (though likely using seperate modulation indeces), and the formant frequency is an integer multiple of the fundamental, the spectra of both carriers will combine in such a way the the components will overlap, and a peak will be created at the formant frequency. Music 7a: Modulation 37 Music 7a: Modulation 38 Towards a Chowning FM Trumpet 6 4 6 4 6 4 FM spectrum with first carrier: fc=4, fm=4, and f=4 5 5 5 3 35 4 45 5 FM spectrum with second carrier: fc=, fm=4, and f=4 5 5 5 3 35 4 45 5 FM spectrum using first and second carriers 5 5 5 3 35 4 45 5 Frequency (Hz) Figure 8: The spectrum of individiual and combined FM signals. In Figure 8, two carriers are modulated by the same oscillator with a frequency f m. The index of modulation for the first and second carrier is given by I and I /I respectively. The value I is usually less than I, so that the ratio I /I is small and the spectrum does not spread too far beyond the region of the formant. The frequency of the second carrier f c is chosen to be a harmonic of the fundamental frequency f, so that it is close to the desired formant frequency f f, f c = nf = int(f f /f +.5)f. This ensures that the second carrier frequency remains harmonically related to f. If f changes, the scond carrier frequency will remain as close as possible to the desired formant frequency f f while remaining an integer multiple of the fundamental frequency f. Music 7a: Modulation 39 Music 7a: Modulation 4

Two Modulating Oscillators Just as the number of carriers can be increased, so can the number of modulating oscillators. To create even more spectral variety, the modulating waveform may consist of the sum of several sinusoids. If the carrier frequency is f c and the modulating frequencies are f m and f m, then the resulting spectrum will contain components at the frequency given by f c ±if m ±kf m, where i and k are integers greater than or equal to. For example, when f c = Hz, f m = Hz, and f m = 3 Hz, the spectral component present in the sound at 4 Hz is the combination of sidebands given by the pairs: i = 3,k = ;i =,k = ;i = 3,k = ; and so on (see Figure 9). 6 4 8 6 4 4 FM spectrum with first modulator: fc= and fm= 4 6 8 4 FM spectrum with second modulator: fc= and fm=3 4 6 8 4 FM spectrum with two modulators: fc=, fm=, and fm=3 4 6 8 4 Figure 9: The FM spectrum produced by a modultor with two frequency components. Music 7a: Modulation 4 Music 7a: Modulation 4 Two Modulators cont. Modulation indeces are defined for each component: I is the index that charaterizes the spectrum produced by the first modulating oscillator, and I is that of the second. The amplitude of the i th, k th sideband (A i,k ) is given by the product of the Bessel functions A i,k = J i (I )J k (I ). Like in the previous case of a single modulator, when i, k is odd, the Bessel functions assume the opposite sign. For example, if i = and k = 3 (where the negative superscript means that k is subtracted), the amplitude is A,3 = J (I )J 3 (I ). In a harmonic spectrum, the net amplitude of a component at any frequency is the combination of many sidebands, where negative frequencies foldover the Hz bin (Computer Music). Music 7a: Modulation 43