Slice Kit Doesn't Work Well With Audio Processing

New to XMOS and XCore? Get started here.
Post Reply
rmammina
Member
Posts: 9
Joined: Thu Mar 20, 2014 7:24 pm

Slice Kit Doesn't Work Well With Audio Processing

Post by rmammina »

I can't make much progress with implementing any effects on the slice kit. I started from the sw_audio_effects template. I'm trying to implement a phaser, variable low pass filter and a few others. Whenever I go to process the input stream or update any data by doing calculations, the processor takes to long to calculate anything, essentially killing the audio buffer stream. This is usually a click / pop sound, loud noise, or nothing at all.

The only time I get good audio play back is when I don't do any processing in between streaming the audio.

Wondered if anyone had any suggestions on how to help increase performance with effects for slice kit.

I have the audio slice, gpio slice, and sdram slice for what it's worth.

Thanks.


simmartin
Junior Member
Posts: 5
Joined: Sat Nov 02, 2013 3:57 pm

Post by simmartin »

Personally I had problems using float type numbers. When I switched to int I had no problems. Anyway I'm a bit newby on both DSP processing and XMos Development, so take my posts "as is"!!
markb
Member++
Posts: 18
Joined: Tue Oct 08, 2013 1:53 pm

Post by markb »

Hi rmammina,

Have you tried running the existing low-pass filter which is available from repository
sw_audio_effect/app_slicekit_biquad

Also for the phaser, start out with the short-delay application
sw_audio_effect/app_slicekit_short_delay.

These applications use integer arithmetic to get the required performance.
Floating-point operations may take up to 100 times longer.

Cheers Mark_B
Post Reply