CS 591 S1 – Computational Audio -- Spring, 2017

Slides:



Advertisements
Similar presentations
DCSP-4: Modem Jianfeng Feng Department of Computer Science Warwick Univ., UK
Advertisements

Sound Synthesis Part II: Oscillators, Additive Synthesis & Modulation.
Sound Synthesis Part III: Distortion-based synthesis (FM & Waveshaping)
What makes a musical sound? Pitch n Hz * 2 = n + an octave n Hz * ( …) = n + a semitone The 12-note equal-tempered chromatic scale is customary,
Physics 1251 The Science and Technology of Musical Sound Unit 1 Session 8 Harmonic Series Unit 1 Session 8 Harmonic Series.
EE2F2 - Music Technology 9. Additive Synthesis & Digital Techniques.
Page 0 of 34 MBE Vocoder. Page 1 of 34 Outline Introduction to vocoders MBE vocoder –MBE Parameters –Parameter estimation –Analysis and synthesis algorithm.
Chapter 7 Principles of Analog Synthesis and Voltage Control Contents Understanding Musical Sound Electronic Sound Generation Voltage Control Fundamentals.
On Timbre Phy103 Physics of Music. Four complex tones in which all partials have been removed by filtering (Butler Example 2.5) One is a French horn,
Spectra of FM FM spectra contains the carrier frequency plus sideband components whose amplitudes depend on the Bessel functions (of the first kind).FM.
Principles of analogue modulation
Additional Notes on Wavetable Synthesis R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Music Processing Roger B. Dannenberg. Overview  Music Representation  MIDI and Synthesizers  Synthesis Techniques  Music Understanding.
Angle Modulation Objectives
Square wave Fourier Analysis + + = Adding sines with multiple frequencies we can reproduce ANY shape.
Angle Modulation.
Angle Modulation: Phase Modulation or Frequency Modulation Basic Form of FM signal: Constant Amplitude Information is contained in  (t) Define Phase.
Joshua “Rock Star” Jenkins Jeff “Tremolo” Smith Jairo “the boss” Rojas
Technician License Course Chapter 3 Lesson Plan Module 7 – Types of Radio Circuits.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE345S Real-Time Digital Signal Processing Lab Spring.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE345S Real-Time Digital Signal Processing Lab Fall.
Synthesis advanced techniques. Other modules Synthesis would be fairly dull if we were limited to mixing together and filtering a few standard waveforms.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Fall.
Lecture 3 MATLAB LABORATORY 3. Spectrum Representation Definition: A spectrum is a graphical representation of the frequency content of a signal. Formulae:
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 11: Modulation Ken Greenebaum.
Modulation. Definition One signal (carrier) varies according to the changes in another signal (modulator) Either amplitude modulation (AM) or frequency.
Frequency Modulation. Listening Example Keith Kothman In Time (1986) for clarinet and tape.
ELECTRONIC COMMUNICATIONS A SYSTEMS APPROACH CHAPTER Copyright © 2014 by Pearson Education, Inc. All Rights Reserved Electronic Communications: A Systems.
Subtractive Sound Synthesis. Subtractive Synthesis Involves subtracting frequency components from a complex tone to produce a desired sound Why is it.
Eeng Chapter 5 AM, FM, and Digital Modulated Systems  Phase Modulation (PM)  Frequency Modulation (FM)  Generation of PM and FM  Spectrum of.
NARROW-BAND FREQUENCY MODULATION
Frequency Modulation ECE 4710: Lecture #21 Overview:
EET260 Frequency Modulation. Modulation A sine wave carrier can be modulated by varying its amplitude, frequency, or phase shift. In AM, the amplitude.
CHAPTER 4 COMPLEX STIMULI. Types of Sounds So far we’ve talked a lot about sine waves =periodic =energy at one frequency But, not all sounds are like.
Amplitude/Phase Modulation
Presented by: Class Presentation of Custom DSP Implementation Course on: This is a class presentation. All data are copy rights of their respective authors.
Principles & Applications
Types of Synthesizers and How They Work
Chapter Four: Angle Modulation. Introduction There are three parameters of a carrier that may carry information: –Amplitude –Frequency –Phase Frequency.
Synthesizing a Clarinet Nicole Bennett. Overview  Frequency modulation  Using FM to model instrument signals  Generating envelopes  Producing a clarinet.
CS 591 S1 – Computational Audio -- Spring, 2017
BIOELECTRONICS 1 Lec 9: Op Amp Applications By
CS 591 S1 – Computational Audio -- Spring, 2017
Principles of Electronic Communication Systems
CS 591 S1 – Computational Audio -- Spring, 2017
CS 591 S1 – Computational Audio – Spring 2017
CS 591 S1 – Computational Audio
Spectrum Analysis and Processing
UNIT – II ANGLE MODULATION (Part -1/2) Prepared by:
CS 591 S1 – Computational Audio
Chapter 3 ANGLE MODULATION
CS 591 S1 – Computational Audio -- Spring, 2017
Amplitude Modulation.
Chapter 5 AM, FM, and Digital Modulated Systems
Chapter 4 Bandpass Circuits Limiters
MODULATION AND DEMODULATION
Applications of Fourier Analysis I Patterns in Space and Time:
ANALOG COMMUNICATION SYSTEMS
Analog Transmission.
Frequency Shift Keying (FSK)
Developing a Versatile Audio Synthesizer TJHSST Computer Systems Lab
AM, FM, and Digital Modulated Systems
Lecture 5: DSB-SC AM Modulation 1st semester
Signal Processing First
7.1 Introduction to Fourier Transforms
Modulation                                                                 Digital data can be transmitted via an analog carrier signal by modulating one.
Amplitude Modulation By Dr. Vaibhav Jain Associate Professor, Dept. of Physics, D.A.V (PG) College, Bulandshahr, U.P., India.
Phase Shift Keying (PSK)
Chapter 5 Digital Modulation Systems
Presentation transcript:

CS 591 S1 – Computational Audio -- Spring, 2017 Wayne Snyder Computer Science Department Boston University Lecture 6 Amp, Ring, and Freq Modulation Continued – Spectral Analysis Low-pass filters compared with smoothing algorithms Filters and digital filter theory Lecture 7 Filters continued Subtractive synthesis Formant synthesis of voice signals Demo of synthesis platforms Because of the missing lecture, no homework this week, but next one will be a bit longer . 1

Frequency Modulation Frequency Modulation uses the modulating signal to change the frequency of the audio signal: 2

Frequency Modulation Here are some examples of Frequency Modulation with various frequencies and amplitudes, all modifying a straight A 440 Hz signal: Amplitude (Hz) Frequency (Hz) 10 2 100 200 10 6 50 6 10 10 10 20 20 50 20 100 20 200 Classical singing technique specifies that the “ideal” vibrato is about 6 Hz and 0.25 to 0.5 semitones, which corresponds to about 10 Hz here.

Frequency Modulation There is a little problem with a straight-forward implementation of frequency modulation; here is a naïve way of changing the frequency of the audio signal: So you would expect that X = freqModulationNaive(440,1.0,6,10,5) Would vary the 440 audio frequency by 10 Hz at the rate of 6 Hz, oscillating between 430 Hz and 450 Hz 6 times a second. But here is what you get: 4

Frequency Modulation sin( 2 * π * 1 * t ) sin( 2 * π * 2 * t ) What is the problem? When you change the frequency, but only keep track of time since the beginning of the signal, the (instantaneous) phases may not match. Let’s consider what happens when you change a signal suddenly between two frequencies, say 1 Hz and 2 Hz. If we have a 2 sec signal, and change at the 1 sec mark, we get a (somwhat) smooth transition, because the (instantaneous) phase at the transition point was the same: sin( 2 * π * 1 * t ) sin( 2 * π * 2 * t ) 5

Frequency Modulation What is the problem? When you change the frequency, but only keep track of time since the beginning of the signal, the (instantaneous) phases may not match. If we change the frequency at 0.75 sec, however, the (instantaneous) phases do not match, and we get a discontinuity in the signal: 6

Frequency Modulation Here is the corrected function: Note that the phase has to be updated every time through the loop, to keep a running count of how far the phase has shifted each time the frequency is changed! 7

AM, FM, and Spectra When the modulating frequency is below 20 Hz, you will hear the individual modulations: AM & Ring Modulation = Tremolo Frequency Modulation = Vibrato However, when the modulating frequency is above 20 Hz, it affects the timbre of the sound, and this can be understood in terms of its spectrum…. Here is a simple 500 Hz signal and its spectrum: 8

AM, FM, and Spectra Let us first consider Amplitude Modulation: Here is the spectral analysis for a 500 Hz audio signal with AM applied with 50 Hz and 0.2 amplitude: 9

AM, FM, and Spectra 10

AM, FM, and Spectra 11

AM, FM, and Spectra So what is the rule for predicting the spectrum from the Amplitude Modulation frequencies and amplitude? 12

AM, FM, and Spectra So what is the rule for predicting the spectrum from the Amplitude Modulation frequencies and amplitude? fc at amplitude Ac – Am fc – fm at amplitude Am/2 fc + fm at amplitude Am/2 fc = Carrier Frequency Ac = Carrier Amplitude fm = Modulator Frequency Am = Modulator Amplitude The frequencies on each side of the carrier frequency are called sideband frequencies. 13

AM, FM, and Spectra What about negative frequencies? 14

AM, FM, and Spectra Note that if you choose your frequencies carefully, you can create a harmonic series, which will sound reasonably pleasant: 15

AM, FM, and Spectra Note that if you choose your frequencies carefully, you can create a harmonic series, which will sound reasonably pleasant: 16

AM, FM, and Spectra Now let us try Ring Modulation: Here is the spectral analysis for a 500 Hz audio signal with a Ring Modulation at 50 Hz: 17

AM, FM, and Spectra Here is another one. What is the rule?? 18

AM, FM, and Spectra Here is another one. What is the rule?? Carrier frequency disappears and is replaced by sideband frequencies, which divide the amplitude between them! 19

AM, FM, and Spectra Now Frequency Modulation! Let’s try the same thing…. The Modulation Index is the ratio Am / fm So here the carrier frequency varies between 495 .. 505 Hz. 20

AM, FM, and Spectra 21

AM, FM, and Spectra 22

AM, FM, and Spectra The “Rule” is a little hard to see, but can be mathematically described; roughly, you get about 2*Index sideband frequencies on each side, at intervals of the modulator frequency. 23

AM, FM, and Spectra 24

Time-Varying Spectral and FM This led researchers (especially John Chowning) to try to design instrumental sounds by setting the parameters to extreme values to get interesting spectra. Here the modulating frequency is LARGER than the carrier frequency, and varies so that the frequency swings between positive and negative values! 25

Time-Varying Spectral and FM Not a great sound! But when combined with amplitude envelopes and by varying the parameters to simulate the way that spectra change as high frequencies “roll off” over time, you can get interesting simulations! One common technique is to decrease the modulation index over time: You can also try using a complex signal as modulator, essentially applying multiple frequency modulations at once…. the possibilities are endless! http://cmc.music.columbia.edu/musicandcomputers/chapter4/04_07.php 26