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


Similar Posts:


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

ActionScript 3.0 :: Socket Class Unable To Connect To Internal Loopback?

Feb 16, 2011

I am building an AIR application where I receive UDP messages from Max/MSP using the Socket class. When testing in an internal loopback environment ( messages sent from 127.0.0.1 at port 7400 ) I can see the UDP messages being sent, as in: I can receive the messages I'm broadcasting in Max/MSP by listening to port 7400.However, the AIR app throws IO errors when trying to connect ( via the Socket class, using Socket.connect ) to aforementioned IP and port and I for the life of me can't find out why the app has no access to the internal loopback sending UTP ( if for instance, I start a Apache server at the same IP but at different port, the Socket class connects immediately to that IP - it won't receive data of course, but at least it can establish a connection )I am thinking the problem lies outside of the AS app and is an internal networking issue, I'd like to know if someone has experienced a similar error ( I'm on OS X, btw ) as I don't think it's a security sandbox error ( as the event isn't thrown, and the application type is trusted ).

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

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

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

Android :: Microphone Class Supported?

Mar 28, 2012

I saw a lot of issues about using Microphone in Flash on Android on the Internet. But my own flash applet does not work, saying "mic not detected". Also there is a note in AS3 reference, that Microphone class is not supported on any mobile device.

View 1 Replies

ActionScript 3.0 :: How To Capture Audio Via Microphone

Sep 25, 2008

I am a newbie to this Flash Segment. Though for my recent project i am diving into it. I want to make "A Flash app which will Capture user voice from microphone. It can be appended if paused. After recording done i want to upload the file to the server. so that i can play it back when required." I tried this with java applet but the UI is too bad so i am thinking in respect to flash. What i found till now is for this i have to go for Flash Media Server which is not possible in my project. I want a simple player. You guys rocks that i can easily understand after some wondering in this forum but did not get my solution so thought of posting it.

View 1 Replies

ActionScript 3.0 :: Stop A Microphone That Is Already Active?

Nov 23, 2009

I have a simple question: how do you stop a microphone that is already active?

View 1 Replies

ActionScript 3.0 :: Mix A Mp3 File With Microphone Sound?

Nov 29, 2011

i dont know that how mix a mp3 files with microphone in as3 and where should I start.

View 1 Replies

ActionScript 2.0 :: Disconnection Of Camera Or Microphone?

Aug 14, 2007

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

ActionScript 3.0 :: Find The Microphone Connection?

Jan 11, 2012

I want to find out whether the microphone is connected to the computer or not. If not ..should display a warning message.. How to do that

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

Access To The Camera And/or Microphone Available On User Computer?

Sep 29, 2009

I am developing an application running in Flash Player. The applicatiosn requestes access to the camera and/or microphone available on user computer.Is there a way in the application I prevent users from seeing this question? i.e. without having user to change his/her Adobe Flash Player setting?

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

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

Handle Cue Points In An Audio File (from Microphone)?

Mar 30, 2011

I'd like to record audio from a microphone and I'd like the user to be able to add cue points during the recording so when he loads the file afterwards, he can jump easily to a specific position.

I don't really know what file format I should use and how to store the metadata (cue points)

I thought about

encoding a wav/mp3 and stores metadata in a .cue file (easy to do but 2 files to store)storing XMP data in a mp3 file (seems a bit harder but standard metadata embedded in 1 file)flv/f4v with audio only and standard cue points but I'm not sure I can create them directly from the client

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







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