Flex :: Acoustic Echo Cancellation In Flash Using Native Libraries

Feb 4, 2010

I have to implement AEC in Flex video conferencing application. I know that it can not be done directly in Flash. I'm thinking to write a native application or library that will do AEC outside Flex.

As far I know Adobe Connect Pro is using some external library that do AEC. I'd like to follow this direction and do something similiar.

There comes two possibilities in my mind:

1) Independend custom AEC filter.

The custom AEC filter will be run in the background and will be processing all data from microphone and sound card and doing AEC. The echo signal will be the data that is to be played but delayed in a temporary buffer, something like this: aec(input, delayed_input, output).

I don't know if it work, because Flash microphone input doesn't know about my custom input and the same with the speakers. But how it is done in WinXP/Vista that have AEC at the system level?

2) AEC filter interacting with Flex's NativeProcess.

The filter will be run by NativeProcess. Flex app will pass microphone sound, received remote voice to the filter and return voice with echo removed and then Flex will output this to the speakers. Will it be correct?

If the 2) method is OK then I have following questions:

I will start with Speex's AEC so in what format should be the data pased from Flex? If I choose Flex Speex codec for sound compression can I pass it directly to the speex library? Will be the performance OK? Calling NativeProcess library every sound frame buffer can be time consuming I think. Why there is no AEC implementation in AS3 that can be used directly from Flash? As far I know to do AEC you must have echo data and microphone data (in Flash 10 there is direct access to the microphone). There is definetly something that is stopping doing it like this but I don't know what it is yet :) Is there some free AEC implementation or a DSP library with in except Speex's that I can use?

View 2 Replies


Similar Posts:


Actionscript 3 :: Acoustic Echo Cancellation (AEC) With Flash?

Nov 12, 2009

Acoustic Echo Cancellation (AEC) with Flash AS3? What do I need? Open Source Libs/wrappers. Tutorials and blog articles on How to do it.

View 2 Replies

Actionscript 3 :: GetEnhancedMicrophone Method For Echo Cancellation In 10.3 Bugged?

Sep 20, 2011

My code:

mic = Microphone.getEnhancedMicrophone();
var options:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
options.mode = MicrophoneEnhancedMode.FULL_DUPLEX;
options.autoGain = false;
options.echoPath = 256;

[Code]...

In my application I am indeed using the enhanced mic, but echo cancellation still persists.

I think this is a bug Adobe needs to fix, am I the only one having this issue?

View 1 Replies

Flash - File System, Native Process Utility Libraries For Adobe AIR/flex Applications?

Dec 20, 2011

I am looking for utility/helper classes for Adobe AIR/actionscript 3.0 file system and native process utilization. Could someone point me to opensource library projects specific to Adobe AIR..

View 2 Replies

Flex :: How To Edit Item In DataProvider With Support For Cancellation

Jul 9, 2009

I have a DataGrid of objects, and I want to modally edit them; pop up a dialog, change the item, and if the user clicks "Ok", save the changes back to the original item, and if they click "Cancel", do nothing. It seems obvious that if I simply pass in a reference to the original object and change it using data bindings to the fields in the edit form, I won't be able to cancel my edits. How can I support that capability?

View 1 Replies

Javascript :: Client Technology Choice - Any HTML5/Canvas Libraries As Capable As Flash/Flex?

Jan 7, 2011

I built a prototype in Adobe Flex, they (customers) liked it. Everything was fine until they later told me that iPads / iOS needs to be supported too.I checked out Adobe's Packager for iPhone. We're evaluating that and we will know if it works out in a couple of days. (We need to get through Apple's red tape and certificates raj so this angle is delayed by a few days!)

There is a growing voice for using HTML5/Canvas as a technology platform itself. And despite being quite proficient in Flex, I think this makes sense.

I'm in need of a HTML5 library that can:

Render "widgets" i.e. containers with forms and components(this should be easy and possible using POHJC - Plain old HTML,JavaScript and CSS )Provide a Tree like control for laying out some data Provide a Canvas where data structures can be represented as basic shapes Provide drag and drop capabilities between Trees, Buttons and Canvas Provide some sort of Tab Navigator container (I guess JQuery works here) Interact with back-end services (JSON/XML calls will be okay, but mapping directly with back-end entities will be awesome!)Renders on latest versions of major browsers, Android OS and iOS (WebKit for mobile?)

I'm ready to give JQuery & JQuery UI a try. I looked at Sencha / ExtJS but it seems we need to maintain two code bases one for normal browsers and the other for mobiles (is that correct?)Single code base, I don't want to suggest to them that multiple code bases for the client need to be maintained. That's a last resort option and would lead to complete ruling out of HTML5 with Flash apps and native apps being developed.Canvas capabilities - I don't want to work with raw canvas and shape tags. This too is a last resort option. Is there any abstraction available?

View 2 Replies

Flex :: Flash - Builder 4 Does Not Show Export To Native Installer Option?

Aug 26, 2010

i am using Flash-builder 4 and developed an application to capture screen image and save on desktop.But when i click the export button , the flex builder shows me the option to export to file only as shown belowI have downloaded latest air sdk and overwrite file in sdk4.0.0 , now air app works but how will it show me the "export to native installer option"??

View 1 Replies

Flex :: Changing A Flex Movie To Use Runtime Shared Libraries And Losing Text In Charts?

Dec 3, 2009

I'm creating a small size Flex movies which contains two line charts, at the moment the size of the release build swf is 343KB, which is too large for our needs.

I've tried changing the loading of the SWC file to Runtime Shared Libraries, but I found that this removed the text of the charts (the text for the x and y axis). Why would the text be removed when the Framework linkage is set as a Runtime shared library?

View 1 Replies

ActionScript 3.0 :: Php To Xml Then Will Be Echo To Flash

Nov 14, 2011

Im still new in using as2 as well as as3 so Im begging for your kind consideration on how to solve my problem. I made a php file which outputs an XML file. Here is the code xml file "load.xml".

[Code]...

View 21 Replies

ActionScript 2.0 :: Look For Only The Echo In Flash

Feb 20, 2007

echo ("&response=$sent"); Is there anyway to look for only the echo in flash. not the rest of the vars from a php file??? something like loadvars("my.php?&response", GET);?

View 3 Replies

Flex :: Where Are The Libraries? Can I Clear The Cache?

Jul 15, 2009

Where are the signed, cached flex libraries on a windows / mac / linux system? They don't appear to be in my browser cache... so where is adobe keeping them? I found the files. But can I clear the cache? After trashing the files in windows, I don't see the files get downloaded again (with fiddler).

View 2 Replies

Flex - Runing Native Process In Admin Mode In FLEX AIR 2 In Vista 6 Bit?

Jun 28, 2010

I have a Flex AIR2 application which uses native process to run CMD.exe. Application running fine on WinXP, Win R 2008 server. But not running on VISTA 64 bit OS. Flex not able to run CMD.exe when application installed in C:Program Files (x86). When I run application as Administrator mode it is working fine. Below is my code, I want to start cmd.exe as Administrator.

[Code]...

View 1 Replies

Flash :: Echo Raw Post Data In PHP?

Aug 2, 2011

My goal is to simply echo $_POST['imageVar']; back with content headers as a quick and dirty means to "export" an image from a flash application. I saw an example of this as follows, but it does not work with my php version/config:

if (isset($GLOBALS["HTTP_RAW_POST_DATA"]))
{
// get bytearray

[Code].....

View 2 Replies

ActionScript 2.0 :: PHP Echo Command In Flash?

Jan 14, 2006

I can't seem to make Flash accept PHP's echo command. Here is my actionscript:

on (release) {
getURL("<? echo $link; ?>")
}

[code].....

View 7 Replies

ActionScript 2.0 :: Flash Form And Echo From The Php

May 13, 2008

I am trying to make this form work, but I think I am just missing a little bit.

I have the following AS:
var send_lv = new LoadVars();
var result_lv:LoadVars = new LoadVars();

[Code]......

My php works fine, except I think I need to change the echo, but I don't know what to. This is what I have now: echo "&Status=Your quote request has been sent.";

View 2 Replies

ActionScript 2.0 :: PHP Echo Back To Flash?

Nov 8, 2004

I am trying to do a simple php echo to flash. I want to do a loadvars.load("tomyscript.php",0,"POST"); and echo back an address....such as echo "[URL].. in php and I want flash to be able to read it. I have sound very little on echo back to flash, maybe I am typing the wrong keywords. I have done this before, but this was my code:

PHP Code:
<?php     $returnvar=$testvar;     echo("returnvar=".$returnvar); ?>

I am not sure why that works and my other echo doesnt.I tried using that script for my idea too and it didnt work. If someone can clear this up for me that would be great, so I can understand why it's not working and what it's doing.

View 2 Replies

Actionscript 3 :: Circular Dependencies In Flex Libraries?

Sep 21, 2009

I have two Flex libraries that reference each other. Both use link type "External", and I manually load then with the Loader class.I'm getting the error "A cycle was detected in the build path of project: foo".

View 2 Replies

Flex :: Mxml - Any Good Wizard Libraries ?

Sep 25, 2009

I'm looking for a good "Wizard" library in Flex before rolling my own. The important features are: Multiple custom input panels in sequence. Ability to prepopulate the data fields using an object, but cancelling at any point leaves original data unmodified. Ability to move to back and forth in panel sequence without losing data.

View 3 Replies

Flex :: Approaches / Libraries For Resize Dragging?

Jan 8, 2010

I'm currently working on a WYSISYG editor that allows the user to move, resize and rotate shapes by directly manipulating them. The resizing seems to be fairly complex when the shape is rotated. I got this working for non-rotated shapes, but it will take some trigonometric calculations to resize shapes that are rotated. The registration point is always is the middle of the rectangle because this makes rotating a lot easier. Before I start implementing this, I was wondering if anyone knew of any libraries or sample source code that does this, or could share some tips and tricks to calculate the transformations.

[Code]...

I attached a screenshot of what I'm trying to accomplish and another one that has some lines drawn onto it that should allow me to deduct the trigonometric calculations. The cross is the cursor.

View 3 Replies

Flex - Determine If Mx Classes/libraries Are Supported?

Feb 25, 2011

I'm writing a helper class and I want it to be used in both flex and pure actionscript projects. For example:

public static function listenToPositionAndSize(control:DisplayObject):void
{
if (mxLibrariesSupported)
{
control.addEventListener(mx.events.ResizeEvent.RESIZE, onControlResize);
control.addEventListener(mx.events.MoveEvent.MOVE, onControlMove);

[Code]...

EDIT: One simple reason to do this is: if you check the above example, I would prefer mx.events.MoveEvent.MOVE (if available) instead of flash.events.Event.ENTER_FRAME for performance issues.

View 3 Replies

Flex :: Libraries That Support Image Editing?

Mar 8, 2011

I'm looking for something that will support image rotation, multiple image layers, cropping, etc., and allow the client to customize which features are to be shown.

View 1 Replies

Flex :: Can't Automate Some Objects Which Uses Degrafa Libraries

Jun 15, 2011

In our application ,we have diagrams which make useof degrafa libraries.When this application is automated with flexmonkey any operation done on these diagrams are not recorded nor played back.

Rest of the application like filling the textfield and dropdown are working fine.

Is there any way I could automate these degrafa diagrams like clicking on it or changing the description.

View 1 Replies

Flex 4 / Apache Ant - Cannot Load ActionScript Libraries

Jun 26, 2011

I have been searching google, Apache Docs*, and FlashPunk forums looking for an answer to this: I cannot get Ant/Flex to find and compile a folder of libraries in *.AS format.

Here is my build.xml.
<project>
<!-- Flex SDK Properties -->
<property name="FLEX_HOME" value="/opt/flex"/>
<property name="MXMLC.JAR" value="${FLEX_HOME}/lib/mxmlc.jar"/>
<!-- Project Properties -->
[Code] .....

Results in many errors of the type "Definition net.flashpunk.masks:Grid could not be found" even though when I open the directories I can see the *.AS files right there. I decided to use Ant because neither FlashDevelop for Windows nor Eclipse for Linux seemto work for me.

View 1 Replies

Flex :: Large Project - Convert Swc Libraries To A RSL?

Jan 9, 2012

my Flex project has grown to over 1 Mb in size in release mode and now I am trying to cut it up into modules.

One of my SWC libraries is fairly large and I want to use it in multiple modules, so I think I can turn it into a RSL? how can I go about turning the SWC library into a RSL? I am building with Flash Builder (Flex).

View 1 Replies

Actionscript 3 :: Three D Libraries In Flex Application For Game Development

Feb 10, 2012

I am beginner in flex as3 applications. I need to develop a 3d game using flex will you the some 3d engines used for flex applications.

View 2 Replies

ActionScript 3.0 :: Use Public Libraries That Depend On Flex Classes?

May 28, 2010

I work with Flash CS4 and lately I've been looking for certain classes to ease my work. To be more precise Atom/RSS2.0 parsing classes. But the best result I found needed me to work with FLEX. Now I can't get this to work with flash CS4. There's no apparent way to make this work. I can build my own parser or look for one that doesn't need Flex. But it looks like the future is more FLEX oriented.

EDIT : I know how Flex Code and SWC files should work. But every time I try to use them I get some bizarre error about missing classes and methods that are part of FLEX but not included in Flash...

View 1 Replies

ActionScript 3.0 :: Get Flash To Display An Echo Message That Comes From A Php File?

Jul 20, 2009

How do I get Flash to display an echo message that comes from a php file?

View 2 Replies

Flex :: Packaging Air App In Native Install

Feb 22, 2010

I have tried the options given on Adobe Livedocs : adt -package -target native myApp.exe myApp.air, but I keep getting the message "-storetype required". I then try with adt -package -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.air and get the same message. I have already created the .air file and the .p12 cert file in flexbuilder, and am just pointing to these in the command prompt in the specified places, but the same problem occurs. Any ideas?

View 1 Replies

Admob In Flex 4.6 Native Extensions?

Nov 24, 2011

Has anyone found a way to get a Native Extension running for Admob yet? Or for iAd for that matter?

There seem to be a number of issues with the ANE, with compiling and with the manifest. Has anyone found a way to have it all sorted?

View 1 Replies

Flex :: Avoid Native Authentication Popup In AIR On Mac?

Sep 24, 2009

In AIR on Mac, when I send login creds to a service and they're incorrect, AIR displays a native popup window to try logging in again without dispatching an error event. Twitter provides a header (suppress_response_codes=true), which returns any error as a status 200 with the error message. I'm using HTTPService to connect to a service without a header like this. Are there any properties or headers I can send to avoid this popup?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved