This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Utilizing AER library to process data?

Hi,

    I   am  utilizing  AER  library  to  implement  aer function.  I  obtain  the  AER  library, including  aer,  asm , fract,   swtools,  types,  util,  vpe  pakages.   But  no  reference code  is found   in  aer directory.

   I  don't  know  how  to  utilize  AER lib to  process data.

   If  someone  knows  how  to  utilize  AER lib  to  implement  aer  function,  please  give me  a  suggestion!

 

  The  DSP   is  C674.

 The  AER lib:

ti_mas_aer_obj_all_15_2_1_0_prealpha        ti_mas_swtools_src_4_6_0_15_beta                   ti_mas_util_obj_all_4_7_3_0
ti_mas_fract_obj_all_2_4_4_0                           ti_mas_types_obj_all_5_5_3_0                            ti_mas_vpe_obj_all_3_4_2_0    ti_mas_asm_obj_all_3_4_3_0

 

Thanks,

Golden

  • Hi Golden,

    How did you get the code? If you download the code from ti.com: http://software-dl.ti.com/sdoemb/sdoemb_registered_sw/aer/15_1_10_3/index_FDS.html, you will have the test code which has examples on how to integrate AER.

     

    Regards,

    Jianzhong

     

     

  • Hi  Jianzhong:

       I  have already get  the AER library.  Now, I  use the library to  implement  Acoustic Echo Cancellation.  But  the result  of acoustic echo cancellation  is  disappointed.  I  follow  the  test code  to  implement my  code.  Only  call the  AER  API   in  my code.

       I   have  some doubts:

    1. I have  voice samples: send path voice data; echo voice data.   The  echo  is related to send path voice data.  When processing the echo data, I only  call  the  aerSendIn(void *aerInst, void *send_in, void *send_out, void *sout_8kHz, void *recv_out_sync, void *sout_pnlp_8kHz,void *trace_buf).  The 8K  pcm  echo data  is storaged in send_in buffer;8K pcm  send path  data is storaged in recv_out_sync buffer. The send_out buffer is  output data.   Is it  right?

    2. The  voice data that is processed in aerSendIn()  is  pcm format ? A law? or U law?

    3. The  voice data format must be 16bits?

     

     

    Thanks

  • Hi Golden,

     

    Here are the answers to your questions:

    1. buffer send_in should hold the signal from the microphone, buffer recv_out_sync should hold the signal to the speaker.

    2. The data must be in 16-bit linear format, with 32767 corresponding to +3dBm.

    3. See answer #2.

     

    Regards,

    Jianzhong