Raynus starts with the deceptively simple formula
Y[n] = X[n]*a +
Y[n-1]*b and eventually translates it to the equivalent
= Y[n-1] + (X[n]-Y[n-1])/F which an assembly-language programmer
can make super-fast when F is a power of 2, X is one byte, and Y is 2 bytes
(as Dmitry and Warren's code shows).
(Raynus uses a Freescale processor, but points out that the principles work for just about every kind of microcontroller -- since this page is for PIC-specific filters, is there some other page that would be more appropriate for filters in general?).
pls how can i use a pic 16f876 to receive and store at least 16 voice prints based on isolated word recognition(open,close) to a 24lc04 eeprom ; then receive other voice inputs, compare them with the stored voice prints.On recognition of any of these voice prints, the PIC sends a signal and controls a dc servomotor either in the forward or reverse direction.+
|file: /Techref/microchip/math/filter.htm, 7KB, , updated: 2015/6/16 17:54, local time: 2019/6/17 09:13,
|©2019 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/microchip/math/filter.htm"> PIC Microcontoller DSP Math Methods</A>
|Did you find what you needed?|
PICList 2019 contributors:
o List host: MIT, Site host massmind.org, Top posters @20190617 RussellMc, David Van Horn, AB Pearce - UKRI STFC, Dwayne Reid, Bob Blick, Jason White, David C Brown, James Cameron, Allen Mulvey, Jim,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!