Phase Vocoder Marlon Smith. Split into amplitude and phase %do the windowing, stored in seperate %sections for FFT for m=0:1:(loopsentinel-(win/Ra)) for.

Slides:



Advertisements
Similar presentations
DSPRevision I
Advertisements

Sound Synthesis Part V: Effects. Plan Overview of effects Chorus effect Treble & bass amplification Saturation Pitch vocoder Summary.
Doc.: IEEE /0815r0 Submission July 2012 Ron Porat, Broadcom Q Matrix Requirement for 1MHz/2MHz detection Date: Authors: Slide 1.
DFT properties Note: it is important to ensure that the DFTs are the same length If x1(n) and x2(n) have different lengths, the shorter sequence must be.
Frequency selectivity of the auditory system. Frequency selectivity Important for aspects of auditory perception such as, pitch, loudness, timbre, melody,
A brief journey into Section 4.5a HW: p , 4, 5, 9, 13, 25, 27.
Easily extensible unix software for spectral analysis, display modification, and synthesis of musical sounds James W. Beauchamp School of Music Dept.
CMPS1371 Introduction to Computing for Engineers PROCESSING SOUNDS.
What is Sound? Sound is the movement of energy through substances in longitudinal (compression/rarefaction) waves. Sound is produced when a force causes.
Section Frequency of Sine and Cosine Graphs.
Time-scale and pitch modification Algorithms review Alexey Lukin.
Auto-tuning for Electric Guitars using Digital Signal Processing Pat Hurney, 4ECE 31 st March 2009.
Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars.
Jacob Zurasky ECE5525 Fall  Goals ◦ Determine if the principles of speech processing relate to snoring sounds. ◦ Use homomorphic filtering techniques.
Page 1 Return Path Testing Seminar Presented by Sunrise Telecom Broadband … a step ahead.
ELEC484 Phase Vocoder Kelley Fea Overview Analysis Phase Synthesis Phase Transformation Phase  Time Stretching  Pitch Shifting  Robotization  Whisperation.
Elec 484 Final Project: Phase Vocoder Matt Pierce.
Gerald Leung.  Implementation Goal of Phase Vocoder  Spectral Analysis and Manipulation  Matlab Implementation  Result Discussion and Conclusion.
Phase Vocoder Colter McQuay Phase Vocoder Structure Input x[nTs] Effect Specific Code Synthesize Output y[nTs] Analyze.
1 Audio Compression Techniques MUMT 611, January 2005 Assignment 2 Paul Kolesnik.
FFT-based filtering and the Short-Time Fourier Transform (STFT) R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
System Microphone Keyboard Output. Cross Synthesis: Two Implementations.
Effects in frequency domain Stefania Serafin Music Informatics Fall 2004.
1 Manipulating Digital Audio. 2 Digital Manipulation  Extremely powerful manipulation techniques  Cut and paste  Filtering  Frequency domain manipulation.
Additional Notes on Wavetable Synthesis R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Voice Transformations Challenges: Signal processing techniques have advanced faster than our understanding of the physics Examples: – Rate of articulation.
Using Transformations to Graph the Sine and Cosine Curves The following examples will demonstrate a quick method for graphing transformations of.
AM modulation essentially consists of the TD multiplication of the modulating signal by a cosine carrier. In the FD, AM modulation effected a frequency.
Fourier Concepts ES3 © 2001 KEDMI Scientific Computing. All Rights Reserved. Square wave example: V(t)= 4/  sin(t) + 4/3  sin(3t) + 4/5  sin(5t) +
Subtractive Sound Synthesis. Subtractive Synthesis Involves subtracting frequency components from a complex tone to produce a desired sound Why is it.
EE104: Lecture 5 Outline Review of Last Lecture Introduction to Fourier Transforms Fourier Transform from Fourier Series Fourier Transform Pair and Signal.
Technion, CS department, SIPC Spring 2014 Tutorials 12,13 discrete signals and systems 1/39.
Range-wavenumber representation of SAR Signal
 The way you perceive sounds rather high or low frequency.
Milos Milosevic Synchronization with DMT Modulation Milos Milosevic The University of Texas at Austin ESPL Milos Milosevic The University of Texas at Austin.
Introduction to Audacity. Step 1: Download Audacity Go to Download.
Auto-tuning for Electric Guitars using Digital Signal Processing Pat Hurney, 4ECE 22 nd January 2009.
Lecture 17 Op Amp Filters Low Pass and High Pass
Graphing Trig Functions Review Whiteboard Activity.
Time Compression/Expansion Independent of Pitch. Listening Dies Irae from Requiem, by Michel Chion (1973)
Outline Carrier design Embedding and extraction for single tile and Multi-tiles (improving the robustness) Parameter α selection and invisibility Moment.
Musical Sculpture A Final Project Block Diagram Presentation by: Clare Davis, Chen Li, & Austyn Hill.
Real-Time Speech Pitch Shifting on an FPGA
Audio sampling as an example of analogue to digital Mr S McIntosh.
Sections 7.6 and 7.8 Graphs of Sine and Cosine Phase Shift.
Chapter 16 Sound and Hearing.
3.3.2 Moving-average filter
Spectrum Analysis and Processing
Automatic Speech Processing Project
III Digital Audio III.9 (Wed Oct 25) Phase vocoder for tempo and pitch changes.
Lab 4 Application of RTOS
FFT-based filtering and the
EE Audio Signals and Systems
Modulation and OFDM.
III Digital Audio III.9 (Wed Oct 24) Phase vocoder for tempo and pitch changes.
Quiz: Fast Fourier Transforms (FFTs) and Windowing TIPL 4302 TI Precision Labs – ADCs Created by Art Kay.
Periodic Function Repeats a pattern at regular intervals
Line tracking methods used in LineMon
Unit 1 Recall HW 8.2 HW 3.1 HW 3.2 HW 3.4 HW 3.5.
Supplementary Figure S1
EEE 244-6: Fourier Transform (FFT) and Signal Processing
Graphing Trigonometric Functions
Graphs of Secant, Cosecant, and Cotangent
Ашық сабақ 7 сынып Файлдар мен қапшықтар Сабақтың тақырыбы:
Writing Trig Functions
Govt. Polytechnic Dhangar(Fatehabad)
Graphs of Sine and Cosine: Sinusoids
Graphs of Sine and Cosine Sinusoids
ENEE222 Elements of Discrete Signal Analysis Lab 9 1.
Synchronization with DMT Modulation
Presentation transcript:

Phase Vocoder Marlon Smith

Split into amplitude and phase %do the windowing, stored in seperate %sections for FFT for m=0:1:(loopsentinel-(win/Ra)) for n=1:win windoweda1(m+1,n) = a1((Ra*m)+n) * h(n); end %cyclic shift sound a1 temp=windoweda1; for m=1:size(windoweda1) for n=1:(win/2) temp(m,n)=windoweda1(m,n+1024); temp(m,n+(win/2))=windoweda1(m,n); end windoweda1=temp; %take the fft of the windowed pieces for m=1:(size(windoweda1)) fftwindoweda1(m,:) = fft(windoweda1(m,:)); fftamplitude(m,:) = abs(fftwindoweda1(m,:)); fftphase(m,:) = angle(fft(windoweda1(m,:))); end

Time Stretching Window Cyclic Shift FFT for m=2:(size(fftphase)) %correct phase for time stretch for n=2:win fftphase(m,n) = (Rs/Ra) * ( (2*pi*n/2048)* princarg(fftphase(m,n) - fftphase(m-1,n) - (2*pi*n/2048)*1024)); end IFFT Cyclic Shift for m=1:1:(windowedfinalsize) for n=1:win output((m-1)*Rs+n) = output((m-1)*Rs+n) + windowedfinal(m,n); end

Pitch Shifting Window Cyclic Shift FFT IFFT Cyclic Shift Overlap Add for m=1:(size(fftamplitude)) %resample in frequency domain to get pitch shift fftamplituderesamp(m,:)=resample(fftamplitude(m,:),2,3); fftphaseresamp(m,:)=resample(fftphase(m,:),2,3); end clear fftamplitude; clear fftphase; fftamplitude=fftamplituderesamp; fftphase=fftphaseresamp;

Robotization Window Cyclic Shift FFT IFFT Cyclic Shift Overlap Add for m=1:size(fftphase) for n=1:win fftphase(m,n) = 0; end

Whisperization Window Cyclic Shift FFT IFFT Cyclic Shift Overlap Add % randomize phase to get whisperization effect fftphase=(2*pi*rand(size(fftphase),win)-pi);

Denoising Window Cyclic Shift FFT IFFT Cyclic Shift Overlap Add % set all amplitudes below threshold to zero for m=1:size(fftamplitude) for n=1:win if (fftamplitude(m,n) < 1) fftamplitude(m,n) = 0; fftphase(m,n) = 0; end

Wah-Wah Filter in Frequency Domain Window Cyclic Shift FFT IFFT Cyclic Shift Overlap Add fb=100; fs=8000; Ts=1/6; c = (tan(pi*fb/fs)-1)/(tan(2*pi*fb/fs)+1); for m=1:(size(fftamplitude)) fc(m)=1000+(3000*( *sin(2*pi*1*m*Ts)));% variation of center frequency from 1 kHz to 4 kHz d=-cos(2*pi*fc(m)/fs); for n=1:2048 % rebuild the filter with a new center frequency A(n)=0.5*(1-((-c+d*(1-c)*exp(-1i*2*pi*n/2048)+exp(-1i*4*pi*n/2048))/(1+d*(1-c)*exp(-1i*2*pi*n/2048)-c*exp(-1i*4*pi*n/2048)))); end for n=1:2048 fftamplitude(m,n) = fftamplitude(m,n)*A(n); end

Questions?