What is the format of audio recorded by Microphone project

Following are the code I found :
protected function recBtn_clickHandler(event:MouseEvent):void   
                rec=new ByteArray();
                mic = Microphone.getMicrophone();
                mic.rate=44;
                mic.addEventListener(SampleDataEvent.SAMPLE_DATA, getMicAudio);
                ply_Btn.enabled=false;   
private function getMicAudio(e:SampleDataEvent): void   
                rec.writeBytes(e.data);   
                lbl.text = String(rec.length);  

Hi,
Following Links can help you.Please have a look.
1) http://www.adobe.com/devnet/air/flex/articles/using_mic_api.html
2) http://www.actionscript.org/forums/showthread.php3?t=175091
3) http://www.bytearray.org/?p=1858
4) http://cookbooks.adobe.com/post_SimpleAudioRecorder___Microphone_Access_API_AIR_2_-16746.h tml
Thanks and Regards,
Vibhuti Gosavi | [email protected] | www.infocepts.com

Similar Messages

  • What is the best free audio recording app for ipod?

    What is the best free audio recording app for ipod?
    Looking for one that will record audio for longer than 30minutes with high quality.
    Thanks.

    Perhaps your husband should search the App Store and sort by price?

  • AAC VS  AC3 VS AIFF VS MP3 WHAT IS THE BEST PRO AUDIO FILE FORMAT

    AAC VS  AC3 VS AIFF VS MP3 WHAT IS THE BEST PRO AUDIO FILE FORMAT???
    I detached the audio from my music video and am trying to make a master copy in the highest pro audio format...what would be the best for quality and sound?
    Im using FCPX

    AIFF

  • What is the best way to record a video(not big) for free on a mac w/isight?

    What is the best way to record a video(not big) for free on a mac w/isight? I need to just make a short (less than 5 minute, no special effects) video, but I can't figure out any programs that will make this possible for me.
    Thanks.

    Hi Carolyn,
    you can use iMovie to record a video for free on a Mac with iSight.
    1. Open iMovie HD
    2. Choose “Create a new project”
    3. Name the project for example “iSight Movie” (first field). In the second field, let the default location “Sequences”, in the third one, video format, choose “iSight”. Push “Create”
    4. iMovie window opens, next to the scissors, choose the camera (Camera mode), then iSight. Now you appear on the screen, right?
    5. Press “Record with iSight” in the main picture window.
    6. Press the same button to stop. Your new clip appears now in the clip panel at the right.
    7. You are done!
    iMac G5 PPC 2,1 Ghz   Mac OS X (10.4.8)  

  • What is the best way of recording bass

    Hi Peeps
    What is the best way to record a bass guitar in Logic. I'm going through a Fast Track Pro Audio Interface. The songs we are recording a disco cover, like get down on it and freak out, so need quite a warm rounded tone to them with a solid level.
    Thanks
    Matt

    Hi Peeps
    What is the best way to record a bass guitar in Logic. I'm going through a Fast Track Pro Audio Interface. The songs we are recording a disco cover, like get down on it and freak out, so need quite a warm rounded tone to them with a solid level.
    Thanks
    Matt

  • I have an LG Revere 3-What is the format for ringtones?

    I have an LG Revere 3-What is the format for ringtones?

    Supported audio file format for LG Revere 3?
    I asked this question about a month ago and didn't get a satisfactory answer. It seems like the phone software has not been updated from the VN150S in order to support bluetooth transfer of custom audio files.

  • What is the proper way to record line numbers in Master/Detail records?

    Guys and Gals,
    Been thinking about this for awhile, but thought it best to ask the people who really know what they are doing.
    What is the proper way to record & show line numbers in a Master / Detail record set?
    For example, take Master/Detail relationship Orders and OrderItems. Orders has a column Document_Number and OrderItems has Document_Number, Line_Number. Line_Number should contain the row number 1,2,3,4 ... etc. for each row in a document.
    Should I ...
    <ol><li>Add a sequence and a trigger in the database? The FusionOrderDemo does this, but then the sequence never "resets" and I've got row numbers that keep incrementing. So one document has rows 4,5,6 and the next document has 7,8,9 when they should both have 1,2,3.</li>
    <li>Programmatically take care of the row numbers? This seems like I'm asking for trouble. Anytime an insert or delete operation gets done, I'll have to iterate through rows and re-assign row numbers.</li>
    <li>Is there a way to assign row numbers in a table iterator (or data collection?) to an entity?</li></ol>
    Any suggestions would be appreciated. It's looking like #2 is my only option, but if anyone knows different I'd love the input.
    Will

    Thank you both guys.
    As John said, I believe I'm looking for a gap-free sequence per master record.
    The line number of the OrderItems table is the second half of the primary key. The first half of the primary key (DocumentNumber) is the foreign key to the Orders table.
    Think of it like line items on an order or invoice. For example, if you were talking to someone on the phone concerning an invoice, you might say, "The pricing for line item #3 is incorrect." In this case, it's good to have a common reference. Or imagine a Microsoft Excel spreadsheet with no row numbers displayed! You'd never get anywhere if you had to explain something over the phone.
    If this is tricky to perform, I take it using a sequence and trigger such as the Fusion Order Demo is the best way to approach the challenge for simplicity's sake?
    Will

  • What's the format of the datasource tag in jbosscmp-jdbc.xml

    Hi,
    I made a CMP when I use Lomboz to generate the classes, and xml files, but I still don't know how to relate my CMP to datasource.
    I thought may be I should configure the jbosscmp-jdbc.xml, because when I look in this file and found:
    <defaults>
    <datasource>PLEASE_MODIFY_THIS</datasource>
    <datasource-mapping>PLEASE_MODIFY_THIS</datasource-mapping>
    <preferred-relation-mapping>PLEASE_MODIFY_THIS</preferred-relation-mapping>
    </defaults>
    But I don't know how to "modify this", What do those tags mean? what are those for? and what are the Formats?
    My database -- mySQL
    datasouce xml file -- test-ds.xml:
    <datasources>
    <local-tx-datasource>
    <jndi-name>jdbc/test</jndi-name>
    <connection-url>jdbc:mysql://devsz-ma3.cn1.belton.com.hk:3306/test?useUnicode=true&characterEncoding=UTF-8</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>touchpanel</user-name>
    <password>touchpanel</password>
    </local-tx-datasource>
    </datasources>
    I need help, can you tell me some about that, thanks
    next is my CMP entity bean:
    package ejb.product;
    import java.rmi.RemoteException;
    import javax.ejb.EJBException;
    import javax.ejb.EntityBean;
    import javax.ejb.EntityContext;
    import javax.ejb.RemoveException;
    * @ejb.bean name="Product"
    *     jndi-name="ProductBean"
    *     type="CMP"
    *  primkey-field="productId"
    *  schema="Product"
    *  cmp-version="2.x"
    * This is needed for JOnAS.
    * If you are not using JOnAS you can safely remove the tags below.
    * @jonas.bean ejb-name="Product"
    *     jndi-name="ProductBean"
    * @jonas.jdbc-mapping  jndi-name="jdbc/test" jdbc-table-name="FL_PRODUCT"
    *  @ejb.persistence
    *   table-name="FL_PRODUCT"
    * @ejb.finder
    *    query="SELECT OBJECT(a) FROM Product as a" 
    *    signature="java.util.Collection findAll()" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.NAME = ?1" 
    *       signature="java.util.Collection findByName(java.lang.String name)" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.DESCRIPTION = ?1" 
    *       signature="java.util.Collection findByDescription(java.lang.String desc)" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE = ?1" 
    *       signature="java.util.Collection findByBasePrice(double basePrice)" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product " 
    *       signature="java.util.Collection findAllProducts()" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE > ?1" 
    *       signature="java.util.Collection findExpensiveProduct(double maxPrice)" 
    * * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE < ?1" 
    *       signature="java.util.Collection findCheapProduct(double minPrice)" 
    * This is needed for JOnAS.
    * If you are not using JOnAS you can safely remove the tags below.
    * @jonas.finder-method-jdbc-mapping  method-name="findAll"
    *     jdbc-where-clause=""
    * @jonas.jdbc-mapping  jndi-name="jdbc/test"
    *     jdbc-table-name="FL_PRODUCT"
    public abstract class ProductBean implements EntityBean {
         protected EntityContext ectx;
          * The  ejbCreate method.
          * @ejb.create-method
         public java.lang.String ejbCreate(String productId, String name, String desc,double basePrice) throws javax.ejb.CreateException {
              // EJB 2.0 spec says return null for CMP ejbCreate methods.
              // TODO: YOU MUST INITIALIZE THE FIELDS FOR THE BEAN HERE.
              // setMyField("Something");
              System.out.println("Entering ProductBean.ejbCreate()");
              setProductId(productId);
              setName(name);
              setDescription( desc);
              setBasePrice(basePrice);
              System.out.println("Leaving ProductBean.ejbCreate()");
              return productId;
          * The container invokes this method immediately after it calls ejbCreate.
         public void ejbPostCreate(String productId, String name, String desc,double basePrice) throws javax.ejb.CreateException {
         * Returns the productId
         * @return the productId
         * @ejb.persistent-field
         * @ejb.persistence
         *    column-name="PRODUCT_ID"
         *     sql-type="varchar"
         * @ejb.pk-field
         * @ejb.interface-method
         * This is needed for JOnAS.
         * If you are not using JOnAS you can safely remove the tags below.
         * @jonas.cmp-field-jdbc-mapping  field-name="productId"
         *     jdbc-field-name="PRODUCT_ID"
         public abstract java.lang.String getProductId();
         * Sets the productId
         * @param java.lang.String the new productId value
         * @ejb.interface-method
         public abstract void setProductId(java.lang.String productId);
         * Returns the name
         * @return the name
         * @ejb.persistent-field
         * @ejb.persistence
         *    column-name="NAME"
         *     sql-type="varchar"
         * @ejb.interface-method
         * This is needed for JOnAS.
         * If you are not using JOnAS you can safely remove the tags below.
         * @jonas.cmp-field-jdbc-mapping  field-name="name"
         *     jdbc-field-name="NAME"
         public abstract java.lang.String getName();
         * Sets the name
         * @param java.lang.String the new name value
         * @ejb.interface-method
         public abstract void setName(java.lang.String name);
         * Returns the description
         * @return the description
         * @ejb.persistent-field
         * @ejb.persistence
         *    column-name="DESCRIPTION"
         *     sql-type="varchar"
         * @ejb.interface-method
         * This is needed for JOnAS.
         * If you are not using JOnAS you can safely remove the tags below.
         * @jonas.cmp-field-jdbc-mapping  field-name="description"
         *     jdbc-field-name="DESCRIPTION"
         public abstract java.lang.String getDescription();
         * Sets the description
         * @param java.lang.String the new description value
         * @ejb.interface-method
         public abstract void setDescription(java.lang.String description);
         * Returns the basePrice
         * @return the basePrice
         * @ejb.persistent-field
         * @ejb.persistence
         *    column-name="BASE_PRICE"
         *     sql-type="double"
         * @ejb.interface-method
         * This is needed for JOnAS.
         * If you are not using JOnAS you can safely remove the tags below.
         * @jonas.cmp-field-jdbc-mapping  field-name="basePrice"
         *     jdbc-field-name="BASE_PRICE"
         public abstract double getBasePrice();
         * Sets the basePrice
         * @param double the new basePrice value
         * @ejb.interface-method
         public abstract void setBasePrice(double basePrice);
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbActivate()
         public void ejbActivate() throws EJBException, RemoteException {
              System.out.println("ejbActivate() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbLoad()
         public void ejbLoad() throws EJBException, RemoteException {
              System.out.println("ejbLoad() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbPassivate()
         public void ejbPassivate() throws EJBException, RemoteException {
              System.out.println("ejbPassivate() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbRemove()
         public void ejbRemove() throws RemoveException, EJBException, RemoteException {
              System.out.println("ejbRemove() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbStore()
         public void ejbStore() throws EJBException, RemoteException {
              System.out.println("ejbStore() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
         public void setEntityContext(EntityContext arg0) throws EJBException, RemoteException {
              this.ectx = arg0;
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#unsetEntityContext()
         public void unsetEntityContext() throws EJBException, RemoteException {
              this.ectx = null;
    }

    you can try this
    <defaults>
    <datasource>java:/jdbc/test</datasource>
    <datasource-mapping>MySQL</datasource-mapping>
    <create-table>false</create-table>
    <remove-table>false</remove-table>
    </defaults>
    JaimeS

  • TS1559 I bought my iphone 4s in usa apple store but when i write my serial number to support center i see warning like that. What is the problem ? Our records indicate that this product has been replaced. Please provide the serial number for your replacem

    I bought my iphone 4s in usa apple store
    ihave trouble with my iphone wifi that is gray and cannot connect any wifi network.
    i want to support for this issue.
    but when i write my serial number to support center i see warning like that. What is the problem ?
    Our records indicate that this product has been replaced. Please provide the serial number for your replacement product to find the support and warranty coverage information. For more information, please contact us.

    Nobody here would know.  Contact Apple and ask them

  • What is the best way to record a project to an external recorded via firewire. Also, who makes a recorder that works with a mac?

    What is the best way to record a project from the timeline to an external recorder via firewire? Also, who makes a recorder that works with a mac and recordes in realtime? This is possible right?

    While theoretically possible, sometimes the camera people disable recording back to tape from the computer due to DRM (digital rights managment) issues. They will allow tape to tape transfers however.
    Test your process first is all I can advise.
    x

  • What is the format of 0calmonth data in flat file

    Hi,
    What is the format  for  0calmonth field data  in flatfile to load data in to cube.
    Thanks .

    Hi Alex,
    Thanks for your response. Iam providing 0calmonth  field data as 200904 ,200905 and further  then at the time of loading it is throughing error like
         Value '090420 ' of characteristic 0CALMONTH is not plausible     BRAIN     27     
    Please suggest me.
    Thanks.

  • What is the smallest data structure record in a .TXT file record to be recognized as an Apple Address Book "Data Card"?

    Hello! This is my first time in this discussion group. The question posed is the subject line itself:
    What is the smallest data structure record in a .TXT file record to be recognized as an Apple Address Book "Data Card"?
    I'm lazy! As a math instructor with 40+ students per class per semester (pCpS), I would rather not have to create 40 data cards pCpS by hand, only to expunge that info at semester's end. My college's IS department can easily supply me with First name, Last name, and eMail address info, along with a myriad of other fields. I can manipulate those data on my end to create the necessary .TXT file, but I don't know the essential structure of that file.
    Can you help me?
    Thank you in advance.
    Bill

    Hello Bill, & welcome aboard!
    No idea what  pCpS is, sorry.
    To import a text file into Address Book, it needs to be a comma delimited .csv file, like...
    Customer Name,Company,Address1,Address2,City,State,Zip
    Customer 1,Company 1,2233 W Seventh Street,Unit 543,Seattle,WA,99099
    Customer 2,Company 2,1 Park Avenue,,New York,NY,10001
    Customer 3,Company 3,65 Loma Linda Parkway,,San Jose,CA,94321
    Customer 4,Company 4,89988 E 23rd Street,B720,Oakland,CA,99899
    Customer 5,Company 5,432 1st Avenue,,Seattle,WA,99876
    Customer 6,Company 6,76765 NE 92nd Street,,Seattle,WA,98009
    Customer 7,Company 7,8976 Poplar Street,,Coupeville,WA,98976
    Customer 8,Company 8,7677 4th Ave North,,Seattle,WA ,89876
    Customer 9,Company 9,4556 Fauntleroy Avenue,,West Seattle,WA,98987
    Customer 10,Company 10,4 Bell Street,,Cincinnati,OH,89987
    Customer 11,Company 11,4001 Beacon Ave North,,Seattle,WA,90887
    Customer 12,Company 12,63 Dehli Street,,Noida,India,898877-8879
    Customer 13,Company 13,63 Dehli Street,,Noida,India,898877-8879
    Customer 14,Company 14,63 Dehli Street,,Noida,India,898877-8879
    Customer 15,Company 15,4847 Spirit Lake Drive,,Bellevue,WA,98006
    Customer 16,Company 16,444 Clark Avenue,,West Seattle,WA,88989
    Customer 17,Company 17,6601 E Stallion,,Scottsdale,AZ,85254
    Customer 18,Company 18,801 N 34th Street,,Seattle,WA,98103
    Customer 19,Company 19,15925 SE 92nd,,Newcastle,WA,99898
    Customer 20,Company 20,3335 NW 220th,2nd Floor,Edmonds,WA,99890
    Customer 21,Company 21,444 E Greenway,,Scottsdale,AZ,85654
    Customer 22,Company 22,4 Railroad Drive,,Moclips,WA,98988
    Customer 23,Company 23,89887 E 64th,,Scottsdale,AZ,87877
    Customer 24,Company 24,15620 SE 43rd Street,,Bellevue,WA,98006
    Customer 25,Company 25,123 Smalltown,,Redmond,WA,98998
    Try Address Book Importer...
    http://www.sillybit.com/abee/

  • What is the format required in essbase side to show calendar icon in obiee

    Hi All,
    Currently we are bulidng dashboards with Essbase ASO cube as underlined multi-dimensional database.
    Not sure essbase date is not showing as date format.
    what is the format required in essbase side to show calendar icon in obiee
    We tried format as "Obiee Date - Jan 1, 2007 12:00 AM.However no use.
    Can someone assist on this issue how to proceed further
    Thanks,
    SatyaB

    I have actually seen this as a problem with Essbase Data sources...It takes this as Varchar. My time grains are till Month in current system so can't check...
    May be this can help you out http://businessintelligence.ittoolbox.com/groups/technical-functional/hyperion-bi-l/obiee-essbase-as-source-time-dimension-using-between-operator-3399220
    Else , there is unfortunately no workaround.
    Check Christian's comment as well Re: Essbase Date Measures as DATE in OBIEE
    Edited by: Deepak Gupta on 21-Sep-2011 23:48

  • Where does FireFox get the default value of a preference from. What is the format of the file that has the default value?

    Where does FireFox get the default value of a preference from. What is the format of the file that has the default value?. I need the actual default value for a particualr preference.
    About:config does show some default values but I need the source from which about:config picks up the default value.
    Any help in this direction is greatly appreciated.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    The prefs that aren't hidden if they are the default are stored in two JavaScript text files in the Firefox program folder
    You can open them via these links in a Firefox tab:
    <code>resource:///defaults/pref/firefox.js
    resource:///greprefs/all.js
    </code>
    ([/forum/1/702598])

  • What is the reason of doing recording in BDC !

    What is the reason of doing recording.....CAn we directly write the code ???

    Hi,
    OKCODE is nothing but the button clicks which you have performed while creating or changing a document.
    You will be moving around in the transaction for creating a document and finally you click the save button.  When click the save button then you will generally have the OKCODE as '=SICH'.
    The OKCODE basically tells you which button you have clicked, as you are having so many options in the transaction to work around.
    Thanks,
    Mahesh.

Maybe you are looking for