Insight Through Computing 25. Working with Sound Files Cont’d Frequency Computations Touchtone Phones.

Slides:



Advertisements
Similar presentations
CMPS1371 Introduction to Computing for Engineers PROCESSING SOUNDS.
Advertisements

Fourier Integrals For non-periodic applications (or a specialized Fourier series when the period of the function is infinite: L  ) L -L L  -L  - 
Physics 1251 The Science and Technology of Musical Sound Unit 1 Session 8 Harmonic Series Unit 1 Session 8 Harmonic Series.
Improvement of Audio Capture in Handheld Devices through Digital Filtering Problem Microphones in handheld devices are of low quality to reduce cost. This.
School of Computing Science Simon Fraser University
Chapter 13 Sounds and signals basics of computer sound perception and generation of sound synthesizing complex sounds sampling sound signals simple example.
Dual Tone Multi-Frequency System Michael Odion Okosun Farhan Mahmood Benjamin Boateng Project Participants: Dial PulseDTMF.
Error Propagation. Uncertainty Uncertainty reflects the knowledge that a measured value is related to the mean. Probable error is the range from the mean.
CSCE 641 Computer Graphics: Fourier Transform Jinxiang Chai.
CPSC 641 Computer Graphics: Fourier Transform Jinxiang Chai.
Computational Photography: Fourier Transform Jinxiang Chai.
SAMPLING & ALIASING. OVERVIEW Periodic sampling, the process of representing a continuous signal with a sequence of discrete data values, pervades the.
CELLULAR COMMUNICATIONS DSP Intro. Signals: quantization and sampling.
Over-Sampling and Multi-Rate DSP Systems
infinity-project.org Engineering education for today’s classroom 53 Design Problem - Digital Band Build a digital system that can create music of any.
Frequency Domain Representation of Sinusoids: Continuous Time Consider a sinusoid in continuous time: Frequency Domain Representation: magnitude phase.
1 Today's lecture −Concept of Aliasing −Spectrum for Discrete Time Domain −Over-Sampling and Under-Sampling −Aliasing −Folding −Ideal Reconstruction −D-to-A.
Where we’re going Speed, Storage Issues Frequency Space.
Lecture 1 Signals in the Time and Frequency Domains
Chapter 2 Dimensionality Reduction. Linear Methods
Kent Bertilsson Muhammad Amir Yousaf. DC and AC Circuit analysis  Circuit analysis is the process of finding the voltages across, and the currents through,
CSC361/661 Digital Media Spring 2002
Signals & Systems Lecture 11: Chapter 3 Spectrum Representation (Book: Signal Processing First)
Heart Sound Background Noise Removal Haim Appleboim Biomedical Seminar February 2007.
Fourier series. The frequency domain It is sometimes preferable to work in the frequency domain rather than time –Some mathematical operations are easier.
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
Correlated and Uncorrelated Signals Problem: we have two signals and. How “close” are they to each other? Example: in a radar (or sonar) we transmit a.
Fundamental of Signals 2-1 Fundamentals of Signals Practical Signal Processing Concepts and Algorithms using MATLAB __________________________________________________________________________________________________________.
Additional Example 1: Organizing and Interpreting Data in a Frequency Table
Signals CY2G2/SE2A2 Information Theory and Signals Aims: To discuss further concepts in information theory and to introduce signal theory. Outcomes:
Periodogram of a sinusoid + spike Single high value is sum of sine curves all in phase at time t 0 :
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
ECE 5525 Osama Saraireh Fall 2005 Dr. Veton Kepuska
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:
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.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Learn: to organize and interpret data in frequency tables to organize and interpret data in frequency tables.
$100 $200 $300 $400 $100 $200 $300 $400 $300 $200 $100 Adding multiples of 10 Add 1 to 2 digit numbers with regrouping Add 3 two digit numbers Ways.
Lecture 4-1CS251: Intro to AI/Lisp II Where did that edge go? April 29th, 1999.
1 Introduction to bx Program (BANAL) To accompany Exercise 2 C.T. Russell April 9, 2008.
Signals and Systems Lecture 3: Sinusoids. 2 Today's lecture −Sinusoidal signals −Review of the Sine and Cosine Functions  Examples −Basic Trigonometric.
Two Least Squares Applications Data Fitting Noise Suppression.
WARM UP What is the exact value of cos 30°? What is the exact value of tan 60°? Write cos 57° in decimal form. Write sin 33° in decimal form. Write csc.
FCI. Faculty of Computer and Information Fayoum University FCI.
Chapter 2. READING ASSIGNMENTS This Lecture: Chapter 2, pp Appendix A: Complex Numbers Appendix B: MATLAB or Labview Chapter 1: Introduction.
CS 591 S1 – Computational Audio
Applications of Multirate Signal Processing
Periodic Signals Prof. Brian L. Evans
Matrix Operations Monday, August 06, 2018.
Lecture 5 Spectrum Representation
SAMPLING & ALIASING.
Dual Tone Multi Frequency (DTMF)
Sinusoidal Waveform Phasor Method.
Lecture 14 Digital Filtering of Analog Signals
Net 222: Communications and networks fundamentals (Practical Part)
Sinusoids: continuous time
Lecture 10 Digital to Analog (D-to-A) Conversion
Net 222: Communications and networks fundamentals (Practical Part)
CSCE 643 Computer Vision: Thinking in Frequency
Fourier Integrals For non-periodic applications (or a specialized Fourier series when the period of the function is infinite: L) -L L -L- L
6 The Circular Functions and Their Graphs
Graphs of Composite Trigonometric Functions
Lecture 2: Frequency & Time Domains presented by David Shires
The Fourier Transform Intro: Marisa, Nava, Compression Scheme project. Relies heavily on Fourier Transform.
Graphs of Sine and Cosine: Sinusoids
L26. More on Sound File Processing
Geology 491 Spectral Analysis
Today's lecture System Implementation Discrete Time signals generation
ENEE222 Elements of Discrete Signal Analysis Lab 9 1.
Presentation transcript:

Insight Through Computing 25. Working with Sound Files Cont’d Frequency Computations Touchtone Phones

We looked at the time domain Sample number Time

Insight Through Computing What about the frequency domain? >> phone

Insight Through Computing A “pure-tone” sound is a sinusoidal function = the frequency Higher frequency means that y(t) changes more rapidly with time.

Insight Through Computing Still looking at the time domain

Insight Through Computing Digitize for Graphics % Sample “Rate” n = 200 % Sample times tFinal = 1; t = 0:(1/n):tFinal % Digitized Plot… omega = 8; y= sin(2*pi*omega*t) plot(t,y) Digitize for Sound % Sample Rate Fs = % Sample times tFinal = 1; t = 0:(1/Fs):tFinal % Digitized sound… omega = 800; y= sin(2*pi*omega*t); sound(y,Fs)

Insight Through Computing Equal-Tempered Tuning 0 A A# B C C# D D# E F F# G G# A Entries are frequencies. Each column is an octave. Magic factor = 2^(1/12). C3 = , A4 =

Insight Through Computing Middle C: A above middle C: + = “Adding” Sinusoids

Insight Through Computing “Adding” Sinusoids  averaging the sine values Fs = 32768; tFinal = 1; t = 0:(1/Fs):tFinal; C3 = ; yC3 = sin(2*pi*C3*t); A4 = ; yA4 = sin(2*pi*A4*t); y = (yC3 + yA4)/2; sound(y,Fs)

Insight Through Computing Application: touchtone telephones Make a signal by combining two sinusoids

A frequency is associated with each row & column So two frequencies are associated with each button. The “5”-Button corresponds to (770,1336) Each button has its own 2-frequency “fingerprint”!

Insight Through Computing Signal for button 5: Fs = 32768; tFinal =.25; t = 0:(1/Fs):tFinal; yR = sin(2*pi*770*t); yC = sin(2*pi*1336*t) y = (yR + yC)/2; sound(y,Fs) MakeShowPlay.m

Insight Through Computing This is the “fingerprint” of button ‘5’

Insight Through Computing The sinusoids for buttons 1,2,3, and 4

Insight Through Computing To Minimize Ambiguity… No frequency is a multiple of another The difference between any two frequencies does not equal any of the frequencies The sum of any two frequencies does not equal any of the frequencies Why is this important? I dial a number (send signal). The receiver of the signals get a “noisy” version of the real signal. How will the noisy data be interpreted? SendNoisy.m

Insight Through Computing How to compare two signals (vectors)? Given two vectors x and y of the same length, the cosine of the angle between the two vectors is a measure of the correlation between vectors x and y: cos_xy.m ShowCosines.m Small cosine  low correlation High cosine  highly correlated

Insight Through Computing Sending and deciphering noisy signals Randomly choose a button Choose random row and column numbers Construct the real signal ( MakeShowPlay ) Add noise to the signal ( SendNoisy ) Compute cosines to decipher the signals ( ShowCosines ) See Eg13_2

Insight Through Computing What does the signal look like for a multi-digit call? Buttons pushed at equal time intervals Each band matches one of the twelve “fingerprints” “Perfect” signal

Insight Through Computing “Noisy” signal Buttons pushed at unequal time intervals Each band approximately matches one of the twelve “fingerprints.” There is noise between the button pushes. One of the most difficult problems is how to segment the multi-button signal!