Actionscript :: Receive Microphone Sound Without Hearing It
Sep 27, 2011
This captures microphone sound and changes the alpha of 'foo' according to the sound level. However, I hear the microphones input. I want the visuals to work without hearing any sound. How would I do that?
[Code]....
View 1 Replies
Similar Posts:
Jan 19, 2012
I'm doing a by-the-book sound playback in Flex and I can't hear it.
I tried this:
var snd : Sound = new Sound();
snd.addEventListener(Event.COMPLETE, function(e : Event) : void
{
snd.play();
[Code].....
But I hear nothing. Launching the same mp3 file in vlc plays it fine. So yes, my speakers are turned on. :)
It's not the loading. I can see it's actually loading those 40k bytes fine, and if I give the wrong URL I do get an IOError. It's as if it's playing but nothing can be heard.
View 1 Replies
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
May 30, 2009
can i mute MICROPHONE sound using AS3?
View 1 Replies
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
Nov 29, 2011
i dont know that how mix a mp3 files with microphone in as3 and where should I start.
View 1 Replies
Mar 1, 2010
if there is a way I can change the imput sound from a MP3 to use the microphone instead?I have so far done this in the code but still with no luck.
//var s:Sound = new Sound(new URLRequest("music.mp3"));
//s.play(0, 1000);
var myMic:Microphone = Microphone.getMicrophone();
[code]....
View 3 Replies
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
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
Jun 22, 2009
I am developing an application in flash(AS2) with FMS/RED5. where i want to record sound through microphone with background music(Flash is playing mp3). is that possible in as2 ?
View 0 Replies
Feb 22, 2011
I am currently an English teacher and I am familiar with programming in DOT.Net platform. I am completely new to Flash. I turned to this platform because I thought that would be the best way to prepare interactive computer based exams in English. My real problem is, I don't have the slightest idea as to how I can create a Flash application which records the sound through the microphone and saves it on the local disk.
View 1 Replies
May 27, 2011
way to get access to sound samples coming from a microphone ?
So far I have not found such a function. In the meantime I am trying to overload alsa functions e.g: snd_pcm_readi to see if I can get the samples before flash treats them, but no success so far.
As a matter of fact, since I have no idea how both sound and microphone class work internally, I don't know exactly which alsa functions they call.
View 2 Replies
Mar 18, 2007
i have the actionscript to allow an object to be manipulated by the sound received in the microphone:
m = Microphone.get();
attachAudio(m);
m.setUseEchoSuppression(false);
onEnterFrame = function () {
circle._xscale = circle._yscale = m.activityLevel+50;
};
but i need the script to allow the function that when sound is made it triggers a jump to a different frame.
View 5 Replies
Nov 15, 2009
I am trying to animate a mask over a sound meter according to the activityLevel of the microphone. If I understood what's in the livedocs, the activity level is the amount of sound captured by the microphone, right? well, I'm trying to use it in order to do the animation but I have two problems:
1. there's a very annoying sound coming out of my speakers
2. nothing happens when I talk through the microphone
here's my code:
import flash.media.Microphone;
import flash.events.ActivityEvent;
masker.height = 0;
[Code]....
View 5 Replies
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
Aug 13, 2011
I have 15 sounds in my fla; I imported them to the library and exported all sounds with the name s1, s2, s3, ... s15 I created a function that recieve the number and then play the sound. In AS2 I could use eval like eval("s" + n), but in AS3 I can't!
[Code]....
View 2 Replies
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
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
Nov 11, 2009
I am trying to use Javascript to intercept keyboard events, so I can do CMD-W for "close-window" and whatnot, inside a Flash application, so the Browser doesn't get to use them. Well, I am able to listen for ALT, CTRL, and CMD onKeyDown/onKeyPress events, but I am not able to listen to anything else...
Here is the code, in the index.html file from a Flex Project:
<script language="JavaScript" type="text/javascript">
document.onkeydown = function(event) {applicationKeyboardHandler(event)}
document.onkeypress = function(event) {applicationKeyboardHandler(event)}
function applicationKeyboardHandler(event) {
alert("Key Pressed")
} </script>
I would like to make it so it could listen to any key press, not just alt/ctrl/cmd.
View 3 Replies
Apr 16, 2011
I am triggering short sounds dynamically from the library for a game (Specifically Air for Android). When the user clicks a button the sound can take up to 600ms to actually play. I have set it for any silence before the actual sound by calling the sound like so:
[Code]...
All return the same results. I know there are threads here that talk about this but none have offered a real solution that I can find. Is there no way to cache the sound or store it in a buffer?
View 1 Replies
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
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
May 28, 2009
how can i mute microphone using AS3?
View 2 Replies
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
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
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
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
Jan 1, 2010
It is possible to convert microphone data into AMR based data?
View 1 Replies
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
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