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


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

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

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 :: 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

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

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

Flash :: Detect Is Installed On Android And Embed A Video In An Activity?

Jan 6, 2011

This is really a two part question. First, is it possible to detect if Flash is installed on an Android device? Second, if it is installed, is it possible to display a flash video in an Activity? I'm thinking you'd have to use a WebView widget within your Activity to display the Flash content instead of something like a VideoView. Is Flash even supported within the WebView widget or is it only supported by the actual Browser app?

View 1 Replies

ActionScript 3.0 :: Flash - How To Detect No Mouse Movement And Keyboard Activity

May 11, 2011

AS3 script that detect if the mouse has no movement for 1min +no keyboard activity, it will call a function to change the frame in TimeLine.

View 8 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 :: 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.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 :: 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

ActionScript 2.0 :: Detect When New Movie Has Loaded In A New Level? -squish

Jan 8, 2003

is it possible for the main movie to detect when a new movie has loaded in a new level?

View 4 Replies

Flex :: Create Some Text On The Stage That Does Not Respond To Mouse Activity?

Jan 14, 2010

I would like to create some text on the stage that does not respond to mouse activity. I've found that after adding a piece of text to a class I am using to draw, it covers up some of the mousing area of my class and disables the user from being able to roll over the other graphical elements...

Is there something like:

var t:TextField = new TextField();
t.text = "hello";
t.active = false; //

i know that this is wrong, but I haven't found an equivalent method

View 1 Replies

Flex :: Audio - Recording From Microphone From Within The Browser Using Flex Or Processing?

Jul 24, 2009

A groups of friends are working on a little game that would listen to the microphone as part of the interaction. We've tinkered with processing and flex. What we'd like to know is if anyone has succeeded in:

recording from the microphone using a web app

performing an FFT on this microphone data

In the case of flex, according to the docs "Because sound data from a microphone...do not pass through the global SoundMixer object, the SoundMixer.computeSpectrum() method will not return data from those sources."[1]

View 2 Replies

Flex :: Controlling Volume Of Microphone With Slider?

Apr 24, 2010

How to control the volume of the microphone with a slider?

View 1 Replies

Flex :: Audio - Draw Waveform For Microphone?

Oct 8, 2010

I'm making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get the current audio wave from Microphone to display in the visualization area, how can i get the data?

View 1 Replies

Flex :: Red5: Send The Microphone Stream?

Dec 22, 2011

i am using red5 and flex. Actually my objective is to send microphone stream from the server to the client and play it on the client side. Similarly send microphone stream from client to server and play it on the server side. No need to store the live stream.

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

Actionscript :: Get A Small Code For Testing A Microphone Which Is Written In Flex?

Dec 3, 2010

small code for testing a microphone which is written in flex/AS

View 1 Replies

ActionScript 2.0 :: Create A Level Select Screen So The Buttons Unlock Complete A Level?

Apr 22, 2011

im trying to create a level select screen so the buttons unlock as you complete a level, so far i have this on each button:

on(release){
if(this.number <= currentItem){
gotoAndPlay(3);
}
}

[Code]...

View 0 Replies

ActionScript 1/2 :: OnLoad Working At _root Level But Not At Mc_target Level?

Aug 26, 2010

I have two layers in my FLA both with empty movie clips as follows:In mc_Empty1, I attach a faded background movieclip as I wait for mc_Empty2 to load a SWF.  Once the SWF is loaded into mc_Empty2, I want to remove the faded background movieclip from mc_Empty1.  When I load the SWF from the main timeline, the onLoad() function works and removes the faded background from mc_Empty1.  However, when I load the SWF from mc_target, the SWF loads, but the onLoad() function does not.  Here's my AS2 code:
 
//Loading SWF from main timeline
mc_Empty1.attachMovie("mcFadedBg", "mc_FadedBg", 1);
mc_Empty2.loadMovie("My.swf");mc_Empty2.onLoad = function():Void{    trace("loaded"); //This works    removeMovieClip(mc_Empty1.mc_FadedBg); //This works}

[code]....
 
I know I'm targeting properly because the SWF loads as it should, but the onLoad() function does not. 

View 3 Replies

ActionScript 3.0 :: Application Level Vs Document Level Class Paths?

Oct 2, 2010

This is making me a little kooky today. I thought I could defined a library path in PREFERENCES > ACTIONSCRIPT > ACTIONSCRIPT 3.0 SETTINGS then that library would be available to all AS3 FLA files, but that doesn't seem to work for me. If I use the PUBLISH SETTINGS and define the library path everything is fine.

Is there something that I could have done to disable the application level class path functionality? I guess I'm trying avoid having to set the library path for every new FLA I'm making.

View 1 Replies

Flex :: Show Data At Group Level In Flex Advanced Grid?

Aug 6, 2009

I am working on a grid example in flex using advanced grid control. I know we can easily group data by specifying the field name. At the group node level, other than the gorup name I want to be able to show data in the rest of the cells ( calculated data ) and I am looking for some dataRowBound event or similar to be able to hook some data in it.

Example: Grid displaying list of towns grouped by state. At the group level ( for each state) I want to show the total number of towns in each state. Here how can i show the total number in the town column.

View 1 Replies

ActionScript 2.0 :: Load Swf From Third Level Into Container In First 'home' Level

Dec 26, 2011

I'm doing a bigger aplication in flash (as2).Image, there is a main "home" flash with several menu buttons.Clicking these buttons, I load external swf into an empty container in this "home" flash.[code]clicking buttons in this second level, will load external movies into an empty container in this SECOND LEVEL swf.This works fine, but now, coming to the THIRD LEVEL (don't think there will be more in the future) problems come up, some scripts won't work.Now (I'm a as2-beginner) I think, loading external swf ALLWAYS into containers in the first "Home" flash should solve the problem.But I don't know, how to load an swf from the third level into a container in the first "home" level.In the "home" level, I have a "close" button, that will unload the container content.I need to go to a certain scene "content_2" in the home swf, too.

View 7 Replies

ActionScript 2.0 :: LoadMovie - Jump To Level 2 Upon Completing The First Level?

May 9, 2004

i have game im doing, and i want it to jump to level 2 upon completing the first level, but the problem is, the level 2 is a seperate swf, i've tried to use

Code:
on (release) {
loadMovie("level2.swf",2)
}

View 3 Replies

Calling A Swf From1st Level To Go From 3rdlevel To 2nd Level

Dec 2, 2009

I have called main.swf into a container in index.swf.

myMCL.loadClip("main.swf","container"); is an action on my Index.fla timeline.

I have my navigation on index. (i wanted it to go on main, but the nature of the animation meant it had to go on index)

I need to call "home.swf" into "main.swf" from the navigation button in Index.swf.

When I had the navigation on "main.swf" this was my code to call "home.swf" into the page.

on (release) {
Preloader_mc.gotoAndStop("home");
}

("home") is the label name where the preloader is for home.swf

how to call the preloader for home into main.swf from "INDEX.SWF INSTEAD OF MAIN.SWF"

View 5 Replies







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