Variable notch filter

Algorithm development and general DSP issues

Moderator: frank

Post Reply
bdoan
Posts: 14
Joined: Sun Nov 10, 2013 8:13 pm

Variable notch filter

Post by bdoan » Sat Mar 07, 2015 1:57 pm

RE: http://www.spinsemi.com/forum/viewtopic.php?t=82

I have pared this code down and still have a useable, tunable notch.

What I need to figure is the relation between the POT value (for frequency) and the actual notch frequency.

;Frequency control
rdax pot0,1 ;get freq control
rdfx p0fil,0.01 ;average with filter
wrax p0fil,1
wrax f1,0

Post Reply