Biquad filter does not work on DJ KIT

If you have a simple question and just want an answer.
Bayanaa
Active Member
Posts: 33
Joined: Fri Feb 07, 2014 3:03 pm

Biquad filter does not work on DJ KIT

Post by Bayanaa »

I have dj kit board. I wanted to apply dsp algorithm (such as filter).

I reffered this https://www.xmos.com/download/public/Ad ... n(1.0).pdf

even http://www.xcore.com/forum/viewtopic.php?f=3&t=2614 does not make sense.
I added streaming chanend data_out and
data_in :> x[0] 

...

data_out <: y[0];

------------------------------------------------------

But it could not help to me.

in the main.xc I added 

 on tile[AUDIO_IO_CORE]:
        {
           thread_speed();
           dsp(c_mix_out,mix_out);
        }
 
between decouple and audio functions. the type is just chan(in my case, I also tested with streaming chan).
 
Building the project is ok. But When I run the .xe compiler says : 
xrun: Program received signal ET_LOAD_STORE, Memory access exception.
      [Switching to tile[0] core[4]]

Above error is without makeCoeffs.c included. But above pdf doc says have to use build_biquad_coefficients module. In which makeCoeffs.c exists.
I dont understand why we need to add coefficients :  blabla  into MakeFile and also use makeCoeffs.c

makeCoeffs.c have included main function and gets error such as :
./workspace/app_usb_aud_skc_su1/build_biquad_coefficients/src/makeCoeffs.c:(.text+0x0): Error: Multiple definition of 'sqr'
error: 'FILTER' undeclared (first use in this function)
 
Does anybody tested biquad filter example on DJ kit before?
Please check and let me know what is the problem of biquad example or others problems.
There is not enough inforamtion about it.
 
I hope you guys have an idea. 



markb
Member++
Posts: 18
Joined: Tue Oct 08, 2013 1:53 pm

Post by markb »

Hi Bayanaa,

Have you read this updated documentation?

https://www.xmos.com/download/public/Ad ... n(1.1).pdf
 
Cheers Mark_B