Freely Configurable Filter
Posted: Sun Sep 02, 2018 8:14 pm
This is one of my current projects, a freely configurable filter. The user specifies a transfer curve in the frequency domain by placing control points, which are interpolated to give the desired transfer function. The application calculates FIR filter coefficients and provides a ready-to-use filter. The actual filter characteristic may deviate to some extent from the specification because the filter length is 1024 taps; longer filters have higher latency and use more CPU.
DISCLAIMER: The Ruby code violates all style guides and recommendations. In particular, I am guilty of using for-loops - a lot of them. Read at your own risk! Minors stay away!
ACKNOWLEDGEMNET: My special thanks to Spogg, who solved a Preset Manager problem that had given me a serious headache. I am also grateful for some expert advice from Tulamide concerning graphics optimization.
Please download, use, and give some feedback!
DISCLAIMER: The Ruby code violates all style guides and recommendations. In particular, I am guilty of using for-loops - a lot of them. Read at your own risk! Minors stay away!
ACKNOWLEDGEMNET: My special thanks to Spogg, who solved a Preset Manager problem that had given me a serious headache. I am also grateful for some expert advice from Tulamide concerning graphics optimization.
Please download, use, and give some feedback!