Unit Generators and V.I.s Patches are configurations of V.I.s Both Patches & Virtual Instruments can be broken down into separate components called Unit.

Slides:



Advertisements
Similar presentations
Sound Synthesis Part II: Oscillators, Additive Synthesis & Modulation.
Advertisements

ITEC 109 Lecture 25 Sound.
IntroductionIntroduction Most musical sounds are periodic, and are composed of a collection of harmonic sine waves.Most musical sounds are periodic, and.
Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
ENEL 583/589 Electrical, Computer, and Software Engineering In modern society, machinery is frequently used to make our lives simpler, and to help us carry.
Analogue to Digital Conversion (PCM and DM)
0 - 1 © 2010 Texas Instruments Inc Practical Audio Experiments using the TMS320C5505 USB Stick “Sine Waves” Texas Instruments University Programme Teaching.
1 Transmission Fundamentals Chapter 2 (Stallings Book)
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
EE2F2 - Music Technology 9. Additive Synthesis & Digital Techniques.
CORRECTING RMS VALUE OF A SINE WAVEFORM SAMPLED DUE LIMITED NUMBER OF PERIODS AND DETERMINATE APERTURE TIME ON DMM Keywords: Digital Multimeter (DMM),
This lesson covers the following outcomes Unit 54 P1, P7, P8 Unit 6 P10, P11.
CMP206 – Introduction to Data Communication & Networks Lecture 2 – Signals.
The frequency spectrum
Oscillator Algorithm. L-1 SI PHS Sampling Increment (determines frequency) Phase Count (0 ≤ PHS < L) Waveform Table 0 Output.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
Analogue to Digital Conversion
Continuous Time Signals A signal represents the evolution of a physical quantity in time. Example: the electric signal out of a microphone. At every time.
Analogue to Digital Conversion
School of Computing Science Simon Fraser University
CSE466 Autumn ‘00- 1 System Functional Requirements  Children’s toy…comes with PC software. Child plays notes on the screen and the device makes corresponding.
1 Hearing Sound is created by vibrations from a source and is transmitted through a media (such as the atmosphere) to the ear. Sound has two main attributes:
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.
Chapter 2 : Business Information Business Data Communications, 4e.
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Harmonics and Overtones Waveforms / Wave Interaction Phase Concepts / Comb Filtering Beat Frequencies / Noise AUD202 Audio and Acoustics Theory.
EE2F2 - Music Technology 8. Subtractive Synthesis.
EE2F1 Speech & Audio Technology Sept. 26, 2002 SLIDE 1 THE UNIVERSITY OF BIRMINGHAM ELECTRONIC, ELECTRICAL & COMPUTER ENGINEERING Digital Systems & Vision.
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.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
Basics of Signal Processing. frequency = 1/T  speed of sound × T, where T is a period sine wave period (frequency) amplitude phase.
Harmonics, Timbre & The Frequency Domain
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
OSCILLATORS.
Pulse Modulation 1. Introduction In Continuous Modulation C.M. a parameter in the sinusoidal signal is proportional to m(t) In Pulse Modulation P.M. a.
A Brief Exploration of Electronic Music and its Theory By: Zac Changnon.
Where we’re going Speed, Storage Issues Frequency Space.
Lab #8 Follow-Up: Sounds and Signals* * Figures from Kaplan, D. (2003) Introduction to Scientific Computation and Programming CLI Engineering.
Synthesis Basics (1) Analog Synthesis Intro to Digital Oscillators.
Synthesis advanced techniques. Other modules Synthesis would be fairly dull if we were limited to mixing together and filtering a few standard waveforms.
Created by Jimmie Fouts Houston County Career Academy for.
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES INTRODUCTION 6/1/ A.Aruna, Assistant Professor, Faculty of Information Technology.
Subtractive Sound Synthesis. Subtractive Synthesis Involves subtracting frequency components from a complex tone to produce a desired sound Why is it.
JEG AUDIO Justin McDowell Edward Jones Greg Fagula – SoC FPGA Design Laboratory (Final Project)
Quiz 1 Review. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic components:
Vibrationdata 1 Unit 6a The Fourier Transform. Vibrationdata 2 Courtesy of Professor Alan M. Nathan, University of Illinois at Urbana-Champaign.
Microphone Array Project ECE5525 – Speech Processing Robert Villmow 12/11/03.
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.
1 Hearing Sound is created by vibrations from a source and is transmitted through a media (such as the atmosphere) to the ear. Sound has two main attributes:
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
Digital Oscillators. Everything is a Table A table is an indexed list of elements (or values) A digital oscillator or soundfile is no different.
Digital Oscillators. Everything is a Table A table is an indexed list of elements (or values) A digital oscillator or soundfile is no different.
ECE 101 An Introduction to Information Technology Analog to Digital Conversion.
Digital Audio I. Acknowledgement Some part of this lecture note has been taken from multimedia course made by Asst.Prof.Dr. William Bares and from Paul.
BASIC INSTRUMENTS - oscilloscopes
Function Generators. FUNCTION GENERATORS Function generators, which are very important and versatile instruments. provide a variety of output waveforms.
Measurement and Instrumentation
FUNCTION GENERATOR.
Software Defined Radio PhD Program on Electrical Engineering
Fourier’s Theorem.
Analog to digital conversion
Direct Digital Synthesis: Applications to Radar
Sinusoidal Waveform Phasor Method.
Introduction to Frequency Domain TIPL 4301 TI Precision Labs – ADCs
Net 222: Communications and networks fundamentals (Practical Part)
Introduction to Csound 5.
Wavetable Synthesis.
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
Presentation transcript:

Unit Generators and V.I.s Patches are configurations of V.I.s Both Patches & Virtual Instruments can be broken down into separate components called Unit Generators

Unit Generators Have input parameters Have at least one output Perform a function: °modification of a signal °combination of signals

ATTACK TIME DECAY TIME AMP DUR FREQ 1FREQ 2AMP MULTIPLIER

Oscillators AMPFREQ PHASE

Oscillators Can be driven by an algorithm in real time Computers have, until recently, been too slow to deal with this whilst providing the user with the capabilities they require So most virtual oscillators use a waveform that is pre-stored in a wavetable

Wavetables The value of many uniformly placed points on one cycle of a waveform are calculated These points are stored in a wavetable

Wavetables A pictorial representation of a wavetable; really it’s just a table of numbers

Wavetables The oscillator will retrieve values from the wavetable to produce the wave The position we are at along the wave is known as the phase

Phase The phase of the wave is it’s position in the wave cycle Normally measured in degrees (0   ) or radians Here it is measured in sample points Phase (Φ) of 0 is the first sample

Phase So if the wavetable has 512 sample points And the phase is 180  What sample point are we at?

Phase of 180 

Periodic Waves We only store one cycle of the wave because the wave is ‘periodic’ This means it repeats forever

Wrap Around So if we talk about a given phase Φ 1 Φ 1 = 515 The sample point (Φ) we are looking for in our wavetable is: Φ = Φ 1 – 512 = 3

Digital Waves & Sampling Frequency Sound waves held digitally are cut up into small pieces (or samples) The number of samples they are cut into affects the smoothness of the wave CD sampling frequency = 44,100 samps/sec

Wave Playback Playing back the wave in the wavetable will produce a sound of a particular frequency Before the wave is played back it must be calculated and then stored The number of samples used to store each second of the waveform is known as the sampling frequency, f s

Wave Playback When the wave is played back it is played back at the same sampling frequency, f s It is possible to figure out the frequency of the wave stored by performing a calculation

Calculating the Frequency of the Wave Held in the Wavetable f s / N = f 0 samples per second / samples per cycle = cycles per second (seconds/samples) / (cycles/samples) = (seconds/cycles)

f s / N = f 0 44,100/512 = Hz Calculating the Frequency of the Wave Held in the Wavetable

Sampling Increment (S.I.) We don’t just want 86.13Hz We want any frequency we want So we use a Sampling Increment

Sampling Increment (S.I.) The sampling increment is the amount added to the current phase location before the next sample is retrieved and played back By altering the S.I. we can use the wavetable to create waves of different frequencies

Sampling Increment (S.I.) Playing back the wave at 86.13Hz means playing it back as it is This means adding 1 to each phase location before retrieving the next sample and playing it back This happens 44,100 times a second, and produces cycles each second (because there are 512 samples per cycle)

Sampling Increment (S.I.) f s / N * S.I. = f 0 44,100 / 512 * 1 = Hz

Increasing Playback Frequency Increasing the S.I. decreases the number of samples played back So the speed of the wave playback is increased, as is the frequency of the wave produced

S.I. = 2 f s / N * S.I. = f 0 44,100 / 512 * 2 = Hz

Rearrange the Equation f s / N * S.I. = f 0 S.I. = N * f 0 / f s

Playback Wave at 250 Hz S.I. = N * f 0 / f s S.I. = 512 * 250 / 44,100 = 2.902

Table Look-Up Noise We only have 512 samples in our wavetable The points we have samples for may not line up with the points at which we wish to obtain samples The S.I. is but (going from 0) we only have samples at 2 & 3

Dealing With Real Numbers The samples we want to grab don’t exist! Options: °truncate: becomes 2 °round: becomes 3 °or interpolate...

Interpolation is used as the S.I. so take a value at the initial phase (say 3) add to the initial phase = to get the place to take the next value add to this to get the place to take the next value = and so on

Interpolation we don’t have values at these points so we calculate estimated values using the nearest samples (this is interpolation) * * 0.7, or 90.2% of % of =

Interpolation Occurs for every sampling increment, so 44,100 times per second Uses a LOT of processing power The interpolation process still requires us to round numbers up or down, and so still produces error

Table Look-Up Noise So rounding is required whatever, and that produces error This error is known as table look-up noise This error affects signal to noise ratio (S.N.R.)

S.N.R. Affects the ratio achievable between quiet and loud sounds. Dodge (1997): Ignoring the quantisation noise contributed by data converters a 512 entry table would produce tones no worse than 43, 49, and 96 dB SNR for truncation, rounding and interpolation respectively. And a 1024 entry table would produce tones no worse than 109 dB SNR for an interpolating oscillator.”

A Sine Wave time, t 0T/2T3T/ v(t)

A Sawtooth Wave 0T2T time, t v(t)

A Square Wave 0T/2T3T/ time, t v(t)

A Triangle Wave 0T2T time, t v(t)