How to record voice in flex application

Hi All, I want to record my voice in flex application
and I want to playback the same. Can anyone suggest me any idea.
Regards,
Dharma

I think a Flash media Server could handle this.
http://www.adobe.com/products/flashmediaserver/
Flex does have controls for Microphone and Video capture, but
it doesn't have any way of handling/storing that data without a
media server as far as I know.
Maybe someone has an alternative solution.

Similar Messages

  • Record Voice in Flex Using Red5

    Can any1 post me the code for recording voice in flex using
    red5 or else brief me the procedure how to record voice in flex
    using red5.....

    I think a Flash media Server could handle this.
    http://www.adobe.com/products/flashmediaserver/
    Flex does have controls for Microphone and Video capture, but
    it doesn't have any way of handling/storing that data without a
    media server as far as I know.
    Maybe someone has an alternative solution.

  • How can we handle in flex application if the server is down?

    how can we handle in flex application if the server is down?

    You and me both. 
    As ambiguous as the original question was, I think he was just asking how to handle a server exception and I would suggest generally just using a Alert.show("your specific message (eg.  The server is currently unavailable)") in the place where you handle the fault return from your service or http call.  I'm sure there are more complicated messaging frameworks or approaches, but that seems to be enough for my apps.

  • How to Build and Deploy Flex application in EP6

    Hi All,
    Can anyone tell how to build and deploy Flex application in EP6.
    I want to build a normal application in flex and present it through iviews. How do I configure my Iiview to have flex component running in Portal Environment.
    Thanks
    Deepak

    A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).

  • How to call SKYPE from Flex application ?

    The basic idea is this. I've got Flex application, to simplify the problem, let's say it's phonebook.
    Data in this phone book is pulled from SQL server and telephone numers are changing daily.
    I'm choosing a person, and I have button - CALL CONTACT ...
    How to link this button to his current telephone number to call this number via SKYPE ?
    There is such a way if you have HTML site - http://www.skype.com/intl/en-gb/business/features/calling/buttons/
    Have you any idea how to make such button in Flash / Flex ??

    navigateToURL() ? http://livedocs.adobe.com/flex/3/langref/flash/net/package.html#navigateToURL%28%29
    However, it looks like the Skype HTML has some form of JavaScript involved.  If it's doing something special you may be Out of luck.

  • How I can reduce a Flex application size?

    Hi
    I have developed a Chat application using Flex and XIFF API.
    The XIFF API size is around 500 KB. I need the basic chat
    functionality . Now my chat application size is around 400KB(in
    release mode). Is there any way that I can reduce my Chat
    application size , so that it will loads to the client machine
    quickly.

    "pskamalnath" <[email protected]> wrote in
    message
    news:gfgq4j$8o6$[email protected]..
    > Hi
    >
    > I have developed a Chat application using Flex
    > and
    > XIFF API. The XIFF API size is around 500 KB. I need the
    basic chat
    > functionality . Now my chat application size is around
    400KB(in release
    > mode).
    > Is there any way that I can reduce my Chat application
    size , so that it
    > will
    > loads to the client machine quickly.
    Probably there are a lot of things you can do to increase
    perceived
    responsiveness that may or may not change file size. But if
    you really want
    to slim it down, rewrite it in Flash.
    HTH;
    Amy

  • How to load pdf in flex application for android os

    I loaded pdf in stagewebview which works good in IOS but not in android.
    The pdf file is loaded from the application storage directory.
    Please help me in resolving the problem. Thank you in advance.

    I think that my problem was i couldnt see pdf in my app running in ipad simulator of FlashBuilder in a flex mobile project in my laptop. what i read said that StageWebView create an instance of default browser in your machine. So that if we cant see pdf in ipad simulator is because also you cant see it in the default browser.
    Apart of this, i run this example in other machine, and i could see it, so its not problem of your code, but from your browser probably doesnt have pdf plugin installed. Correct me if i´m wrong.
    Cheers!

  • How to create multiple pages using flex application.

    Hi all,
    i am doing flex application which contains 5 different
    pages,
    to do this i have used viewstack component to navigate
    between the pages.
    this is working fine if all my pages are of same size. each
    page as different background image.
    but i have to create pages with different sizes.
    my first and second page are small and remaining pages are
    big.
    when i navigate to 3rd or 4th page, it is showing scrollbar
    inside swf.
    but i want scrollbar for browser window not inside my swf
    anyone please guide me how to create pages in flex
    application.
    i have one more doubt, if my page contains some html links ,
    how to open those links,
    is it posible to open the link in new window.
    please help me , i have no idea how to create web
    applications using flex
    Thanks in advance
    regards
    avanthika

    Hi inlineblue,
    Thanks for your reply,
    you asked about sample code,
    following is my sample code.
    In my Application mxml file, i am loading all custom
    components for each page.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    horizontalAlign="center" verticalAlign="top"
    styleName="plain"
    backgroundColor="#FFFFFF"
    creationComplete="init()" width="780" height="594" >
    <mx:Script>
    <![CDATA[
    //navigating to next page
    public function showNextStep(newIndx:int):void{
    vs.selectedIndex=newIndx;
    //navigating to previous page
    public function showPreviousStep(newIndx):void{
    vs.selectedIndex=newIndx
    ]]>
    </mx:Script>
    <mx:ViewStack id="vs" paddingLeft="0" height="100%"
    width="100%" >
    <mx:Canvas id="s1" label="step1"
    backgroundImage="assets/Step1.jpg" >
    <!-- Step1.jpg image size is width=778, height=560 -->
    <mx:HBox paddingLeft="8" width="780" height="548">
    </mx:HBox>
    <mx:Button alpha="0" buttonMode="true" x="697" y="18"
    click="showNextStep(1)" width="72" height="24" />
    <mx:Button alpha="0" buttonMode="true" x="697" y="508"
    width="72" click="showNextStep(1)" height="24"/>
    </mx:Canvas>
    <step2 id="s2" label="Step2" hideEffect="{blurImage}"
    showEffect="{unblurImage}" />
    <step3 id="s3" label="Step3" hideEffect="{blurImage}"
    showEffect="{unblurImage}" />
    <step4 id="s4" label="Step4" hideEffect="{blurImage}"
    showEffect="{unblurImage}" />
    <step5 id="s5" label="Step5" hideEffect="{blurImage}"
    showEffect="{unblurImage}" />
    </mx:ViewStack>
    </mx:Application>
    // following is the page2 (step2) component code
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    backgroundImage="assets/Step2.jpg" width="778" height="600"
    >
    <!-- Step2.jpg image size is width=778, height=600 -->
    <mx:HBox horizontalAlign="left" paddingLeft="5"
    height="511" width="768">
    </mx:HBox>
    <mx:Button alpha="0" buttonMode="true" x="648" y="6"
    click="this.parentApplication.showPreviousStep(0)" width="61"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="711" y="6"
    click="this.parentApplication.showNextStep(2)" width="53"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="651" y="529"
    width="58" click="this.parentApplication.showPreviousStep(0)"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="712" y="528"
    width="54" click="this.parentApplication.showNextStep(2)"
    height="24"/>
    </mx:Canvas>
    // following is the code for page3 (step3) component
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    backgroundImage="assets/Step3.jpg" >
    <!-- Step3.jpg image size is width=778, height=660 -->
    <mx:VBox width="763" height="668">
    </mx:VBox>
    <mx:Button alpha="0" buttonMode="true" x="644" y="10"
    click="this.parentApplication.showPreviousStep(1)" width="61"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="708" y="10"
    click="this.parentApplication.showNextStep(3)" width="53"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" label="Back"
    x="625" y="590" width="58"
    click="this.parentApplication.showPreviousStep(1)" height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="694" y="590"
    width="68" click="this.parentApplication.showNextStep(3)"
    height="24"/>
    </mx:Canvas>
    // following is code for page4 (step 4),
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    backgroundImage="assets/Step4.jpg" >
    <!-- Step4.jpg image size is width=778, height=773 -->
    <mx:VBox width="762" height="792">
    <!-- User interface -->
    </mx:VBox>
    <mx:Button alpha="0" buttonMode="true" x="644" y="15"
    click="this.parentApplication.showPreviousStep(2)" width="61"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="708" y="16"
    click="this.parentApplication.showNextStep(4)" width="53"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="644" y="710"
    width="58" click="this.parentApplication.showPreviousStep(2)"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="703" y="710"
    width="54" click="this.parentApplication.showNextStep(4)"
    height="24"/>
    </mx:Canvas>
    // Following is code for Page 5 (step 5 ) component.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    backgroundImage="assets/Step5.jpg" width="778"
    height="600">
    <!-- Step5.jpg image size is width=778, height=539-->
    <mx:VBox paddingLeft="170" paddingTop="170" width="778"
    height="522">
    </mx:VBox>
    <mx:Button alpha="0" buttonMode="true" x="654" y="41"
    click="this.parentApplication.showPreviousStep(3)" width="72"
    height="24"/>
    <mx:Button alpha="0" buttonMode="true" x="654" y="486"
    width="72" click="this.parentApplication.showPreviousStep(3)"
    height="24"/>
    </mx:Canvas>
    I am getting vertical scrollbar for page3 and page4,
    please tell me how to avoid this, Is their any other method
    to do this.
    Following is the link for my above code
    http://www.emantras.com/flexdemo/sample.html
    in this application one more problem is also their,
    background image loads very slow, before it loads all the flex
    components will load. So when you open this please wait till
    background image loaded, to move to next and back pages.
    Thanks for your time and consideration.
    Regards
    Avanthika

  • How to made plugin using flex3 application

    Hi   All,
    I am working on transitiom plug-in for  premiere pro cs3 ,using  premiere pro cs3 SDK.
    now i am developing plugins by using adobe flex3 ,application name is transition viewer
    in which when click on thumbnail play the transition on  the text of preview window.this transition
    effect is xml file.
        so,How to popup the above flex application when click on  the folder in premier pro cs3,using  premiere pro cs3 SDK.
    please help me
    Thanks

    Hi there,
    You'll want to display any UI during the esSetup call into the transition plug-in.  This selector will be sent when the user chooses the Custom setup button for the transition in the Effect Controls Panel.  The SDK transition sample already displays a MessageBox() here.
    Regards,
    Zac

  • Session Implementation in flex application

    Hi ,
    I m getting problem in how to implement session in flex
    application.
    Thanks in advance

    I'm not using Flex, but the following preserves session in Flash:
    var url = "http://" + WebServerIPAddress + "/" + ApplicationName + "?data=" + datavalue;
    var cmd:String = "window.open('" + url + "','win','height=768,width=1024,toolbar=no,scrollbars=yes');";
    var request:URLRequest = new URLRequest("javascript:" + cmd + " void(0);");
    navigateToURL(request, "_self");

  • Flex 3 How to recording the voice to the local file.can u help sample souce code

    How to recording the voice to the local file.can u help sample souce code

    What? the link is not opening? Check once properly man.  If you need code here it is
    import flash.system.Security;
    import flash.media.Microphone;
    import flash.events.ActivityEvent;
    import flash.events.SampleDataEvent;
    import flash.events.StatusEvent;
    import flash.utils.ByteArray;
    import flash.media.Sound;
    import flash.events.MouseEvent;
    import flash.media.SoundChannel;
    import flash.events.Event;
    import org.bytearray.micrecorder.encoder.WaveEncoder;
    import flash.net.FileReference;
    var mic:Microphone;
    var soundBytes:ByteArray;
    var recBytes:ByteArray= new ByteArray();
    var sc:SoundChannel;
    var sound:Sound;
    recordBtn.addEventListener(MouseEvent.CLICK, getMic);
    stopBtn.addEventListener(MouseEvent.CLICK, stopRecording);
    playBtn.addEventListener(MouseEvent.CLICK, plays);
    saveBtn.addEventListener(MouseEvent.CLICK, saveAudio);
    function getMic(e:MouseEvent)
    soundBytes= new ByteArray();
    //returns an array that total mics available
    var totalMics:Array = Microphone.names;
    //mic is a singleton class gets microphone to record sound
    mic = Microphone.getMicrophone();
    //Sets the minimum input level that should be considered
    mic.setSilenceLevel(0);
    mic.rate = 44;
    //to capture microphone audio listen for this event
    mic.addEventListener(SampleDataEvent.SAMPLE_DATA, recordAudio);
    function recordAudio(e:SampleDataEvent)
    //capture the byte array data available with the event
    while (e.data.bytesAvailable)
    var soundData:Number = e.data.readFloat();
    soundBytes.writeFloat(soundData);
    function stopRecording(e:MouseEvent)
    mic.removeEventListener(SampleDataEvent.SAMPLE_DATA, recordAudio);
    //set the bytearray position to zero for playing from starting
    soundBytes.position = 0;
    function plays(e:MouseEvent)
    //intatiazle sound instance
    sound= new Sound();
    soundBytes.position = 0;
    //listen for the event when runtime requests new audio data.
    sound.addEventListener(SampleDataEvent.SAMPLE_DATA, playAudio);
    //play the sound with sound channel
    sc = sound.play();
    sc.addEventListener(Event.SOUND_COMPLETE, soundComplete);
    function playAudio(e:SampleDataEvent)
    //if audio bytes is greate than 4 read the recorded byte array data and write it into the sound
    for (var i=0; i<8192; i++)
    if (soundBytes.bytesAvailable > 4)
    var sample:Number = soundBytes.readFloat();
    e.data.writeFloat(sample);
    e.data.writeFloat(sample);
    function soundComplete(e:Event)
    sound.removeEventListener(SampleDataEvent.SAMPLE_DATA, playAudio);
    sc.stop();
    function saveAudio(e:MouseEvent)
    soundBytes.position = 0;
    //waveencoder class used to encodes bytearray data properly used to play properly after saving
    //you can get this api from below link
    //http://code.google.com/p/micrecorder/downloads/detail?name=MicRecorder%201.2.zip&can=2&q=
    var encod:WaveEncoder= new WaveEncoder();
    var byte:ByteArray = encod.encode(soundBytes,2);
    var file:FileReference= new FileReference();
    file.save(byte, “test.wav”);

  • How much recording time on my iphone 4 voice memo?

    How much recording time on iphone4 voice memo?

    I would suggest that it depends on how much free space you have on the phone. I have done voice memos of over an hour before, and have read of other users reporting larger ones. I do not believe there is any documented source of what size you can do.

  • How to show double byte data in a Flex application

    Hi
    I am looking for a way to show UTF-8 formatted data in a Flex
    application. I have a Java app in the backend that generates an xml
    file. Some attributes in the file are encoded in UTF-8 (when data
    is Japanese or Chinese...). My Flex app is showing box characters.
    I have XSLT app that generates html based off this xml file. The
    browser i showing the Japanese characters fine.
    I am wondering what the trick is to get Flex app show this
    data.
    Thanks
    Videoguy

    It turned out to be my XP that didn't have the the right lang
    sets installed. I have two PCs. On one everything showed up fine. I
    was able to view arabic, chinese data from xml just fine. On the
    other one, same swf didn't show them. There is MS knowledgebase
    article on how to enable east asian languages etc. I didn't give it
    a try. I am using other pc for my dev now.

  • How to record my voice by headphone on mac mini

    Hi all,
    How to record my voice by headphone on mac mini. The headphone have a microphone. It can record on window 7, but on mac mini, it's not working.
    I don't know why. Please help me.
    Thanks.

    Open Quicktime Player
    File Menu: New Audio Recording....
    However... if the headphone/microphone combination has two 3.5mm jack plugs (pink and green) then the microphone output (pink) is "mic.level" - which is TOO QUIET for the audio input on a Mac, which is expecting the much stronger "line.level" signal strength.
    Solutions: get a microphone pre-amplifier between the mic and the Mac (not cheap); or a different microphone with a USB interface.

  • How to display pdf file in flex application

    hi,
    I am Ibran, I am using Flex4.5, in that i want to display a pdf file like images.
    How can i do it please anyone tell me.
    I have used navigateToURL(url),but this was going into navigation and i can't see my textfield and buttons.
    So without this  navigateToURL(url) how can i display a pdf file in flex without navigation so that i can see my textInputs and buttons.

    Flash does not have the ability to load/display/manipulate PDF files, so you can't open it directly in the flex application.  With clever HTML and javascript, you can make it appear that it is in the same window, but it will actually be in a separate window/div in the browser.  And yes, this has always seemed absurd to me that Adobe doesn't support PDF's......
    Mark

Maybe you are looking for

  • A VERY IMPORTANT QUESTION !

    In a direcory i want to list files. like you do ls dir_name Suppose in this directory many files are copied after a short interval. ls would show all of them. There are some files larger than expectations and are still in progress of being copied. Ho

  • MS Word docx Import to InDesign 4-5.5

    We are using MS Word 2007 on PC's and importing docx files into InDesign 4 on Macs and getting mixed results. (Sometimes nothing places, somtimes word styles are translated correctly) The problem has not shown up yet (1 days use) with InDesign 5.5. H

  • Looking for high quality 3rd party TTS voices for OSX

    Looking for suggestions for commercial, high quality, 3rd party TTS voices. In the Windows world I was a happy Ivona user, but Ivona does not support Apple products. The best OSX TTS voices I've found so far are from Infovox ... better than the built

  • WRT54GL Disconnection problem!

    Hey all! I am wondering why I ever so randomly get disconnected from my router. I can go for days on end with a consistent connection, and then other times, I will end up getting disconnected a few times a day.  There doesn't seem to be any rhyme or

  • Alternative Calendar suggestions

    I love the UI of the native calendar app for iPad and IPod Touch, but my main qualm is with scheduling events. I would like to use it for planning classes and study times. For example I'd like to schedule "Math" for 3:30-4:30 on Wednesdays and Thursd