FIR filter audio processing with DUE

Good morning every one,

I would like to implement a pedal effect on an Arduino DUE and I am wondering how powerful it could be.

It would be based on this shield :
pedalshield

As processing, I want to implement IIR and FIR filters and other effects like envelope detection, delay, ...

But I need to know how high the order of the filters can be, and how many effects I can cascade in a single sampling period.

So has anyone experienced with intensive audio processing on DUE and may help to make some choices ?

I read somewhere that it takes 10 clock cycles for 1 operation on the DUE, thus making it able to perform 200 32-bit operations in a single 44,1 KHz period.
Does that seem right to you ?

Thanks in advance and have a good day !

The Due does not have any special DSP instructions. The typical multiply-and-accumulate (MAC) operation required for a FIR will therefore take multiple cycles, whereas a DSP-specific instruction would take one cycle.
Have a look at the Teensy3.1 which is a Cortex-M4 processor. It has single-cycle DSP instructions including MAC.

Pete

Thanks for the tip !

I looked at it and it seems very convenient, it just has what is needed.

Moreover it is also way more powerful thanks to its hardware resources such as SIMD or FPU.

Do you think the Teensy Arduino IDE add-on will be able to use single cycle MAC instruction, ie to optimize the produced software with non Arduino compatible instructions (Single cycle dual MAC, SIMD optimization, ...) ?

SIMD or FPU.

The Teensy3.1 does have SIMD but it does not have an FPU.

Do you think the Teensy Arduino IDE add-on will be able to use single cycle MAC instruction

The add-on (TeensyDuino) only augments the IDE - e.g. it adds the Teensy boards to the IDE Tools|Board menu. It does not change the compiler. The compiler itself (IIRC) does not automatically use DSP instructions but you can code them yourself using the inline assembler. There is a DSP library for the Cortex M4 which implements various common DSP functions.

Pete