How to distribute TDM multiple channel audio stream to audio effect process

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
susanyin0501
Active Member
Posts: 45
Joined: Thu Apr 20, 2017 9:00 am

How to distribute TDM multiple channel audio stream to audio effect process

Post by susanyin0501 »

Dear all

I'd like to distribute multiple TDM channels audio stream( 16 channels) to different cores for audio effect processing in sw_usb_audio-[sw]_6.15.2 demo code.

on the other word, I need distribute 16 channels TDM sample datas( from PC download with USB cable) to different cores for audio effect processing, then package 16 channels audio streams into TDM format after audio effect processing, at last upload to PC with TDM 16 format to loopback test.

where and how to implement it? Thanks!

I'd tried to distribute sampleOut[] to different cores in deliver( ), but can't loopback at all. because if you add other code in deliver( ), LRCLK timing will be changed, so it can't be loopback at all.