AnsweredAssumed Answered

AnalogInDigitalOut example in VisualDSP 5.0\214xx\Examples\ADSP-21489 EZ-Board

Question asked by pereira on Sep 12, 2012
Latest reply on Sep 27, 2012 by pereira

Hi !

I'm working on the ADSP 21489 EZ-Kit, withe the AnalogInDigitalOut example.

I'm having issues to import more than two inputs.

 

I tried some changes in the initial code, but the output sound is very bad : High pitched voices, sparkling sound...

 

Here are the changes I've made :

 

In the file ADDS_21489_EzKit.h

 

// Number of stereo channels

#define NUM_RX_SLOTS 2

#define NUM_TX_SLOTS 2

 

became

 

// Number of stereo channels

#define NUM_RX_SLOTS 4

#define NUM_TX_SLOTS 2

 

 

Then, in the file blockProcess_audio.c ; in the handleCodecData function, i added :

     floatData(fBlockA.Rx_L2, rx_block_pointer[blockIndex]+2, NUM_RX_SLOTS, NUM_SAMPLES);

     floatData(fBlockA.Rx_R2, rx_block_pointer[blockIndex]+3, NUM_RX_SLOTS, NUM_SAMPLES);

Outcomes