<< Chapter < Page
  Auto-tune   Page 1 / 1
Chapter >> Page >
An overview of the challenges our group faced during the matlab implementation of Auto-tune pitch correction.

Challenges

There were several challenges we had to consider when implementing our autotune function in matlab.

  1. Isolating a single note

We need to divide the time-domain signal into windows small enough that they cannot contain more than one note. Once we have performed windowing in the time domain, we can take the FFT for each window to get the isolated spectrum of the note sung. We then compare it to the closest note on the chromatic scale to determine the amount of shift needed.

Spectral content of an entire song. Note the many peaks.

Spectral content of two notes and their harmonics. Note the distinct peaks. Figure reused from “Finding Piano Note Frequencies” connexions module by Scott Steger, http://cnx.org/content/m14191/latest/?collection=col10462/latest
  1. Transform Distortions

Windowing the signal in the time domain requires the use of a filter. All filters create distortions in the frequency domain because of their non-ideal frequency response in the stopband.

Ideal time-domain window http://accad.osu.edu/~smay/RManNotes/RegularPatterns/transitions.html
Frequency response of ideal time window. Note the nonzero amplitude outside the main lobe. https://ccrma.stanford.edu/~jos/sasp/Rectangular_Window.html

In addition to these magnitude distortions, windows can have nonlinear phase. This changes the relative phase between the tones in each note. For any notes comprised of more than a single tone, this phase change will create audible distortion.

  1. Time Duration

We change the pitch of our signals via the chipmunk effect; notes are shifted up or down by re-sampling, effectively playing the signal back at a lower or higher sampling rate. This method creates minimum phase distortion, but changes the time duration of the signal. In order to counteract this effect, we must stretch or compress each portion of the song to maintain its original time duration after re-sampling to change the pitch. We can then achieve our desired note shifting by playing the entire song back at its original sampling frequency.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Auto-tune. OpenStax CNX. Dec 20, 2012 Download for free at http://cnx.org/content/col11474/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Auto-tune' conversation and receive update notifications?

Ask