Record and play sound in SWF

Hi List,
I have developed standalone applications wherby i want the
give the
user an option of recording voice and then replaying the
recorded
sound. No need to save a file. Just record and listen.
Is it possible to record and play sound in Flash swf-files
without the Flash Communication Server?
If not is there any third party component which can help me
solve this purpose?

No, don't think this is possible without Flash Media
(formerly Communication) Server.
Search these forums though. The question is asked pretty
often, so maybe someone has offered a different answer.
Cheers!

Similar Messages

  • Recording and playing sound input from mic simultaneously in iphone/ipad

    I want to simultaneously record and play the sound from a mic in iphone. As thecricket commentory application.
    Please provide me a solution for this.
    Is this possible in iOs.

    This probably isn't going to sound very helpful, for which I apologise in advance, but I'm afraid it's the truth...
    The only way you stand any way of doing any of this is by using ASIO4ALL, which can aggregate different drivers from multiple devices. But I don't rate your chances too highly, I'm afraid - USB mics have long been the problem child of computer-based audio. On top of that, you are trying to get sounds in and out of a separate device at the same time - not only that, but it's a Creative Labs gamer's device and they are second only to USB mics in terms of the 'difficult' stakes - search this forum!
    A much, much better way to attempt to do this would be to use a sensible ASIO external device with sufficient inputs, and a mic that plugs into it, not a USB one. That way you could route the inputs and outputs appropriately, and use the device's monitoring so that you could monitor what you need to. I wouldn't attempt to do anything like this any other way, I'm afraid. Another approach (which can be made to work well) is to use an external mixer to do most of the work - often it's easier to set up the monitoring on these. You can get mixers with the appropriate interface built-in, and they don't cost a fortune either. Mackie and Behringer make suitable devices.

  • Recording and playing sound

    I am having a problem with sound in my program, it takes information from a TargetDataLine, put's it in a temporary file, then takes it back out of the temporary file and plays it using a SourceDataLine. currently, it does not play back the sound source code will follow in my next two posts.
    andrewjj20

    the play method:
    class Player implements Runnable {
    public Player() {
    public void run() {
    try {
    int bufferSize = (int)(format.getFrameSize()*rate*1);
    byte[] bytes = new byte[(int)bufferSize/12];
    lineOut.open(format,bufferSize);
    stopS = false;
    recording = false;
    playing = true;
    if (debug) {
    print("playing");
    status.setText("Playing");
    lineOut.start();
    while (!stopS) {
    if (in.available() != 0) {
         if(lineOut.available() != 0) {
         in.read(bytes);
         lineOut.write(bytes, 0, bytes.length);
    } else {
    stopS = true;
         resetGUI();
    lineOut.drain();
    lineOut.stop();
    lineOut.close();
    lineOut = null;
    stopS = false;
    recording = false;
    playing = false;
    status.setText("Done");
    if (debug) {
    print("Done");
    } catch (LineUnavailableException ex) {
    error("I can't acces the nessesary audio functions now");
    } catch (IOException ex) {
    error("Error communicating with the file.\nABORT!!! ABORT!!! ABORT!!!");
    }

  • Lost Mode and Play Sound are "Pending."  However, iCloud indicates that it connected and backed up to iCloud at a date that is 1 week after it went missing.  How is this possible without locking (Lost Mode Pending an internet connection)

    Hi,
    My wife lost her iPhone two weeks ago while on vacation in London (cell service inoperative in foreign country).  Using Find My iPhone app on my device, I activated Lost Mode and Play Sound.  However, both are listed as "Pending," since it those actions require the phone to connect to the internet (wifi only due to no cellular data coverage.).
    We recently returned home and purchased a new iPhone.
    However, when looking to restore the apps/settings from her old phone using a previous iCloud backup, iCloud indicates that the old phone connected to iCloud and backed up the original phone at a date that is 1 week after it went missing.  How is this possible without locking (Lost Mode Pending an internet connection)?
    If the phone was activated and connected to the internet via a wifi signal, shouldn't it immedately lock, show up on the map, Play Sound, and send me an email that the phone has been found?
    I also read somewhere that if running iOS 7, the iCloud website interface enables you to track previous locations, for instance if the phone moves from wifi hotspot to hotspot.  Is that true?  If so, how do I do that?
    Thank you for your time, and have a great day!
    Sincerely,
    - Matt

    just giving this a wee bump as time is of the essence here and i need advice/ answers quick!
    apologies if i've broke any rules!
    alex

  • Uploaded my pictures from my iPhone to my MacBook- Some of the videos I made show that they imported and play sound, but no picture- are they gone?

    I Uploaded my pictures from my iPhone to my MacBook… Some of the videos I made show that they imported and play sound, but no picture… are they gone?Becuase they offer to delete what was imported, so to save space i did... Is there anything I can do to restore the picture?

    Do your videos play in QuickTime Playerwhen you reveal one of them in the Finder with "File > Reveal > Original"? Try to open the revealed movie in QuickTime and see if it plays.
    Check the format of the movie. You can see it in the Inspector in QuickTime Player from the "WIndow" menu: Window > Show Inspector.
    iPhoto does not support all movie formats and codecs that QuickTime player can play, and not all frame rates.
    See: Using AVCHD video with iPhoto '11
    If the movie does not play in QuickTime Player either, install QuickTime 7 for more codecs.

  • Recording and playing back

    Hi, I have question about recording and playing back.
    I am going to record by AudioQueue and to play back by MPMoviePlayerController.
    My code can record by AudioQueue.
    But, It can not record After playing back by MPMoviePlayerController.
    Is Anyone who had same problem and solved it.
    Please tell me resolution method.

    Hi
    Welcome to Apple Discussions.
    We don't get very many questions about Core Audio here so if you don't get any response, you can try the Apple emailing list for Core Audio:
    [email protected]
    The list is very friendly and I'm sure someone there will be able to answer your question.
    Bob

  • Is it possible to record and play at same time in swift, is there a option to record without storing the file

    I am making a microphone, is it possible to record and play at same time in swift, is there a option to record without storing the file

    Its pretty simple with FMS. You just need to do following things:
    Publish using FMLE with following settings: (just telling which are needed , rest you configure based on your needs)
    Video codec: H.264
    Audio Codec: <of your choice>
    Server ip: rtmp://<server-uri>/<app-name>
    Stream Name: mp4:<stream-name>.f4v
    Application : Server-side code
    application.onPublish = function(myclient,mystream){
         mystream.record();
    application.onUnpublish = function(myclient,mystream){
         mystream.record(false);
    Have a client , which subscribes in following live mode:-
    ns.play("mp4:<stream-name>.f4v",-1,0,true);   // this is subscribing in live mode
    In this way even if file is recorded, your clients are subscribing in live mode so all will be in sync.
    Now if you want to disallow any clients who will try to subscribe to "recorded" file when live event is going on, you can achieve using auth adaptor. (let me know if you want to enforce such requirement)
    But i think above solution solves your primary problem. Also please let me know if there are any issues in getting it work , i have given bare minimum which is required.

  • Please help me with recording and playing audio simultaneously!!!

    Right now I can either play the incoming stream OR record it. I tried making Clones for datasource like :
    DataSource clone1 = Manager.createCloneableDataSource(originalSource);
    Then I pass it to these 2 classes:
    new playThread(clone1).run;
    new recordThread(clone1).run;
    playThread is a Thread class that will take the cloned datasource and then plays it while recordThread will record the incoming datasource. Here is what happens when i run them one after another:
    When I run playThread before recordThread I get ACM driver error. But if I run the recordThread before playThread the playThread's playerWindow shows up and plays for a split second then stops; The recordThread does record all the incoming stream though... Here are my questions....
    1. Anyone know what my problem is? is it resource alocation? Threading problem?
    2. Did I use the clone datasource correctly? I tried making clone1, clone2 but those didnt work well either...Should I do anything to the clones for record and play? all I did was pass them to the 2 classes and those classes just use them straight out without proccessing or anything...
    Please help me out!!!! thanks a bunch!

    i dont think it is... i tried the clone thing but samething happened... it might be a Thread problem since when i put those together sometimes record runs sometimes player runs... and at the end i get "ERROR while querying ACM driver's information" error..... i am really confused...
    DataSource clone1 = Manager.createCloneableDataSource(originalSource);
    DataSource clone2 = Manager.createCloneableDataSource(clone1);
    playerThread play= new playerThread(clone1);
    recordThread record= new recordThread(clone2);
    record.start();
    broad.start();
    anyone can help is appreciated

  • Recording and playing Audio at the same time

    Hi,
    Having problem with a MMAPI imp.
    The simplest way of doing it is to start one thread playing a audio file of any kind.. As it is playing start a other thread that start a audio recording.
    As soon as the audio recording is allowed to record (Security promt) the audio playback stops. And the playerListstner sends a END_OF_MEDIA event.
    So my question is: Is there a way of doing playback and recording at the same time or is this a limit on the phone or the MMAPI?
    This has been tested on Nokia N90 and SE W550i with same reults
    Cheers
    Kenth

    i also desperately need to record and play audio at the same time.. i have a term project, i am develeoping a karaoke player in j2me and it is supposed to capture the voice at the same time background song is played.. and it is also supposed to grade the singer according to the pitch of voice.. please help me about recording and playing audio at the same time...

  • Recording and playing audio files

    hi, is there a way by which one can record and play an audio file in java ?? I am doing a project in Voip but I can't find any help in this matter(actually i am a newbie in java ) .. can anyone please tell me how to proceed?
    Edited by: streetfi8er on Jun 28, 2009 2:47 AM

    >
    hi, is there a way by which one can record and play an audio file in java ?? I am doing a project in Voip but I can't find any help in this matter(actually i am a newbie in java ) .. can anyone please tell me how to proceed?>You could not find anything on ['java audio'|http://lmgtfy.com/?q=java+audio]? Where did you look, underneath the bed and in the back yard?
    Note that you might help dispel my impression that you are lazy, by applying the shift key once at the start of each sentence.

  • Recording and playing back swfs

    I'd like to provide a users on my application the ability to record and playback what was on the swf. I can see how to capture from the camera but can't see any way to record the swf and save it as a swf (without each user buying a screen capture package).
    So I thought I might just record the basics (x,y,height,width,depth,alpha,rotation) of all the major MCs in the display list several times a second, save the details in an array and then allow the user to play the array back, creating and destroying MCs as necessary. This would be sufficient and quite efficient.
    The problem is when I loop through the display list looking for the 'object.name' of each mc I just get 'instance1, instance2' etc. I can't use that to extract the appropriate MC out of the library when I playback. How do I get a consistent name that refers to the item in the display name and the library item that I can use it to put it on stage?
    Also is there a way to create a list of all the MCs in the library?

    Just assign the objects names when you create them then use getChildByName to retreve them.
    f
    import flash.display.Sprite;
    import flash.display.DisplayObject;
    var container:Sprite = new Sprite();
    var sprite1:Sprite = new Sprite();
    sprite1.name = "sprite1";
    var sprite2:Sprite = new Sprite();
    sprite2.name = "sprite2";
    container.addChild(sprite1);
    container.addChild(sprite2);
    var target:DisplayObject = container.getChildByName("sprite1");
    trace(container.getChildIndex(target)); // 0

  • Recording and pasting sounds in OSX, a better way?

    I have not tried doing this before but another poster wants to add audio notes in Pages.
    When I researched this, in itself a painful task, it seems the only way to record is via QuickTime Pro and to export it and massage it into shape before going a round about route to bring it into Pages.
    I can't believe it is this bad!
    I also noted a few GUI gaffes along the way.
    Please tell me the whole process of simply recording and pasting a sound has not completely gone backwards since Mac OS9?

    orangekay.
    None of what you are saying advances the issue at all. All you are doing is denying that it is useful or saying that you personally wouldn't use it.
    The original O.P. is a Professor who uses audio comments because it is fast and personal. Which is his choice.
    It should not be a Pages function to record and place the audio, that should be a system one. The first part was already better managed and obvious over a decade and a half ago.
    I sourced him a range of 3rd party software that could do the recording for him, only one of which would add it into the location (I'm not sure how cleanly). Only one of these was free, the rest were pricey.
    I was personally astonished, even though I have encountered other such kludges in OSX, that Apple has made the simple act of recording audio so awkward and concealed. It is yet another example of how unfamiliar the OSX programmers are with elementary good user design. Also that despite many features are thrown into the system, they are unfinished and essentially useless.
    In the process of testing a method of achieving the end result in Pages, I tested a recording by playing it in the media browser. The play button doesn't even toggle to a stop button. Doesn't anyone at Apple look at how it is done anywhere else in the System?

  • Recording and Playing

    Hello
    I have a problem. I have one session of Audition recording and other session playing in the same PC. When I switch from one to another. both stop working.
    I can have 2 sessions opened, one recording and one playing at the same time and I can switch from one to another, with audition version 1.5, and both continue working.
    Thanks for your help.

    In Audio Hardware setup, take the check out of the box that says 'Release ASIO driver in background'. It's not an issue with 1.5 because this doesn't use ASIO, but every version beyond that does.

  • 1120 error when attempting to load and play sounds

    I'm attempting to load and play a sound (which seems quite
    basic) but I am getting an 1120 error. Could anyone please help me
    figure out what I'm doing wrong?
    var hitSound:Sound = new Sound();
    var reqHitSound:URLRequest = new URLRequest("myAudio.mp3");
    hitSound.load(reqHitSound);
    hitSound.play();
    1120: Access of undefined property hitSound
    1120: Access of undefined property reqHitSound

    Yes, the mp3 is good and the path is correct. I'll put my
    complete code below.
    The error I get is:
    1120: Access of undefined property hitSound. (line 14 -
    hitSound.load(reqHitSound);)
    1120: Access of undefined property reqHitSound. (line 14 -
    hitSound.load(reqHitSound);)
    1120: Access of undefined property hitSound. (line 15 -
    hitSound.play();)
    Its almost like the code doesn't feel I've really defined
    hitSound as a Sound.
    Help please? Am I missing a component?

  • Can I Dynamically Link and Play Sounds?

    I am building a morse code training program for my Ham Radio
    Club. I am wondering how to script the code that would allow the
    user to type (via a virtual keyboard on the program interface) a
    sentence, linking each dynamically selected letter to a sound file
    (MP3), and then play the setence in morse code when the play button
    is selected? Displaying the typed text in a dynamic window is the
    easy part, but linking each selected letter to a sound file, and
    playing them in sequence is where I am stuck.
    I cannot find any help for this type of script via manuals
    and help files. Thank you in advance for your help.
    Sincerely,
    David, WD8PUO

    if you are going to encode punctuation, in addtion to
    alpha-numeric characters you should probably invest the time to
    create an associative array. i'll explain that if that's the route
    you take.
    in any case, you'll want to import into your library as the
    character sound files that you'll need. you'll want to give each a
    linkage id and you'll want to pick this wisely to ease your work
    later.
    you'll want to use the onChanged property of your input
    textfield to store all the linkage ids (this where the associative
    array would be used and/or your clever choices used in assigning
    linkage ids) in an array.
    you'll create a sound object from the flash sound class. when
    the submit button is pressed you'll initialize the index of your
    array that contains your linkage ids, you'll attach the
    corresponding sound and apply the start() method of your sound
    object.
    you'll create an onSoundComplete method for your sound object
    (and you'll probably want small delay in executing this next step
    so there's some silence between characters) where you'll increment
    your index and attach the corresponding sound and start it.
    you are done.
    don't forget to include a sound that corresponds to a blank
    space. ie, silence for some amount time to indicate a new
    word.

Maybe you are looking for

  • Can i export an album from iphoto to a memory stick with the album title to identify the the file

    I would like to put my photos as per album on to a memory stick, can this be done with the named albums, so I can highlight the album then open the chosen title and then select the chosen photo, I only have iphoto on my mac and have a 32GB memory sti

  • PSM-FM-Reversal of funds management document after change in acc.assignment

    Good day we recently went live with a component of Funds Management i.e. Availability Control on Cost centers and cost elements. We update BCS with the plan values and actual/commitment items in Finance/CO. We do our planning in CO. The solution is w

  • "Download Error" on "Apps" screen

    I have tried downloading and installing Adobe Creative Cloud several times in multiple browsers now, but every time I go to view the "apps" screen I get a "Download Error" on the screen. I have tried downloading the program in both chrome and IE and

  • Sdk 4.6 mobile viewMenuItem

    Hello, I was using sdk 4.5 with view that contains: <s:viewMenuItems>         <s:ViewMenuItem label="Ocorrência de Não Venda" click="viewmenuitem1_clickHandler(event)" id="menuItem"/> </s:viewMenuItems> Until flex 4.5  this works perfect in my androi

  • CFSELECT  bind to cfc

    I copied the cfm and cfc code directly from livedocs for CFSELECT. When I run it, nothing happens. When I view the javaScript console I see the error _31c has no properties in file CFIDE/scripts/ajax/package/cfajax.ja line:1264 Which is : if(typeof (