Fast n Furious Transforms. Welcome to my Journey Pitch Detection Fourier Transform Signal Visualization struct _unknown { byte typeField; short lenField;

Slides:



Advertisements
Similar presentations
DCSP-3: Fourier Transform (continuous time) Jianfeng Feng
Advertisements

DCSP-13 Jianfeng Feng Department of Computer Science Warwick Univ., UK
David Hansen and James Michelussi
Computer Vision Lecture 7: The Fourier Transform
Time Series II.
Welcome to MATLAB DigComm LAB
Fourier Transforms and Their Use in Data Compression
Parallel Fast Fourier Transform Ryan Liu. Introduction The Discrete Fourier Transform could be applied in science and engineering. Examples: ◦ Voice recognition.
Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Use of Frequency Domain Telecommunication Channel |A| f fcfc Frequency.
CMPS1371 Introduction to Computing for Engineers PROCESSING SOUNDS.
Signals Maninder Kaur 1www.eazynotes.com Maninder Kaur
0 - 1 © 2010 Texas Instruments Inc Practical Audio Experiments using the TMS320C5505 USB Stick “Sine Waves” Texas Instruments University Programme Teaching.
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
Geol 491: Spectral Analysis
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems Spring 2005 Shreekanth Mandayam ECE Department Rowan University.
DEVON BRYANT CS 525 SEMESTER PROJECT Audio Signal MIDI Transcription.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2008 Shreekanth Mandayam ECE Department Rowan University.
Lecture 13 The frequency Domain (1)
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2009 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2009 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2007 Shreekanth Mandayam ECE Department Rowan University.
2D Fourier Theory for Image Analysis Mani Thomas CISC 489/689.
Introduction to Wavelets
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems Spring 2005 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems Spring 2005 Shreekanth Mandayam ECE Department Rowan University.
Unit 7 Fourier, DFT, and FFT 1. Time and Frequency Representation The most common representation of signals and waveforms is in the time domain Most signal.
Systems: Definition Filter
Integral Transform Dongsup Kim Department of Biosystems, KAIST Fall, 2004.
Digital Sound and Video Chapter 10, Exploring the Digital Domain.
Where we’re going Speed, Storage Issues Frequency Space.
GCT731 Fall 2014 Topics in Music Technology - Music Information Retrieval Overview of MIR Systems Audio and Music Representations (Part 1) 1.
Motivation Music as a combination of sounds at different frequencies
The Discrete Fourier Transform. The Fourier Transform “The Fourier transform is a mathematical operation with many applications in physics and engineering.
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
Jeff Wang Kay-Won Chang March 18, DEMO Harmonic Product Spectrum (HPS) pitch detection: obtain fundamental frequency from FFT Fast Fourier Transform.
Seismic Reflection Data Processing and Interpretation A Workshop in Cairo 28 Oct. – 9 Nov Cairo University, Egypt Dr. Sherif Mohamed Hanafy Lecturer.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
October 29, 2013Computer Vision Lecture 13: Fourier Transform II 1 The Fourier Transform In the previous lecture, we discussed the Hough transform. There.
EE 113D Fall 2008 Patrick Lundquist Ryan Wong
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez Garbino.
Pre-Class Music Paul Lansky Six Fantasies on a Poem by Thomas Campion.
Vincent DeVito Computer Systems Lab The goal of my project is to take an image input, artificially blur it using a known blur kernel, then.
7- 1 Chapter 7: Fourier Analysis Fourier analysis = Series + Transform ◎ Fourier Series -- A periodic (T) function f(x) can be written as the sum of sines.
Digital Signal Processing
Fourier Transform.
Fourier and Wavelet Transformations Michael J. Watts
The Discrete Fourier Transform
Vincent DeVito Computer Systems Lab The goal of my project is to take an image input, artificially blur it using a known blur kernel, then.
Cape Electrical and Electronic Technology Topic: Electromagnetic Waves By: Tahvorn George & Charles,J.
The Frequency Domain Digital Image Processing – Chapter 8.
Chapter 2. Characteristics of Signal ※ Signal : transmission of information The quality of the information depends on proper selection of a measurement.
Frequency Domain Representation of Biomedical Signals.
 presented by- ARPIT GARG ISHU MISHRA KAJAL SINGHAL B.TECH(ECE) 3RD YEAR.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
Discrete Fourier Transform (DFT)
CS 591 S1 – Computational Audio
CS 591 S1 – Computational Audio
MECH 373 Instrumentation and Measurements
Fourier and Wavelet Transformations
CSC 320 – Music Instrument Digital Interface (MIDI) and Digital Audio, Spring 2017 April 2017 Dr. Dale Parson.
Image Processing, Leture #14
LECTURE 18: FAST FOURIER TRANSFORM
8.6 Autocorrelation instrument, mathematical definition, and properties autocorrelation and Fourier transforms cosine and sine waves sum of cosines Johnson.
Discrete Fourier Transform
ENEE222 Elements of Discrete Signal Analysis Lab 9 1.
LECTURE 18: FAST FOURIER TRANSFORM
The Frequency Domain Any wave shape can be approximated by a sum of periodic (such as sine and cosine) functions. a--amplitude of waveform f-- frequency.
Geol 491: Spectral Analysis
Presentation transcript:

Fast n Furious Transforms

Welcome to my Journey Pitch Detection Fourier Transform Signal Visualization struct _unknown { byte typeField; short lenField; char[] dataField; } Protocol Analysis

SHRED SHRED is a proof of concept music education software tool

SHRED SHRED is the first software of its kind that it uses real-time signal processing to analyze a live performance Use real musical instruments or voice as an input device

How SHRED Works SHRED parses standard tablature file formats to obtain fret board finger positions Chords are synthesized internally to determine the chord’s pitch Microphone audio is processed real-time to determine the player’s accuracy

Fourier Analysis Fourier Analysis is a technique for decomposing compound signals into their component waveforms.

Fourier Transform Samples of waves captured over a period of time can be converted into their frequency spectrum via a Fourier Transform.

Discrete Fourier Transform The Fourier Transform attempts to detect the presence of a frequency by multiplying the original wave with the basis wave function int N = input.Length; ComplexF[] output = new ComplexF[N]; double sinWave, cosWave; for (int k = 0; k < N; k++) { sinWave = cosWave = 0; for (int n = 0; n < N; n++) { cosWave += input[n].Re * Math.Cos(-2 * Math.PI * k * n / N); sinWave += input[n].Re * Math.Sin(-2 * Math.PI * k * n / N); } // Magnitude output[k] = (ComplexF)Math.Sqrt(Math.Pow(cosWave, 2) + Math.Pow(sinWave, 2)); }

Discrete Fourier Transform The sum of the products from the multiplied wave represents the magnitude or overall presence of the basis wave. int N = input.Length; ComplexF[] output = new ComplexF[N]; double sinWave, cosWave; for (int k = 0; k < N; k++) { sinWave = cosWave = 0; for (int n = 0; n < N; n++) { cosWave += input[n].Re * Math.Cos(-2 * Math.PI * k * n / N); sinWave += input[n].Re * Math.Sin(-2 * Math.PI * k * n / N); } // Magnitude output[k] = (ComplexF)Math.Sqrt(Math.Pow(cosWave, 2) + Math.Pow(sinWave, 2)); }

Fast Fourier Transform Any optimized implementation of the DFT Example: Cooley-Turkey – Recursively breaks down DFT into smaller DFTs – Number of samples must be factorable DFT complexity: O(N) ² FFT complexity: O(N log N)

Question! How can we encode arbitrary data as a waveform?

Noise in the Data Sine wave: Direct encoding: – Each basis wave can carry one piece of information – Complex waves carry multiple bits of information in a specific order double theta = (2.0 * Math.PI) * (_frequency / _samplingRate); values[i] = _amplitude * Math.Sin(theta * i + phase);

Visualizing Polymorphism shikata_ga_naialpha_mixed

Visualizing Polymorphism shikata_ga_naicall4_dword_xor

Tuning In Windowing the data allows us to find pure signals... – Full packet visualization will not transmit much information – Enumerations and type fields become immediately apparent!

Why all the Noise This is a proof of concept that may be expanded Encoding properties as waves allows magnitude to represent reoccurrence of patterns Different attributes such as amplitude can be utilized to represent distance from a target

Thank You More info: – IIT CS Lectures on You Tube –