Jump to content
agaelema

DSP and Math lib

Recommended Posts

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

Hi everyone,
I updated the library adding some functions:
- to easily generate sine waves in a array and iteratively
- goertzel dft using array data or sample by sample (very interesting because not need an array)

Enjoy it

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...