New Pitch Detector

Post any examples or modules that you want to share here
Post Reply
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

New Pitch Detector

Post by BobF »

BobsPitchLockLoopV2.fsm
(547.59 KiB) Downloaded 1142 times

***NOTE This is an update, version 2. I added a input tracking filter!

Hello gang,

Ok, there are a few pitch detectors floating around the forum already, but this one I developed uses feedback. I call it a pitch locked loop, but in essence it is just another phase locked loop.

I used someones initial pitch detector for the heart of the module along with a zero crossing pitch detector. Who ever made these thanks!

So as you can see there are two methods, the pitch detector with the stabilizing knob or the zero crossing by selecting the little white button.

I have also added some dividers, doublers, and so on for added usage. Last is the outputs , there is the oscillator output and with a detuner, plus a 0-1Hz output, a doubled freq output, and lastly a raw output from the pitch detectors. NOTE, there are some settings that will NOT lock, so just play with it a lot to see what works and watch the scope.

Ok, I hope some clever people can come up with some great uses for this. It can also be modded in MANY ways also! If you have down loaded my Vocoder, you will see I have used it in it. PLEASE comment and enjoy!

Later then, BobF.....
Last edited by BobF on Sun Sep 04, 2016 1:56 pm, edited 4 times in total.
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: New Pitch Detector

Post by nix »

I played with it,
and I will do some more.
Certainly it partly, if not entirely effectual at cleaning the signal.
It tracks a lot better with it than without it on a guitar signal.

Leif Oddson made the 0 crossing counter with smooth,
the other one looks like a rebuild of the same one, without the knob.
With Oddson's one,
I think it is a primitive low pass, the smoothing.
you could try hooking the frequency in 0-1 into that.
It will make the smoothing filter track.
Maybe the freq needs to be halved or doubled though too.

Much appreciate the invention Bob, like I say I will keep playing with it-
interesting thing to do there.
Is there some better way to integrate the signal back into the input than multiplies I wonder?
It's some sort of hard sync I think.
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: New Pitch Detector

Post by Spogg »

Bob, fascinating as always :D

I agree with Nix that it needs a little "smoothing" and I did experiment with LPFs to reduce some slight instability.

Keep that innovation engine running!

Cheers

Spogg
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New Pitch Detector

Post by BobF »

Hello nix and Spogg,

Thanks for the comments. I added a input tracking filter, hope it helps.

Spogg, where did you add your filter?

Later then, BobF.....
Post Reply