Wavetable Synthesis.

Slides:



Advertisements
Similar presentations
Longitudinal Standing Waves and Complex Sound Waves 17.6 and 17.7.
Advertisements

Sound Synthesis Part II: Oscillators, Additive Synthesis & Modulation.
IntroductionIntroduction Most musical sounds are periodic, and are composed of a collection of harmonic sine waves.Most musical sounds are periodic, and.
MUSIC NOTES Noise Versus Music  What is the difference between noise and music?  Answer: The appearance of the waveform.  What is the difference between.
Fourier Series 主講者:虞台文.
Sound test. Signals and waveforms What is a signal? Need not be electrical Morse Speech Video Contains information.
Copyright ©2011 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Introduction to Engineering Experimentation, Third.
Physics 1251 The Science and Technology of Musical Sound Unit 1 Session 8 Harmonic Series Unit 1 Session 8 Harmonic Series.
Synthesis. What is synthesis? Broad definition: the combining of separate elements or substances to form a coherent whole. (
Harmonic Series and Spectrograms 220 Hz (A3) Why do they sound different? Instrument 1 Instrument 2Sine Wave.
Geol 491: Spectral Analysis
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Objective of Lecture Introduce several nonsinusoidal waveforms including Impulse function Step function Ramp function Convolutions Pulse and square waveforms.
Objective of Lecture Introduce several nonsinusoidal waveforms including Impulse waveforms Step functions Ramp functions Convolutions Pulse and square.
A.Diederich– International University Bremen – USC – MMM Spring Sound waves cont'd –Goldstein, pp. 331 – 339 –Cook, Chapter 7.
IntroductionIntroduction For periodic waveforms, the duration of the waveform before it repeats is called the period of the waveformFor periodic waveforms,
Dr. Jie ZouPHY Chapter 8 (Hall) Sound Spectra.
Intro to Fourier Analysis Definition Analysis of periodic waves Analysis of aperiodic waves Digitization Time-frequency uncertainty.
Spectra of FM FM spectra contains the carrier frequency plus sideband components whose amplitudes depend on the Bessel functions (of the first kind).FM.
Methods for Tone and Signal Synthesis R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Additional Notes on Wavetable Synthesis R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Harmonics and Overtones Waveforms / Wave Interaction Phase Concepts / Comb Filtering Beat Frequencies / Noise AUD202 Audio and Acoustics Theory.
PH 105 Dr. Cecilia Vogel Lecture 12. OUTLINE  Timbre review  Spectrum  Fourier Synthesis  harmonics and periodicity  Fourier Analysis  Timbre and.
Square wave Fourier Analysis + + = Adding sines with multiple frequencies we can reproduce ANY shape.
Fundamentals of Digital Audio. The Central Problem n Waves in nature, including sound waves, are continuous: Between any two points on the curve, no matter.
CH#3 Fourier Series and Transform
Sampling of Continuous Time Signal Section
Harmonics, Timbre & The Frequency Domain
Chapter 25 Nonsinusoidal Waveforms. 2 Waveforms Used in electronics except for sinusoidal Any periodic waveform may be expressed as –Sum of a series of.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Where we’re going Speed, Storage Issues Frequency Space.
Chapter-4 Synthesis and Analysis of Complex Waves Fourier Synthesis: The process of combining harmonics to form a complex wave. Fourier Analysis: Determining.
Physics 1200 Review Questions Tuning and Timbre May 14, 2012.
Harmonic Series and Spectrograms
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 11: Modulation Ken Greenebaum.
Copyright © 2011 by Denny Lin1 Simple Synthesizer Part 1 Based on Floss Manuals (Pure Data) “Building a Simple Synthesizer” By Derek Holzer Slides by Denny.
WELCOME to Physics is Phun. Please be Seated Physics Lecture-Demonstration Web Site Summer Programs for Youth Physics Olympics Physics Question of the.
Acoustic Theory 3 Sound Creation and Manipulation.
1 Composite Signals and Fourier Series To approximate a square wave with frequency f and amplitude A, the terms of the series are as follows: Frequencies:
12/2/2015 Fourier Series - Supplemental Notes A Fourier series is a sum of sine and cosine harmonic functions that approximates a repetitive (periodic)
CH#3 Fourier Series and Transform
Chapter 21 Musical Sounds.
Harmonic Series and Spectrograms BY JORDAN KEARNS (W&L ‘14) & JON ERICKSON (STILL HERE )
Basic Acoustics. Sound – your ears’ response to vibrations in the air. Sound waves are three dimensional traveling in all directions. Think of dropping.
 Wave energy depends on amplitude, the more amplitude it has, the more energy it has.
EEE 332 COMMUNICATION Fourier Series Text book: Louis E. Frenzel. Jr. Principles of Electronic Communication Systems, Third Ed. Mc Graw Hill.
Intro to Fourier Series BY JORDAN KEARNS (W&L ‘14) & JON ERICKSON (STILL HERE )
CH#3 Fourier Series and Transform 1 st semester King Saud University College of Applied studies and Community Service 1301CT By: Nour Alhariqi.
Chapter 8 © Copyright 2007 Prentice-HallElectric Circuits Fundamentals - Floyd Chapter 8.
Signal Fndamentals Analogue, Discrete and Digital Signals
CS 591 S1 – Computational Audio – Spring 2017
Harmonics Ben Kemink.
MECH 373 Instrumentation and Measurements
Pitch.
Electric Circuits Fundamentals
For a periodic complex sound
Figure Hz sine wave to be sampled.
Intro to Fourier Series
Speed of a wave on a string?
Developing a Versatile Audio Synthesizer TJHSST Computer Systems Lab
Speech Pathologist #10.
Lab 6: Sound Analysis Fourier Synthesis Fourier Analysis
Introduction to Csound 5.
Example I: F.T. Integration Property
Copyright © 2017, 2013, 2009 Pearson Education, Inc.
7.2 Even and Odd Fourier Transforms phase of signal frequencies
Lecture 7C Fourier Series Examples: Common Periodic Signals
Chapter 16: Sound HW2: Chapter 16: Pb.2, Pb 18, Pb.24, Pb 35, Pb.40, Pb.62 Due on Wednesday 24.
Introduction to Csound 2.
Geol 491: Spectral Analysis
Presentation transcript:

Wavetable Synthesis

Introduction Most musical sounds are periodic, and are composed of a collection of harmonic sine waves.

Wavetables Harmonic sine waves are at integer multiples of some fundamental frequency. For example, a fundamental frequency of 100 Hz has harmonics at 100 Hz, 200 Hz, 300 Hz, ...).

Wavetables If a waveform is periodic, we can use a wavetable to store one period of the waveform to avoid having to re-compute it for every period, and instead we can use table lookup.

Wavetables A wavetable is an array of waveform amplitude values.

Wavetables We can generate a periodic waveform by summing a set of harmonic sine waves. where: i is table location, 0<= i < tablength, tablamp[i] is amplitude at table location i, tablength is the size of the wavetable, Nhar is the number of harmonics, k is the harmonic number, ampk is the amplitude of harmonic k.

[ii:24] Example 1 f1 0 64 10 1 .5 .25 Nhar=3, tableLength=64, and amp1 = 1, amp2 = .5 and amp3 = .25

Example 1 f1 0 64 10 1 .5 .25 the values for tablamp[i] are shown in the composite waveform below:

[ii:25] Example 2 f1 0 64 10 1 2 4 Nhar=3, tableLength=64, and amp1 = 1, amp2 = 2 and amp3 = 4

Example 2 f1 0 64 10 1 2 4 the values for tablamp[i] are shown in the composite waveform below:

[ii:26] Example 3 f1 0 64 10 1 .75 .5625 .4219 .3164 .2373 .178 .13348 .1001 .0751 Nhar=10, tableLength=64, and amp1 = 1, amp2 = .75 and amp3 = .75*.75, etc.

Example 3 f1 0 64 10 1 .75 .5625 .4219 .3164 .2373 .178 .13348 .1001 .0751 the values for tablamp[i] are shown in the composite waveform below:

[ii:18] Sine Wave f1 0 16385 10 1 Waveform Spectrum

[ii:27] Pulse Wave Waveform Spectrum sounds like a door buzzer:

[ii:28] Sawtooth Wave Waveform Spectrum exponential spectrum

[ii:29] Sine Wave (flattened) squared exponential spectrum — clarinet-like with only odd harmonics Waveform Spectrum

[ii:30] Wavetable Aliasing Be careful to avoid wavetable aliasing. The highest harmonic frequency must be less than the Nyquist Frequency. Harmonic aliasing Adding harmonics to 1000 Hz fundamental, with SR=22050. Intended harmonics Aliased harmonics

Sound Quality Depends on: Sampling Rate Table Size Higher Rate is better Larger size is better Limit Limit Nyquist Frequency 16385 is large enough for most purposes

[ii:31] Synthesizing the Following Spectra

Wavetable Synthesis Example wavetable 1: amp1 = 2400 f1 0 16385 -10 2400 wavetable 2: amp2 = 900, amp3 = 600 f2 0 16385 -10 0 900 600 wavetable 3: amp4 = 1000, amp5 = 180, amp6 = 400, amp7 = 250 f3 0 16385 -10 0 0 0 1000 180 400 250 wavetable 4: amp8 = 90, amp9 = 90, amp10 = 55 f4 0 16385 -10 0 0 0 0 0 0 0 90 90 55

Bass Clarinet Example [ii:32] G98, 35 harmonics, odd harmonics louder:

Bass Clarinet Example G98, 35 harmonics, odd harmonics louder:

Bass Clarinet Example G98, using 4 wavetables, with almost 35 harmonics (3 are left out): f1 0 16385 -10 1 f2 0 16385 -10 0 0.024 0.985 f3 0 16385 -10 0 0 0 0.039 0.740 0 0.178 f4 0 16385 -10 0 0 0 0 0 0 0 0 0.093 0.050 0.285 0.083 0.317 0.137 0.400 0.047 0.476 0.128 0.370 0.054 0.093 0.083 0.110 0.030 0.061 0.056 0.113 0.225 0.050 0.091 0.022 0.034 0 0.055 0.039

Bass Clarinet Example add a little vibrato and play [ii:33] music!

Review Question Which wavetable could represent this spectrum? A. f1 0 16385 -10 1 .5 .25 B. f2 0 16385 -10 1 2 3 C. f3 0 16385 -10 3 2 1 D. f4 0 16385 -10 1 1 1 E. none of the above