agaelema

DSP and Math lib

2 posts in this topic

Hi,

I'm working in this library with some useful DSP and math functions (ideally focusing on embedded systems). Currently it's in the initial version with few functions, but I hope to add more in the next update.

I prefered to use some structs to save parameters and use just one function to various instances of filters (very versatile).

Functions
- High Pass Filter (Single pole): Float, fixed and fixed extended version (with more bits to fractional part)
- Low Pass Filter (Single Pole): Float, fixed, fixed extended and fixed fast (with some limitations related to cuttof frequency, but more efficienty.
- RMS value: calculate RMS value of an array or sample by sample. Currently using square root function of math.h, but in the next update I will add a optimized version.

I hope this can be useful. Feel free to test, share and contribute with this project.

Github: https://github.com/agaelema/DSP_and_Math

filters.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now