non-realtime F0 analysis

Feb 23, 2009 at 4:30pm

non-realtime F0 analysis

Hello All

I’ve been experimenting with pitch~ in conjunction with a mic input to find the F0 of the incoming signal. The problem I have is it will give an accurate result then flip to a strange one just when I don’t need it to. I’ve tried outputting the results when there’s a sound above a certain threshold but I can’t eliminate the problem.

I was wondering, since I’m recording the incoming audio to a buffer if there’s any objects or processes that can tell me the F0 in non-realtime?

#42471
Feb 23, 2009 at 6:39pm

You probably want to try and remove the jittery-ness of the output of [pitch~]. Here’s a patch that shows many different methods for smoothing data, have a look and perhaps implement one that works well for you.

lh

– Pasted Max Patch, click to expand. –
#152001
Feb 24, 2009 at 12:43am
thereishopeforus@hotmail.com wrote on Mon, 23 February 2009 12:39
You probably want to try and remove the jittery-ness of the output of [pitch~]. Here’s a patch that shows many different methods for smoothing data, have a look and perhaps implement one that works well for you.

Thanks for that, it is *very* interesting and useful. Will help a lot with things like Arduino input. Your patch has a great layout that lets you easily compare and understand the many ways of doing smoothing. Kudos!

#152002
Feb 24, 2009 at 12:52am

I’d love to take credit for it but it’s not mine, I found it here on the forum and I think it credits all the relevant people in the patch. The [lbyl] external from CNMAT might also be worth a look.

lh

#152003
Feb 25, 2009 at 6:51am
thereishopeforus@hotmail.com wrote on Mon, 23 February 2009 16:52
I’d love to take credit for it but it’s not mine, I found it here on the forum and I think it credits all the relevant people in the patch. The [lbyl] external from CNMAT might also be worth a look.

lh

Speaking of that, I’m working on a better pitch tracker, based on a fast lifting wavelet transform. It’s some months away yet, but it is much less jittery than other methods I’ve tried.

mz

#152004
Feb 25, 2009 at 9:01am

Please consider doing a windows version of your new pitch tracker!

#152005
Feb 27, 2009 at 4:26am

Thanks for these patches… going to come in very handy.

#152006
Nov 5, 2009 at 10:09am

very nice! thanks!

#152007

You must be logged in to reply to this topic.