Skip to content

jfcg/butter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

butter go report card go.dev ref

Digital Filter Library for Signal Processing.

This library consists of easy-to-use Butterworth first & second order digital filters. You can calculate cutoff parameters with:

wc = 2 * pi * (desired cutoff in Hz) / (sample rate in Hz) =
	(desired cutoff in rad/sec) * (sample period in sec)

Internally cutoff parameters are prewarped for correct operation. All New*() functions return nil if parameters are invalid. Also, butter uses semantic versioning.

Support

See Contributing, Security and Support guides. Also if you use butter and like it, please support via Github Sponsors or:

  • BTC:bc1qr8m7n0w3xes6ckmau02s47a23e84umujej822e
  • ETH:0x3a844321042D8f7c5BB2f7AB17e20273CA6277f6