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.

Acoustic echo removal/cancellation for tms320c6747

Other Parts Discussed in Thread: TMS320C6747, TELECOMLIB, OMAPL138

Hello experts,

I would like to use the acoustic echo removal (AER) for tms320c6747. For this, I need to get familiarized with the algorithm used in acoustic echo removal/cancellation. Could you pls let me know which algorithm is being used so that I can fully follow on why we do things in certain way for using AER? thanks.

  • Hello Tharangini,

    You should start by downloading and reading the fact sheet for AER 16.0.0. You can find it on a download page to which you can get if you search TI site for TELECOMLIB and select Get Software link for AER. Even more information may be found once you download the AER software package. It contains the Developers Guide as well as User's Manual with the API's.

    Please download and read the above information and documentation and let us know if you have more questions.

    What type of application do you plan to implement with the Acoustic Echo Canceller?

    Best Regards,
    Bogdan

  • Hi Bogdan,

    Thanks for your reply. We plan to use AER for Voip application on TMS320c6747. I am using ccsv4. I already found some code in the path: C:\Program Files\Texas Instruments\aer_c674le_obj_15_1_10_3\packages\ti\mas\aer\test. This has the pcm output - which I cant find any software to open (the .pcm) file. So, other than the above are there any other example code I can get which uses the AER for VoIP application? Thanks

  • Hi,

    I am looking for AER examples that can open up in CCSver4- because eventually I am going to port AER into CCSver4. Do you have any examples that can open up in CCS4 and I can build and run as we do for other projects in CCSV4? thanks.

  • You can open PCM files with Adobe Audition or load them and display/play them in MATLAB.

    No, we do not have any other examples with AER code.

    Regards,
    Bogdan

  • Hi,

    The version you have (15.1.10.3) does not have pre-built CCS v4 project. You need to download the latest version (16.0.0.1) : http://software-dl.ti.com/sdoemb/sdoemb_registered_sw/aer/16_0_0_1/index_FDS.html.

    After you download and install the software, you'll find CCS v4/v5 project file at: <installation_folder>\aer_c64Px_obj_16_0_0_1\packages\ti\mas\aer\test\aertest_c64Ple_C64PLE_LE_COFF.

    Regards,

    Jianzhong

  • Hi Jianzhong,

    Thank you for your reply. I have registered to get the latest AER software, but still waiting for approval. (we are in australia by the way. we are waiting for TI software's US government export approval).I actually registered on 14th march itself.

    Also, in the example given in version 15.1.10.3, I found that the example is taking input in .pcm format and outputs in .pcm format. Is it necessary that input file and output file have to be in pcm format? Can't I just play live audio (.wav file), and give this as input to AER and output of AER is taken and just played out like .wav file? I am looking for this option because, at the moment I have a ccsv4 code that does the following: there is a DSP (which is EVMOMAP L137/c6747) board and I have a windows 7 PC. The DSP and PC are connected via ethernet cable. I speak from the MIC of the PC and this is transmitted via UDP to DSP board. The DSP board takes this and plays out in the speaker connected to the DSP board (which is EVM OMAP L137/C6747). Cant I just insert the AER where the DSP gets the input via UDP? that is, DSP gets input via UDP, passes this through the AER and output of AER is played out to speaker out of DSP. Is it possible for me to do like this? Or, should the input be strictly .pcm format everywhere?

    Thanks.

  • Hi Bogdan,

    Thank you for your reply.

    I wil try playing with adobe and let you know.

    Thanks.

  • Tharangini, 

    The .pcm files are used for AER simulation (not real time operation). For your application, you'll need to integrate AER into your own system. In that case, AER takes 16-bit linear samples as input. The output is also 16-bit linear samples.

    Regards,

    Jianzhong

  • Hi Jianzhong and Bodgan,

    Thank you for your replies. I can play pcm files using audicity. I will try integrating AER code once I receive software approval.

  • PS

    For the purposes of simulation, if you have some wav files you can use matlab to create the 16 bit, big endian pcm files:

    >> myFeData=wavread('myFeData.wav');
    >> fid=fopen('myFeData.pcm','w')
    >> xin=round(myFeData*32768);
    >> xin=min(xin,32767);
    >> xin=max(xin,-32768);
    >> fwrite(fid,int16(xin),'int16','ieee-be')
    >> fclose(fid)

  • Hi Tharangini,

    We are planning to use AER for VoIP application on OMAPL138 processor.

    Can you share any details how i can use the AER to feed my audio samples and analyse them for echo cancellation.

    I am using the OMAP L138EVM board for my testing.

    Regards,

    Lenin.