DSP FIR filter component coefficients

For general Flowcode discussion that does not belong in the other sections.
Oscar_T
Posts: 89
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: DSP FIR filter component coefficients

Post by Oscar_T »

Hi Ben

Do you have any news?

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: DSP FIR filter component coefficients

Post by Oscar_T »

Hi Ben

Were you able to take a look at the code?

Regards

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 686 times

Re: DSP FIR filter component coefficients

Post by BenR »

Hello,

Sorry it's on the list, I looked at the example code you sent and it looks like they have done a lot of the DMA work themselves so maybe it's not as simple as the Espressif library makes out at the moment. I'll hopefully get back on with it soon but in the mean time if you fancy having a play then the C code for the I2S CAL can be found here.

C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_I2S.c

Let me know if you have a go :)

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: DSP FIR filter component coefficients

Post by Oscar_T »

Hi Ben

I think dma management can solve the problems but managing them correctly isn't easy .I will continue to investigate a bit and do some experiments.

Maybe I can find some code with comments that can actually understand how to properly handle i2s

Regards

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: DSP FIR filter component coefficients

Post by Oscar_T »

Hi Ben

On the website of espressif is present "Espressif Audio Development Framework" whose examples are much more complete.

In addition, there are many examples https://github.com/espressif/esp-adf/tr ... e_passthru

I don't know, given the framework dedicated exclusively to audio if this can be integrated or not. But if you think it's a good way I couldgrab a couple of ESP32-LyraT Development Boards and send you one if that helps

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: DSP FIR filter component coefficients

Post by Oscar_T »

Hi Ben

I saw an update regarding i2s, have you made any progress?

Kind Regards

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 686 times

Re: DSP FIR filter component coefficients

Post by BenR »

Hello,

I have been playing with i2s and have got output streaming working great. Trying to wrangle input streaming now but it's proving tricky. I'll keep at it and hopefully have it sorted this week with some easy to follow examples.

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: DSP FIR filter component coefficients

Post by Oscar_T »

Hello Ben

Glad it works!!!

Can you drop a quick example?

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 686 times

Re: DSP FIR filter component coefficients

Post by BenR »

Here you go :)
I2S_Output.fcfx
(9.15 KiB) Downloaded 712 times

Post Reply