Variable notch filter

Algorithm development and general DSP issues

Moderator: frank

Post Reply
bdoan
Posts: 15
Joined: Sun Nov 10, 2013 9:13 pm

Variable notch filter

Post by bdoan »

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