Flash :: Detect If A New Microphone Is Available?

Jun 1, 2011

It appears that if one has a mic available, then one can add an event listener for the StatusEvent. However, this only tells you if the mic has been allowed or disallowed.

What I'd really like to do is detect if the static Microphone.names property changes. I would have expected this property to be bindable.

If I right click and select "settings" immediately after plugging in a mic, I can see that flash has updated their list of available microphones. However, there seems to be no way in code for me to receive the same update.

The docs say "Calling Microphone.names requires an extensive examination of the hardware, and it may take several seconds to build the array." So I think polling this every few seconds is not a feasible option.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Detect Connection Of Microphone?

Jan 2, 2012

I want to check whether the microphone is connected to the system or not. If not, it should display a warning message and not allowed to record anything. All this should be done through actionscript3.0.

View 3 Replies

Flex :: Detect Activity Level Of Microphone?

May 23, 2010

I have to detect avtivityLevel of microphone in Flex. I am using the activityLevel property of Microphone class but as I found out it always return -1 even if I have done Microphone.getMicrophone(). To detect activity level we have to set microphone.setLoopback = true;

how to do this without using loop back as I do not want to hear my sound back just monitor the activity level

View 1 Replies

Flex :: Detect The Microphone Activity Level

Apr 7, 2011

i am trying to detect the microphone activity level. In windows XP, it's returing the activity level. But in windows vista, even if the mic is not connected it's returning an activity level. has anyone come across like this.what is the problem?

View 1 Replies

ActionScript 3.0 :: Detect Input Audio Tempo Via Microphone?

May 22, 2009

Is it possible for Flash to detect the tempo of audio coming through the microphone (ex. - someone singing into the microphone or playing music on their computer)?I am trying to figure out whether this is possible.

View 2 Replies

ActionScript 3.0 :: Detect The Privacy Dialog Box For Allowing/denying Microphone Access?

Oct 21, 2010

Is there a way to detect the privacy dialog box for allowing/denying microphone access has been selected/closed (so sound recording can be started)?

View 1 Replies

Media Server :: Microphone Activity Level At -1 Even Though Microphone.getMicrophone() Is Called, Why?

Oct 7, 2009

I'm setting up an application where I need to record users' voice every so often during the course of the users' interaction with the application.  Recording is fine, and the quality is fine, but now my issue is understandng how Flash handles the microphone when it gets attached to a stream for publishing.Basically, the problem is that when I "publish" my stream, the voice gets cut off (clipped) at the beginning.  So, I initially thought this may have to do with buffer settings on the FMS server side, but it wasn't. Then I investigated client side stuff.  For some reason, my internal mic .activityLevel property is -1 even though I have called Microphone.getMicrophone().  According to Flash's documentation, this shouldn't be the case:
 
activityLevel    propertyactivityLevel:Number  [read-only]Language Version :     ActionScript 3.0Player Version :     Flash Player 9The amount of sound the microphone is detecting. Values range from 0 (no sound is detected) to 100 (very loud sound is detected). The value of this property can help you determine a good value to pass to the Microphone.setSilenceLevel() method.If the microphone is available but is not yet being used because Microphone.getMicrophone() has not been called, this property is set to -1.I am using a timer to investigate the microphone .activityLevel property every 50 milliseconds:
 
package
{
import fl.controls.Button;
import fl.controls.TextInput;[code].....

View 1 Replies

Javascript :: Access The Microphone Without Flash?

Oct 17, 2011

Is there a possible way to access the computer microphone from a web document (open in a browser) without have to go through Adobe Flash ?

View 1 Replies

Flash :: Using Microphone To Interact With Webpage?

Dec 8, 2011

I am looking for advice how to set web pages where user can interact with it using microphone. The aim would be that user can say word and the word would be recorder and the file compared on server with another sound (word) and then the result (the searched word) would be displayed. It would be a spoken dictionary.

View 2 Replies

Post Microphone Input From Flash To Server

Apr 5, 2010

We're trying to get microphone input in a Flash movie and the post it to the server so it can be saved in a file.

Currently, we're using PHP in the server, but I guess the key thing here is: How to post the audio to the server?

After a post is made, then I guess it'd be a matter of handling the encoding and saving to a file, which can be done with pretty much any server-side language.

View 1 Replies

Php :: Export Microphone Recorded Byearray As Wav Or Mp3 From Flash?

Jul 30, 2011

exporting a bytearray to a wav or mp3 (or anything that runs!) from my flash code to my php page. I am using microphone recorder to record voice, i use a a url request to send my ByteArray to my PHP page.i send the bye array from flash like this:

var url = "http://localhost/wordswesay/uploads/testrec.php";
var header:URLRequestHeader = new URLRequestHeader ("Content-type", "application/octet-stream");
var request:URLRequest = new URLRequest(url);

[code]....

at the server side (the sime file as the php script) i get the test.wav with about 200kb of size but i can not play it! media players says it can't play this file as the codec might not be supported.

View 1 Replies

ActionScript 2.0 :: Getting Audio From Microphone Using Flash Interface?

Jul 16, 2008

In my project i need to get the data from the microphone and webcam to upload in the webserver. how to get the data from those devices

View 1 Replies

ActionScript 3.0 :: Flash Take The Volume Of A Sound Spoken Into A Microphone?

Apr 4, 2011

I'm working on a project for my Flash class that seems to be above everyone's heads.  What I'm trying to do is figure out how to take sound from a microphone, register the level/volume of that sound in flash.  So if the level is 25 then a movieclip and a different sound is played back.  Problem is I don't know what coding I can use to register a microphone and take whatever sound is put into the microphone and display a movieclip.

View 13 Replies

Disable Flash Prompt For Camera And Microphone Access?

Jan 21, 2011

How do i disable the flash prompt that comes for microphone and camera access.

View 2 Replies

Actionscript 3 - Flash 10.1 - Applying Realtime Effects To Microphone?

Feb 9, 2011

I'm trying to write a flash application which takes a Microphone stream and applies realtime effects and outputs this back to the speakers. I'm finding I'm having problems with stuttering when taking the output from the mic, copying this into a ByteArray amd then using a seperate

sound = new Sound();
sound.addEventListener(SampleDataEvent.SAMPLE_DATA, processSound);
sound.play();

to read from this ByteArray and play back the sound.I have noticed that the input from the mic's bytesAvailable changes, and also that the two events (the mic's SAMPLE_DATA and the sound's SAMPLE_DATA) aren't firing A B A B A B A B like would be needed but is more random.

Am I right in thinking that the mic.SAMPLE_DATA event fires at different intervals with different amounts of data and a working implementation would need to read the available data in and buffer the input so that the Sound SampleDataEvent would always have something to play back to avoid the stuffering?

View 1 Replies

Flash Player 11 :: Encode Microphone Raw Audio Data To AAC Or Mp3?

Dec 19, 2011

We need send h264 from flash to Wowza and after to vlc by RTSP protocol. But if we send sound in Speex codec, we not listens sound. what it is possible to make?

View 1 Replies

Flash :: Recording And Saving Sounds To File NOT From The Microphone?

Feb 3, 2012

I am trying to create a Flash application(more like a game) where a user can add sounds to a timeline and then play the resulting "song". That is not really hard to do, and the resulting track can be saved and played within my app, but the problem is that I would like to export the created track as a .wav(or .mp3). I know that recording from a microphone with MicRecorder is possible and then the record can be exported with WaveEncoder, but I didn't find a way to create a custom sound stream from multiple sounds and than export it. Is this possible?

View 1 Replies

ActionScript 2.0 :: Possible To Use Flash To Record From A Microphone To Local Disk?

May 11, 2004

Is it possible to use flash to record from a microphone to local disk? I mean audio from a user - using local shared object or something?

View 1 Replies

ActionScript 2.0 :: Playing Around With The Video And Microphone-in Functions On Flash?

Feb 13, 2006

been playing around with the video and microphone-in functions on flash. As far as playstation eye toy-style games are concerned was wondering if there was anyway of measuring motion in a video, or maybe colour in certain areas of the video.

View 1 Replies

ActionScript 2.0 :: Use Flash To Record From A Microphone To Local Disk?

May 11, 2004

Is it possible to use flash to record from a microphone to local disk? I mean audio from a user - using local shared object or something?

View 1 Replies

Media Server :: Flash - Player Security Pop Up When Using Camera And Microphone?

Aug 25, 2010

how to remove flash player security pop up for camera and microphone through coding.

View 4 Replies

ActionScript 3.0 :: Record Sound From Microphone With Flash Player Lower Than 10?

Jan 4, 2011

Is it possible for me to record sound from a microphone using a lower version of flash player, say Flash Player 9?

View 2 Replies

Flash :: Enable Speex Codec On Microphone Object In Flex 4?

Nov 23, 2010

From what I have read, using Speek over Nellymoser is advantageous, but I can't figure out how to use it with a Flex 4 Microphone object. For instance, the last code line:

[Code]...

View 1 Replies

Flash :: Record Using Microphone And Save It In Local Disk Drive?

Jun 14, 2011

I got the code

var mic:Microphone = Microphone.getMicrophone();
mic.setUseEchoSuppression(true);
mic.setLoopBack(true);

when I browse thru adobe documentation for microphone access. But I could not find a way to record the sound and save it in the local drive.How to store the sound in local drive???

View 2 Replies

Actionscript 3 :: Reactivating The Camera/Microphone Allow Panel In Adobe Flash

Jun 21, 2011

When an Adobe Flash program accesses a camera or microphone in Adobe Flash, Adobe pops up a panel to the user if they want to Allow or Deny access. If the user clicks Deny, I would like to pop the same panel back up. However, trying to access a microphone or camera again doesn't seem to do it.

I know there's Security.showSettings(SecurityPanel.PRIVACY), but this is a slightly different popup which has a "Remember" option which I explicitly do not want.

Is there a way to repeatedly popup the Allow/Deny confirmation without the Remember option?

View 1 Replies

Actionscript 3 :: Adobe Flash Record Compressed Samples From Microphone

Dec 15, 2011

I want to capture audio samples from the microphone in my adobe AIR application and then save them to an flv file. I have the following code:

mic.setSilenceLevel(0, DELAY_LENGTH);
mic.codec = SoundCodec.SPEEX;
mic.encodeQuality = 6;

[Code]....

The problem is that I suspect that in my handler I am only getting raw samples and not compressed samples. The reason for my suspicion is that the number of bytes I get per message is equal to 20 ms (which my definition is 1 speex frame) of raw audio and not compressed audio. Also the number of bytes doesnt change if I change the encodeQuality. Reading the documentation suggests that adobe will only compress the audio before transmission to a flash media server or another peer. Is there a way to publish and read the stream locally in order to get compressed samples. ? Or any other way to get the compressed samples?

View 1 Replies

Flash :: Movie Doesn't Ask Permission For Accessing Microphone In Google Chrome?

Sep 5, 2011

I have embedded an online-call on a website.Everithing works fine in all browsers except Google Chrome. Flash plugin in Chrome doesn't ask permission to use microphone and doesn't call. Any suggestions?P.S. The size of the Flash object on the page is enough for displaying the dialog.At first size of Flash block was the issue but it didn't prevent flash element from calling to our call-centre even though caller couldn't been heard. Now we fixed the size and dialog pops up in all major browsers except Chrome. It feels like Flash movie in Chrome doesn't come to using microphone.

View 1 Replies

ActionScript 3.0 :: Microphone Without LoopBack?

Oct 10, 2008

Works, but if i set LoopBack to false it doesnt work!!!i dont want to listen to me, i only want to know when the mic hear something.

import flash,events.ActivityEvent;
import flash,events.StatusEvent;
import flash.media.Microphone;

[code]......

View 2 Replies

ActionScript 3.0 :: Get Bytes For Microphone Sound?

May 20, 2008

I was wondering if there is any way to get the sound bytes froma microphone and apply it to lee brimelow's tutorial on sond spectrum?[url]...

View 4 Replies

Media Server :: Mute Microphone Using AS3?

May 28, 2009

how can i mute microphone using AS3?

View 2 Replies







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