ΣSigmaStudio Ask AI Русский Log in

How to update PEQ parameters from MCU?

SigmaDSP & SigmaStudio AriLunden Apr 26, 2012 00:00 1 replies Original on forum ↗
Subscribe
AriLunden Question
Apr 26, 2012 00:00

Hello,

I need to update gain, Q and frequency from MCU to PEQ. For gain I have a lookup table with 50 values, Q lookup table has 16 values and frequency lookup table has 50 values.

I guess I could use the filter coefficient calculator in SigmaStudio to calculate coefficients for every each option but that is lot of data to store into MCU (I have to do same thing for some LPF and HPF filters also). Is there a better way to do it? Like using lookup tables in DSP side?

Thanks,

Ari

Audio Signal Processors

parameter_update

mcu

SigmaDSP Audio Processors

adau1701

ADIApproved Reply
Apr 26, 2012 00:00

Hi Ari,

There are a number of ways to solve this problem:

Calculate the coefficients in your microcontroller

Generate tables of coefficients and store them in your microcontroller

Use an index-selectable filter (which stores the coefficients in the SigmaDSP, and uses an index to select the filter)

Options one and two are described here: https://ez.analog.com/docs/DOC-1819

The third option is briefly described here: https://ez.analog.com/message/35456#35456