I played one of these, I think what I did was: get a G.711 .au file (search the web for examples) chop the header off using dd and put it on the front of the raw davinci audio using cat header data > data.au play in winamp. something like that anyway. hope that helps.
________________________________ From: [EMAIL PROTECTED] idsp.com [mailto:[EMAIL PROTECTED] x.davincidsp.com] On Behalf Of [EMAIL PROTECTED] Sent: 20 June 2008 11:55 To: [EMAIL PROTECTED]; [email protected] Cc: [EMAIL PROTECTED] Subject: RE: g711 open source codec Hello all, We are using DM6446 board and codec engine version 1.20. we have followed "build_instructions.html" under "dvevm_1_20/codec_engine_1_10_01/examples". we want to generate encoded G711 file and this is required to be done on ARM core of processor. As mentioned in "build_instructions.html" we have disbaled DSP core, compiled G711 codec under "dvevm_1_20/codec_engine_1_10_01/examples/codecs/g711" and "codec_engine_1_10_01/examples/apps/speech/linuxonly". We successfully compiled above two folders. When we executed app.out file on dm6446 board, out.dat file was generated. but we are not able to play that file. Does anybody has idea about this how to play that file or make sure whether it is encoded g711 file as size of both in.dat and out.dat is same? Thanks. -Jitendra -----Original Message----- From: Ring, Chris [mailto:[EMAIL PROTECTED] Sent: Wed 6/18/2008 10:03 PM To: Jain, Jitendra [PROTOOL/RTC/INPU]; [email protected] Cc: Deshpande, Ketan [PROTOOL/ETC/INPU] Subject: RE: g711 open source codec http://linux.omap.com/pipermail/davinci-linux-open-source/2008-January/0 05075.html In examples/xdcpaths.mak, make sure you set * REQUIRE_FC to 1 * FC_INSTALL_DIR to the location of your Framework Components installation. Chris ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 4:59 AM To: Ring, Chris; [email protected] Cc: [EMAIL PROTECTED] Subject: RE: g711 open source codec Chris, Thanks for your help. We are using codec_engine folder for compiling g711. while compiling we got following errors: ************************************************************************ ****************************************** # all files complete. all files complete: Wed Jun 18 17:27:38 IST 2008. make[1]: Leaving directory `/home/jitu/temp/examples/ti/sdo/ce/examples/apps/speech/dsponly' make -C speech/linuxonly all make[1]: Entering directory `/home/jitu/temp/examples/ti/sdo/ce/examples/apps/speech/linuxonly' XDCPATH="/home/jitu/temp/examples/ti/sdo/ce/examples/apps/speech/linuxon ly/../../../../../../..;/home/jitu/g711/dvsdk_1_30_00_23/codec_engine_2_ 00/packages;/home/jitu/g711/dvsdk_1_30_00_23/xdais_6_00/packages;/packag es;/home/jitu/g711/dvsdk_1_30_00_23/cmem_2_00/packages;/packages" /home/jitu/g711/dvsdk_1_30_00_23/xdc_3_00_02_11/xs xdc.tools.configuro -c /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le -o app \ -t gnu.targets.MVArm9 -p ti.platforms.evmDM6446 \ app.cfg making package.mak (because of package.bld) ... generating interfaces for package app (because package/package.xdc.xml is older than package.xdc) ... configuring app.x470MV from package/cfg/app_x470MV.cfg ... js: "/home/jitu/g711/dvsdk_1_30_00_23/xdc_3_00_02_11/packages/xdc/cfg/Main.x s", line 248: exception from uncaught JavaScript throw: Error: xdc.loadPackage: can't find package 'ti.sdo.utils.trace' along the path '/home/jitu/temp/examples;/home/jitu/g711/dvsdk_1_30_00_23/codec_engine_ 2_00/packages;/home/jitu/g711/dvsdk_1_30_00_23/xdais_6_00/packages;/pack ages;/home/jitu/g711/dvsdk_1_30_00_23/cmem_2_00/packages;/home/jitu/g711 /dvsdk_1_30_00_23/xdc_3_00_02_11/packages;/home/jitu/g711/dvsdk_1_30_00_ 23/xdc_3_00_02_11/packages;/home/jitu/temp/examples/ti/sdo/ce/examples/a pps/speech/linuxonly/app/./..;'; try redefining the package path (XDCPATH). "/home/jitu/g711/dvsdk_1_30_00_23/xdc_3_00_02_11/packages/xdc/cfg/Main.x s", line 154 "/home/jitu/g711/dvsdk_1_30_00_23/xdc_3_00_02_11/packages/xdc/xs.js", line 144 gmake: *** [package/cfg/app_x470MV.c] Error 1 make[1]: *** [app] Error 2 make[1]: Leaving directory `/home/jitu/temp/examples/ti/sdo/ce/examples/apps/speech/linuxonly' make: *** [all] Error 2 End of error messages ************************************************************************ ****************************************** Can anyone throw light on this? -Jitendra -----Original Message----- From: Ring, Chris [mailto:[EMAIL PROTECTED] Sent: Wed 6/18/2008 8:22 AM To: Jain, Jitendra [PROTOOL/RTC/INPU]; [email protected] Subject: RE: g711 open source codec Recent releases of xDAIS (since xDAIS 5.21) and Codec Engine (since CE 1.20) include a "golden C" G.711 codec (both encode and decode). The Codec Engine-independent codec is in xdais_X_YY/examples/ti/xdais/dm/examples/g711. The Codec Engine XDC packaging is in codec_engine_X_YY/examples/ti/sdo/ce/examples/codecs/g711 if you want to use it in Codec Engine framework. [ If you want to find your own copy, Google for "sun g711 filetype:c". ] These are examples, so they're not optimized at all, but they are xDM compliant (implementing the ISPHENC1 and ISPHDEC1 interfaces) and packaged for use by Codec Engine. It's also in straight C code, so it can run on an ARM, DSP, or just about anything else you want to build it for. Chris ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, June 15, 2008 10:05 PM To: [email protected] Subject: g711 open source codec Hello All, We are looking for G711 open source codec running on ARM of DM6446. If anyone has idea about it or have link/documents kindly let us know. Thanking you all in advance. -Jitendra Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
