Тёмный

pitch period tracking using correlation 

David Dorran
Подписаться 19 тыс.
Просмотров 45 тыс.
50% 1

Shows how cross correlation (autocorrelation) can be used to track the local pitch period of a signal. Code available at dadorran.wordpress.com/2014/09...

Опубликовано:

 

14 окт 2014

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@deshengwang3364
@deshengwang3364 3 года назад
I have seen so many papers about pitch estimation using correlation. However, this is the first one that makes me understand so deep! Thank you so much!
@kittuniha
@kittuniha 4 года назад
Even after doing master I coun't understand the use of these concepts ... you are the best. This video is still valid and need to make this video must watch for all students.
@FelLoss0
@FelLoss0 7 лет назад
Oh man.... I don't know what to say... this video is freaking awesome. You're the coolest hero in this crazy world. Watching this video brought tears to my eyes. Finally I get the amazing correlation usefulness. This is simply beautiful. Thank you so much!!! :)
@abbasafridi4732
@abbasafridi4732 7 лет назад
feeling the same :D
@cikibli
@cikibli 6 лет назад
totally agreed!!!!
@hariharansaptharishi8690
@hariharansaptharishi8690 6 лет назад
Feeling the same :D, You are awesome David
@Alex-uo4oi
@Alex-uo4oi 5 лет назад
same!!!!! We are working on our capstone project and this video showed us the way!!!!!!!!!!!!
@weixie4943
@weixie4943 3 года назад
Same, thank you so much!
@JaRayRepairs
@JaRayRepairs 7 лет назад
You have a real talent for being able to explain seemingly complex ideas in easy ways. Great video!
@iTomAnks
@iTomAnks 7 лет назад
Came across autocorrelation while trying to use Fourier Transforms to determine the period of an audio signal, but this is much nicer and more intuitive. Great explanation and helpful code, thanks!
@jeremypeanutbutter6560
@jeremypeanutbutter6560 8 лет назад
Thanks for this! Quite powerful especially the unbiased xcorr towards the end.
@quantummath
@quantummath 6 лет назад
Very well explained David! great job!
@aoa0i2u
@aoa0i2u 6 лет назад
Very useful for people who are new to DSP, thanks!
@InvertedHamMachine
@InvertedHamMachine 7 лет назад
This was incredibly helpful -- thanks, David
@ddorran
@ddorran 7 лет назад
Glad it helped Mike.
@Roscovanul2
@Roscovanul2 5 лет назад
Thank you very much, sir. Very good explanation. I really needed this :D
@BigWeinerSteve
@BigWeinerSteve 2 года назад
This video is super cool. I would be really interested in seeing your explanation of the Yin algorithm as it directly relates to this problem.
@ahmadalghooneh2105
@ahmadalghooneh2105 4 года назад
best accent, best content, excellent teaching!
@ddorran
@ddorran 4 года назад
Thanks Ahmad!
@ekalyvio
@ekalyvio 6 лет назад
Excellent Video! Just one question. When I use xcorr, I get a triangular diagram. I searched internet and found that I have to normalize the signal. As such I use normxcorr2 to do my job. But... why in your examples you get correct results by using xcorr? Could you elaborate a little bit on that? Thank you very much!
@kuroshzamani1775
@kuroshzamani1775 7 лет назад
awsome Video . thank you.
@DIYGUY999
@DIYGUY999 7 лет назад
Shouldn't the location of first peak be length(x) itself?
@oyeyikanmi
@oyeyikanmi 9 лет назад
Hi David, Thanks a lot for the video. Very insightful. Quick question though: Does the top code use a sliding window to take portions of your signal for analysis?? and does it take into consideration voiced and unvoiced sound?? I am currently trying to automatically obtain the pitch of my voice and the formants associated with it as well but I am a bit stuck with the math behind it all
@ddorran
@ddorran 9 лет назад
Yes it does take a sliding window/frame. These frames are non-overlapping and 40ms in duration - 20ms frames are more common for speech analysis but the longer frame worked better to illustrate what was going on. There is no attempt to differentiate between voiced and unvoiced frames.
@keyaruga7819
@keyaruga7819 5 лет назад
Tell me how can I learn about this particular video in-depth. I am interested in this correlation topic and its application and its use with arduino and raspberry(if neccessary)
@RaviSharma-uo8lu
@RaviSharma-uo8lu 9 лет назад
Hello Mr David. does it plot pitch contour?
@udarasm
@udarasm 9 лет назад
Many Thanks :)
@bhushandeo5938
@bhushandeo5938 7 лет назад
can u please do the series on digital filters
@nhienvotrieuquang6134
@nhienvotrieuquang6134 7 лет назад
Thank you and thumb up for you
@mohammedabusuod4335
@mohammedabusuod4335 5 лет назад
thank you very much
@Drina00
@Drina00 8 месяцев назад
Thank you.
@Lyokoheros-KLPXTV
@Lyokoheros-KLPXTV 4 года назад
What are thos ip and fs? I wanna to use that correlation, but I'm working in python (with ''w, signal = scipy.io.wavfile.read(filepath)'')
@mahmoudgaber5154
@mahmoudgaber5154 9 лет назад
Hi David, Your videos and explanations are very useful, I would like to ask you how can I import a signal (variable against time series in an excel file) to MATLAB because it doesn't recognize the time series, then do "Linear interpolation" between every two successive points, followed by "Re-sampling" to a lower rate and lastly applying the "FFT". It is a long question but I do really hope that you can help me.
@ddorran
@ddorran 9 лет назад
There is a function to read in Excel data. Check out uk.mathworks.com/help/matlab/ref/xlsread.html If that didn't work I'd first export the data as a csv file (plain text comma separated variables) and use csvread uk.mathworks.com/help/matlab/ref/csvread.html Another alternative is to copy the data into a plain text file and just use the load function. e.g. data = load('my_data_file.txt');
@mr1enrollment
@mr1enrollment 6 лет назад
thx!
@lounes9777
@lounes9777 Год назад
thanks s a LOT
@vasilisdimitriou6682
@vasilisdimitriou6682 5 месяцев назад
σε αγαπώ!
@daleredmond6322
@daleredmond6322 8 лет назад
Hi David, How do you calculate the min and max pitch frequency in Hz?
@ddorran
@ddorran 8 лет назад
+Dale Redmond you could store the pitch estimate for each frame in an array and then use the min and max functions.
@daleredmond6322
@daleredmond6322 8 лет назад
+David Dorran, thanks David.
@georgebloomfieldmusic
@georgebloomfieldmusic 4 года назад
@@daleredmond6322 did you manage to do this? I have been trying to do the same thing, but have had a lot of trouble storing each pitch estimate in an array. Any help would be really appreciated!
@geophysic5830
@geophysic5830 4 года назад
how to find time delay of two signals by correlation
@jeremiahope9933
@jeremiahope9933 4 года назад
pls make a python tutorial pitch detection app which plays the piano tone of the pitch
@feritkuzu3182
@feritkuzu3182 7 лет назад
can you write code in video,please
@ClayREZify
@ClayREZify 8 лет назад
How can I find a correlation in terms of frequency and speed between two audio files? Please reply.
@ddorran
@ddorran 8 лет назад
+MGTOWREZ Measure the frequency at regular time intervals in each signal say every 50ms. Then store these results in a vector/array. Then correlate the vectors. Same process for tempo/speed although your time interval would probably be a longer depending on what you temporal features you're interested in.
@Captain_Rhodes
@Captain_Rhodes 5 лет назад
why is your cross correlation function not centred on zero?
@ddorran
@ddorran 5 лет назад
Usually zero lag would be shown in the center, although it doesn't have to be. Can you let me know what part of the video you're referring to and I'll check it out.
@Captain_Rhodes
@Captain_Rhodes 5 лет назад
@@ddorran everything from 12:29 onwards
@ddorran
@ddorran 5 лет назад
That's a mistake on my part. You'll see in the code that I didn't plot against lags which resulted in the horizontal axis showing the indices associated with the variable seq (lines 147-149 in dadorran.wordpress.com/2014/09/24/pitchperiod-tracking-using-autocorrelation/). Compare this to line 142 which explicitly plots against lags
@Captain_Rhodes
@Captain_Rhodes 5 лет назад
@@ddorran ok thanks for explaining
@pruthvirajg.k1965
@pruthvirajg.k1965 4 года назад
Shivd
Далее
Correlation Explanation with Demo
10:11
Просмотров 121 тыс.
Каха и суп
00:39
Просмотров 2,4 млн
Cross Correlation Demo using Matlabs xcorr function
9:33
Phase Noise Measurement using Cross-Correlation
21:35
Просмотров 2,5 тыс.
Normalised Correlation  Explanation with Demo
10:15
Просмотров 68 тыс.
What is Autocorrelation?
15:51
Просмотров 43 тыс.
Why Linear Phase Filters are Used
17:33
Просмотров 26 тыс.
Making a Pitch Shifter
16:13
Просмотров 68 тыс.
3.8 - Auto correlation and cross correlation
10:33
Просмотров 65 тыс.
Determining Signal Similarities
4:38
Просмотров 70 тыс.