Problems with Matlab Projects? You may face many Problems, but do not worry we are ready to solve your Problems. All you need to do is just leave your Comments. We will assure you that you will find a solution to your project along with future tips. On Request we will Mail you Matlab Codes for Registered Members of this site only, at free service...Follow Me.

Examples and Code

Summary: Examples of the correction system and the code used to implement it





These are the files we used to implement our Pitch Correction & Detection system, along with some examples of our results.

MATLAB Code

When using these programs, type help <name> into MATLAB to determine the format of the inputs and outputs. Vectors are always columns, and sounds are always monaural. Sounds should also be normalized. In general, vectors of pitches refer to windows, and the pitches themselves are in Hertz. Advisory: choose window size of 4000 samples and jump size of 1000, assuming a 44.1 KHz sample.

Pitch Detection

Detect using the time-domain Autocorrelation algorithm (findautomin is required):
Detect using the frequency-domain HPS algorithm:
Determine the pitch to which the program should correct:

Pitch Determination

Pitch Correction

Correct pitch using the Time Shifting algorithm:
Correct pitch using the PSOLA time domain algorithm:
Correct pitch using the Modified Phase Vocoder:

Examples

These examples were all generated using the FAST-Auto pitch detector with threshold around 0.05, a 4000 point window, and a 1000 point jump size, using the PSOLA correction algorithm.

Flat Correction

Below, listen to how the flat note is corrected. The singer starts out holding a tune, but soon dips below that tone. The corrector helps to pick him up and keep him on the right note.

Scale

Below, listen to how the corrector parses a continuously increasing tone into distinct notes. The singer increased in tone across his entire range, and this was fed into the system. The output sounds as if the singer sang distinct notes.

Song Adjustment

The examples below are derived from a portion of a song: Original
Here, listen to how the corrector operates on this song. The singer was not out of tune to begin with, but there were points at which he deviated from a perfect note and the corrector adjusted his pitch. Corrected
In this last example, we use the correction system in the wrong direction: for distortion! We took the original clip above and attempted to make the singer monotone by demanding the same key for the entire clip. Listen to the results: Adjusted

0 comments:

Post a Comment

Recent Comments

Popular Matlab Topics

Share your knowledge - help others

Crazy over Matlab Projects ? - Join Now - Follow Me

Sites U Missed to Visit ?

Related Posts Plugin for WordPress, Blogger...

Latest Articles

Special Search For Matlab Projects

MATLAB PROJECTS

counter

Bharadwaj. Powered by Blogger.