Record mic using SampleDataEvent only works on some computers.

I did a swf file that records your microphone and allows you to read.  I load the soundBytes in a float and re-read the float.  It works fine on the computer, that I developed it on (in IE, Chrome and Firefox).  It does not work on my second laptop.  And a few people in some forums have said that is not no longer works.

Here is the file.  http://www.buttonbeats.com/images/MicCapture.html

Here's the code.  I need some plugins in addition to the flashplayer?

micRec.addEventListener (MouseEvent.CLICK, recordMic);

function recordMic(event:MouseEvent) {}
micRec.x = - 250;
stopRecord.x = 0;
const DELAY_LENGTH:int = 4000;


var mic:Microphone = Microphone.getMicrophone ();
mic.setSilenceLevel (0, DELAY_LENGTH);
MIC.gain = 80;
MIC.rate = 40;

mic.addEventListener (SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);

stopRecord.addEventListener (MouseEvent.CLICK, SREC);


var soundBytes:ByteArray = new ByteArray();

function micSampleDataHandler(event:SampleDataEvent):void
{
While (Event.Data.bytesAvailable)
{
Sample number: var = event.data.readFloat ();
soundBytes.writeFloat (sample);
}
}

function SREC(event:MouseEvent):void
{

stopRecord.x = - 250;

mic.removeEventListener (SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
soundBytes.position = 0;
var sound: Sound = new Sound();
sound.addEventListener (SampleDataEvent.SAMPLE_DATA, playbackSampleHandler);
soundPlay.addEventListener (MouseEvent.CLICK, SP1);
function SP1(event:MouseEvent) {}
soundBytes.position = 0;
Sound.play();
}
}

function playbackSampleHandler(event:SampleDataEvent):void
{
for (var i: int = 0; i < 8192 & & soundBytes.bytesAvailable > 0; i ++)
{
Sample number: var = soundBytes.readFloat ();
event.data.writeFloat (sample);
event.data.writeFloat (sample);
}
}
}

you need fp 10.  What version of problematic player?

Tags: Adobe Animate

Similar Questions

  • Scanner only works on some computers

    I recently bought a Canon LiDE 220 scanner which is supported by El Capitan according to apple of supported scanners page, but whenever I try to scan on my computer it says "Scanner reported an error. Cannot communicate with scanner ". I installed the Canon software before you try to analyze, and I wonder if that's a problem because it works on two MacBook Pro (Non-retina display) without the Canon software. I restored my computer from a time machine backup I made before I installed the software, and I still had no luck. Any ideas?

    So in summary:

    Does not work on MacBook Pro (Retina Display) OS X El Captain with or without software and drivers from Canon.

    Does it work on MacBook Pro OS X El Captian without Canon software.

    I tried to use a snippet, page printers and preferences system, Capture of Image Scanners and scanner Canon proprietary application all to nothing done.

    Has anyone run into this or know why it works on some computers, but not mine? I love a fix or work around.

    Thanks in advance

    Hello Mos Fett,

    Welcome to Apple Support communities.

    Looks like one of your MacBook Pro has a communication problem with your scanner, and you have tested the device with multiple applications and drivers.  If you haven't already done so, try to run through the printer General troubleshooting tips in the article below.

    Get help to solve the problems of printer on your Mac - Apple Support

    If you have another question of impression

    These steps may resolve with no other obvious cause printing problems:

    1. Open the Printers & Scanners System Preferencespane, then select your printer and click the minus (-) to remove the printer from the list.
    2. Follow the steps described in the previous section to add your printer.
    3. If the problem persists, reset the printing system, then follow the steps in the previous section once more.

    If the issue is not resolved, these final measures to avoid that any currently installed printer drivers:

    1. Reset the printing system again.
    2. Rename the file to/Library/Printers:
      • From the Finder, choose go > go to folder. Then type /Library and then click OK.
      • Click once on the back of the printer to select, and then press ENTER to start to rename the folder. Type Printers-old , and then press ENTER to save the new name.
    3. Follow the steps in the previous section once more.

    If the problem persists, you can use the information in this article to further isolate and solve the problem:

    Insulation in Mac OS X - Apple support questions

    See you soon.

  • sound only works on some programs

    sound only works on some programs able to get on wmv, audio mp3, all sound tests but still unable to hear any sound on all links. The problem started when the sound volume icon disappeared from the taskbar, also the expander to the taskbar control disappeared at the same time. Place the volume in the taskbar icon is enabled, the icon is still missing from the taskbar. In Manager devices under IDE ATA/ATAPI controllers, that I had 2 primary and 2 secondary channels, try updating the drivers 1 primary and 1 secondary driver do not have be updated because they were later. Other primary and secondary drivers have been updated and listed as primary channel VIA ATE & secondary channel VIA ATE. Both these have an error this device does not work properly because Windows cannot load the drivers required for this device. (Code 31). Tried to uninstall & reinstall nothing doesn't. Can anyone help thank you FOR

    Well, punctuation, capitalization, and enablers would help make your readable phost!

    Do you mean that you have no web sounds? If so, make sure "Play web pages" or similar is verified in any browser you use.
    What did you win by dating the ATA drivers?
    You must identify your audio driver and the update.
    Go to the website of your computer manufacturer and obtain the correct drivers from there. If you PC, then go to the MB manufacturers website and get the drivers from there.
    Code 31: you managed to corrupt your audio drivers. Do as above.
    See you soon,.
    Jerry
  • Form with active user rights only works on some machines.

    I created a pdf file that contains video media. For this I have attached an acrobat form created with extended user rights. When send a certain number of respondents, some are able to open and fill out the form, and then return the form (in pdf format) while others experience a message "this operation is not allowed.

    The pdf of media is created in Acrobat 9 pro on the Windows XP platform and the form in Acrobat as well. The form has three drop-down menus and the three fields to fill.

    If the form is sent on its own, everyone is able to access.  It is only when the form is sent as an attachment to the pdf of video media that this is a known issue. The pdf file must be retro-compatible with Acro7.

    My problem is that I do not understand why it works with some and not others. (These are not coprorates but people.)

    You will appreciate the help. Date deadline has passed.

    For use with Acrobat you don't need extended Forms user rights.

  • Wi-fi/lan connection only works on some devices

    Hello... I have problem with wi-fi/lan connection. I work in a school with about 100 children. The problem is that some computers/phones/laptops can connect normally to a connection wi-fi/lan but some cant. The internet icon actually shows normal connection, but you cannot browse the internet. When this happen the only thing I can do to help temporarily change the mac address of the device with software changing Mac and which usually resolves it. So maybe the problem is that too many devices are connected at the same time or mac addreses interfere with each other or something. I have tried almost everytnig, reseting routers, change the settings of the router, changing channels, etc. of mac filtering... It was working fine before. Maybe you can help. P.S. Sorry for my bad English :)

    Hi Mark,

    I suggest you to ask your question in the TechNet Forums, where we are the support technicians who are well equipped with the knowledge on networks.

    You can check this link to post this request.

    https://social.technet.Microsoft.com/forums/en-us/home?Forum=w7itpronetworking&filter=AllTypes&sort=lastpostdesc

    Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.

  • sharing is only working for some websites of Internet connection

    Wi - Fi my laptop is steady as a rock, but the wireless adapter I have for my office to cancel very often, so I decided to connect both via an ethernet cable and use internet connection sharing so that the Office can enjoy wireless laptop. Both computers have Windows 7 Home Premium installed.

    The Installer seems to work, but only for some Web sites - for example, it has no problem to connect to google and microsoft.com using ICS, but he absolutely refuses to connect to facebook but also many other Web sites. My laptop has no problem connecting to websites that my office cannot connect, so I'm puzzled as to why it seems to be able to relay connecting to some Web sites, but not others. Can someone help me understand what is happening here, so that I can access more than just pieces of the internet on my desktop?

    I'm sorry, but you can understand how annoying it can be when someone does not even time to read your question and posts nothing but completely irrelevant, canned solutions (who would would realize that they were not relevant if they had taken the time to read it instead of just copy - paste * based on the title of the post). It's worse than no help at all, because then people who might bring if not actually useful assistance will see oh, "this question has already been answered" and move to one that was not. In any case, I'll try to ask in this forum. Thanks for the suggestion.

  • ReadOnly True or False using PPR - only works vertiables, false Read only is not

    I use PPR to set the attribute read-only a bean of messageTextInput in an advancedTable through the value of a checkbox (PaySite) on the same report of the VO.  This check box is selected PPR.  The VO has an EO attribute supported for the checkbox, as well as a transitional attribute named ReadOnlyPaySiteCBRNum.  The bean messageTextInput declaratively bound to the transient VO attribute with "${oa." XxmclApSuppliersVO1.ReadOnlyPaySiteCBRNum} "assigned to its read-only attribute.

    In the VORowImpl method of setPaySite for the box does the following to set the transient attribute associated with the attribute read-only the messageTextInput bean.

    public void setPaySite (String value) {}

    setAttributeInternal (PAYSITE, value);

    If (value.equals("Y")) {}

    setPaySiteCbrNum("");

    setReadOnlyPaySiteCBRNum (Boolean.TRUE);

    }

    else {}

    setReadOnlyPaySiteCBRNum (Boolean.FALSE);

    }

    }

    When the page is run it automatically displays the records.  Any document that does not have the enabled check box also indicates the field of messageTextInput updated as expected.   If I check the Site pay the VO setPaySite method is executed, and the messageTextInput field becomes read-only.  If I uncheck the box Site pay the setPaySite method is run again and the setReadOnlyPaySiteCBRNum (Boolean.FALSE) is called, but the messageTextInput field does not have to be updated as expected.  If I update the data after you apply this change, given that the value of the checkbox is now disabled, the messageTextInput field is updatable.  PPR is partially working in this case, and I don't know hwy it does not completely work.

    Any ideas?  I'll be sure to mark any useful answer or appropriate as such.

    Thank you

    I found a work around.  I added the code in bold and italic , and it works.  BTW, I'm on R12.1.3.

    public void setPaySite (String value) {}

    setAttributeInternal (PAYSITE, value);

    setReadOnlyPaySiteCBRNum (Boolean.FALSE);

    If (getPaySiteCbrNum (.equals(""))) {}

    setPaySiteCbrNum("");

    }

    If (value.equals("Y")) {}

    setPaySiteCbrNum("");

    setReadOnlyPaySiteCBRNum (Boolean.TRUE);

    }

    }

  • Create Bluetooth earpiece function only works in some cases

    The function create a listener Bluetooth generates an ID of listener that lets wait for an incoming connection of Bluetooth. Because every time that you run a VI that contains this function, it must create a new listener ID, otherwise the block following that wait on the listener will crash.

    I found that for the listener to create function work properly the entry that the Service Description must be connected to a control element. If its connected to a constant run only once, then creating a new id of the listener, but she keep this id indefinitely. In this case, you will need to close all the screws and reopen to be able to run the function again.

    (See attached VI for an example.)

    Can someone tell me, why is this? Is there a difference in the compilation/execution screw using controls instead of constants?

    Thank you!

    I could reproduce the error. I presented a report to R & D. I'll let you know when I get a response from them.

    For now, you can try using a control instead of a constant and make it invisible in the façade.

    Kind regards

    Georg

  • Problems with Firefox 13. Cannot see the drive of audio files online. Video only works on some sites. Everything works OK or update Flash. No change

    The problems started when Firefox updated 13. tried to download the latest version of Flash 11.2.202.235. No change.

    Video works sometimes on YouTube, not at all on most of the other sites.

    Audio player not working do not at all. Not yet visible or Real Player downloads against playing within the application like Amazon.

    Tried to turn Add ons to find the culprit. No luck.

    Just as there should be in Internet Explorer.

    On my WordPress site has MP3 audio files and uses a flashplayer to view and play music files. With flash player on, nothing appears, (Bank space where audio player would normally displayed)

    If I turn off the flash of the shock wave, a text link that Downloads MP3 in a new window (quick player), also video does not work on any Web site. If I turn off the Flash and quicktime, text link to downloads of audio file in realplayer.

    Thank you. I uninstalled Flash 11.3 and installed the old version, 10.3. Everything works fine now. I don't know if it is a problem of Mozilla or Adobe, but it seems strange that either would such a problem of incompatibility to exist.

  • DateTime liquid switch only works on some browser form input fields

    I have a form of agreement where I would like to have the current date is displayed only (readonly) in the form of entry.  This will display the date perfectly well a range of browsers and OS but my client always reports that the form field displays the date + time (22-June-2015-12:00). Apparently, it still shows 12:00 for the time. I was unable to reproduce it in any of my tests with several browsers and operating systems.

    That's what I wrote to add the date:

    {% assign dateVariable = {{globals.site.dateNow | date}} %}}

    < b >

    < td >

    < label for = "CAT_Custom_19994415" > Date of acceptance < span class = "req" > * </span > < / label > < br >

    < input type = "text" name = "CAT_Custom_19994415" id = "CAT_Custom_19994415" class = "cat_textbox" readonly = "readonly" = value "{{dateVariable |}}" {{date: '%d - MMMM-yyyy'-}} ">"

    < table >

    < /tr >

    Must I add another filter to indicate to the server does not add a time in there? Or maybe add some Javascript for him say look for a while and remove it?

    Any help would be much appreciated.

    It's weird.

    It will not be something to do with the browser because liquid is script server-side and today's date is server only side not the client side too.

    | date displays only the date but not the time, and I did not add time.

    I do not notice on your input field you after the aaaa: a dashboard - that needs to go just in case where but I don't think it would be. You need javascript.

    Remote connect to your computer for customers to watch what they see, never take a customer what they say on face value.

  • After copying the files to a CD, the CD will not work in stereo regular... it only works on other computers. Is it a kind of formatting, I need to do to get the CD to work in my car stereo?

    I just want to know how get a CD I save the wrong files to Windows Media Player 9 to work in my car radio...? Do I have to format the drive somehow? I just want to rock in my car!

    Hello

    Burned CD does not not in car CD player
    http://www.andybrain.com/archive/MB/burned_cd_in_car_player.htm

    Why the CD player in my car does not play the CD that I burn?
    http://www.Microsoft.com/windows/windowsmedia/KnowledgeCenter/mediaadvice/0091.mspx#EKF

    Check with the experts here
    http://Club.myce.com/

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Apple Mail only works when I restart in "safe" mode otherwise it becomes crazy, using all the capabilities of the CPU.  Seems to be linked to the case.  Any help?

    Apple Mail only works when I restart in "safe" mode otherwise it becomes crazy, using all the CPU capacity without any correct output.  Seems to be connected with caches.  Any help?

    Generally, if your Mac works correctly in Mode safe, but not normally, then you have a third-party software that runs at the start of the origin of the problem.

    Safe mode disables most of the extensions of third-party startup and some Apple hardware, so it could be another problem for Apple, but I have never heard of your problem.

  • Hello, I have Lightroom version 5.7.1 I use no clouds at all. However, I just bought a class of Adobe's Lightroom, and it includes downloads that only works on a new version of Lightroom. As a result, I can't enjoy the great progress

    Hello, I have Lightroom version 5.7.1 I use no clouds at all. However, I just bought a class of Adobe's Lightroom, and it includes downloads that only works on a new version of Lightroom. Therefore, I can't take advantage of the excellent program, I bought (editing of Photo of Ben Wilmore Adobe® Lightroom® CC: The Complete Guide) unless I update.

    I resisted doing what I am on a fixed income and do not service CC. Unfortunately, I have a problem. How do I most cost effectively upgrade my version of Lightroom?

    LR CC and LR 6 are the same program other than some missing features to 6 LR6 is a standalone program. You are able to go to Adobe website LR6, so you should be able to use the course. We must look carefully because they want to subscribe, but it is available!

  • users cannot save .pdf, .doc files using "Save target as" in google search results. Can someone help me, I couldn't have known that the same works very well on some computers.

    I am the Director of technical support for more than 1000 computers. Recently in some computers (windows based) users cannot save .pdf, .doc files using "Save target as" in google search results. Can someone help me, I couldn't have known that the same works very well on some computers.

    Hi MASPAdministrator,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP forum.

    http://social.technet.Microsoft.com/forums/en-us/itproxpsp/threads

  • Multimedia file sharing only works if the two devices are connected using the same protocol

    So I'm frustrated!

    I spent an hour trying to get my Windows 7 computer to share my music with my XBox 360. I have two machines on my network, one connected by Ethernet to the router and the other connected by WiFi. I tried everything I could find online to get the WiFi connected machine appears in the "Music Player" on my XBox system - follow all sharing, make sure that my router has UPnP, restarted a bouquet of services, etc..
    Nothing! During this time, my machine connected to Ethernet was watching me in the face. He has appeared on the XBox without problem. I started to compare the settings on both machines and found no difference.
    Then I remembered, boredom, I had setting up WiFi sync for Windows Phone my wife. In fact, it was this session of troubleshooting that lead me to put this machine on the WiFi in the first place! Seems to set up WiFi sync, Windows Phone and the target of the machine must be, not only connected to the same network (obviously), but for some reason any the $ @$ crazy, both connected by WiFi. I just connected this computer by WiFi - not happy, a faster speed with my wired connection - and immediately fixed the problem itself.
    Then, remembering that, I moved my XBox WiFi network and - presto - my second machine appears without a problem.
    My question is... WTF! ???
    This is ridiculous - this is the same network! Why things must be connected using the same protocol?

    Hi, Edward Petersen,.

    Please contact the Microsoft community. I'll help you solve the problem with sharing music using media sharing.

    Some routers isolate the cable connections and wireless, you can check if you have the option in the configuration of the router to share media

    If the problem occurs, you can contact the router manufacturer for assistance.

    Hope this information helps. If you need help with Windows, simply reply that we will be happy

    to help you.

Maybe you are looking for