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


Similar Posts:


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

Media Server :: Stream And Audio Line Level Feed Rather Than The Audio From A Computer's Microphone?

Apr 1, 2012

Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?

View 1 Replies

Media Server :: Mute Microphone Using AS3?

May 28, 2009

how can i mute microphone using AS3?

View 2 Replies

Flex :: Finding Code Which Indicates A Progress Bar When There Is Activity On Microphone?

Dec 27, 2010

Any microphone action script code which indicates a progress bar when there is activity on microphone

View 1 Replies

Media Server :: Detecting If Microphone Connected To System Or Not

Mar 5, 2010

I want to write a code in Flash to detect whether user's microphone is connected to system or not. My application records from users microphone, now while recording is accidentally or intentionally user's microphone gets unplugged from system then I want to show a message to user. Is this possible to do in flash. I have tried many thing but didn't succeeded. Few thing what I tried are mic.getMicrophone method, this method only returns the sound card of the system, but didn't tell you anything about microphone is connected or not.

View 1 Replies

Media Server :: Mixing In Live Streaming Microphone And MP3

Nov 4, 2010

We intend to develop a Flex client application the user to send audio from your microphone and mp3 at the same time to a server that Flash Media Server.It would be a mix of microphone and music in mp3 that is playing in the application at the same time transmitted to the listeners.What will be the version of Flash Media Server that enables this mixing of audio from microphone and music played on the client in flex?

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

Media Server :: Record Microphone Modify In Realtime Bytearray?

Sep 16, 2011

I would like to access to microphone bytearray in realtime to modify the sound to record.How can i do this?

View 4 Replies

Media Server :: Get The Exact Motion Level In Callback For ActivityEvent.ACTIVITY?

Mar 22, 2011

camera.setMotionLevel (30,3000);
camera.addEventListener( ActivityEvent.ACTIVITY, activityEventHandler );

Inside activityEventHandler,how can I get the exact motion level that triggered the event?

View 1 Replies

Media Server :: Microphone Sound Recording,saving / Playing Flv File Is Saved But Not Working

May 4, 2009

While recording the flv is saved inside applications/stream/samples/audio.flv. But it is not working properly.[code]

View 1 Replies

ActionScript 2.0 :: Microphone Level Changing Frame?

Aug 14, 2009

I dont know the first thing about Actionscript, so I dont know if this goes in Newbies or not because I'm not a newbie to Flash, just the programming aspect.I originally found this online.URL...Basically what I'm looking for is this script:[code]Can someone please plug this idea into this code? I would REALLY be grateful! I need this for a school project and don't know anyone who knows actionscript! I believe to someone who knows AS this should be fairly simple. Once I have the finished code, I can edit the frames to suit my puropse.

View 7 Replies

ActionScript 3.0 :: Microphone Level Changing Frame?

Aug 14, 2009

I posted this in beginners. But I guess this is a better place to post it. I originally found this online. [URL] Basically what I'm looking for is this script:

m = Microphone.get();
attachAudio(m);
m.setUseEchoSuppression(false);
onEnterFrame = function () {
circle._xscale = circle._yscale = m.activityLevel+50;
};

EXCEPT that instead of scaling, I need the mic level to affect what frame is being shown.(Circle is a graphic symbol)

[Code]...

View 3 Replies

ActionScript 3.0 :: Display Microphone Activity In A "cool" Way

Dec 16, 2008

I have a flash audio recorder in AS3 and I can detect the microphone activity level at anytime I want. I wanted to know if there are tutorials on producing "cool" ways to show microphone activity as users record/speak into the microphone? I wanted something simple!

I am hoping just to have one single line that moves up in a "squiggly" way to show sound, but I will try to attempt this after the tutorials, so I would be grateful for links since I couldn't yield anything from a 30min google fest!

View 3 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

ActionScript 3.0 :: Stream Audio From Microphone To Server?

Jan 14, 2010

I am trying to stream audio from flash app directly to server. We strongly prefer not using Flash Media Server.

I have very little AS3 knowledge. I managed to connect to Mic, speak and hear my voice back. However, I am not sure how to stream this to PHP or rails server side.

View 2 Replies

Professional :: Record Sound Using A Microphone And Then Upload It To Server?

Jun 29, 2010

What I want to know is if it is possible to record a sound clip using a microphone and then upload it to the server using a swf applet in a webpage. Im an experienced java/javascript programmer but just starting out with flash/action script. What technologies will I need to do this? Can I do this simply using simply an swf file and an apache/php or jsp page?

View 2 Replies

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

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

ActionScript 3.0 :: Can Mute MICROPHONE Sound

May 30, 2009

can i mute MICROPHONE sound using AS3?

View 1 Replies

Professional :: Record The Sound Through Microphone

Dec 5, 2010

We are working on a project to record a sound a we need to play back in flash 8 (as 2.0). we have 3 buttons like play /pause, record, stop, When we clik on record button we can record the sound through microphone and when we clik on paly /pause button the recorded sound should be played. so can we record and can we play back in flash 8.

View 2 Replies

ActionScript 2.0 :: On Disconnection Of Camera Or Microphone?

Dec 11, 2010

i am working on a video recording project in ActionScript-2, i want to add a script with my code to detect camera or microphone disconnection. it means if user disconnect camera or microphone in between recording, i want to give him a warning.

View 12 Replies

ActionScript 3.0 :: Runtime Microphone Check?

Aug 29, 2011

it's possible to check at runtime the default microphone used by application without use the manager panel? I have tried  to make a timer but doesn't work without open the manager panel.

View 3 Replies

ActionScript 3.0 :: Microphone Bytearray Mix And Replay?

Sep 20, 2011

I have an application with microphone record and i mix another sound from song. For this step is ok i can save to my desktop and the mix is good.But i would like to play my mix from bytearray.The sound is very slow....... and not same that my file save,My code:

var epos:Number=0
//ByteArray in which the microphone sound data is stored
var soundBytes:ByteArray = new ByteArray();[code].......

View 2 Replies

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

Actionscript 3 :: Converting Microphone Data Into AMR?

Jan 1, 2010

It is possible to convert microphone data into AMR based data?

View 1 Replies

Java :: Internal Microphone Call?

Jan 18, 2011

How do you call the microphone built into a computer to turn on when a user visits a site? I've heard that there a number of different ways to do so, but I'd like some advice on the best way.

To provide a meta-level view, I'm planning on having the mic pick up noise and display it as a graphic equalizer (of sorts) but not record it.

View 3 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







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