Page 1 of 1

Pitch-controlled Filter

Posted: Sun Jun 08, 2025 6:53 am
by Siskin
I was wondering if anyone has done an FV-1 Pitch-controlled Filter?
Let's just start with a simple LPF - based on the lowest fundamental pitch of a guitar signal.
The filter corner frequency reduces as the pitch increases.
I'm guessing single notes are mandatory here.

The closest thing I've seen is in this thread
viewtopic.php?t=161
donstavely wrote: Thu Feb 04, 2010 8:09 am I haven't had a chance to do any real coding, but I have thought a lot about the "pitch metric" problem. I call it a pitch metric rather than true pitch detection because we need a relative measure of pitch from note to note or cord to cord, but trying to extract pitches from cords is too hard. I am interested in this function because I want to play with sweepable filters that roughly track notes on guitar.
...
Apologies if Ive missed an available patch. I have looked.
I'm quite willing to have a go at this myself, but my DSP, FV-1, and audio algorithm knowledge is zero at this point in time.
I could not see a pitch detector in SpinCAD Designer, but maybe it can be made up from other blocks?
While I still haven't got around to building my FV-1 PCB (why is there always so much to do?), I plan to do so soon (hopefully).

Re: Pitch-controlled Filter

Posted: Tue Jun 10, 2025 10:54 am
by frank
I guess I am a little unsure of what you are trying to do, if it is a LPF where the corner decreases as the pitch increases then you are just killing the high frequencies. Why track the pitch? Just use an aggressive LPF.

Good pitch detection is tricky and requires lots of computational power, if you just need to detect bands then band-pass filters and peak detection should work. Break the signal into bands, check the amplitude of each band and set Fc based on which band has the highest peak value.