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


Similar Posts:


Flash :: Reverse Sound Volume Math For Volume Slider?

Feb 1, 2010

I'm building a video player and am kinda stuck at the volume slider part. It's a YouTube style vertical slider, meaning if the slider is in the top position volume should be 100% and if the slider is dragged to the bottom position sound should be 0. Currently it's doing the opposite of what I want :(

Dragging the slider down will make the sound louder, while dragging up lowers it.

Here is my code below dealing with the volume slider.

[Code]....

The (-4) is an offset value so when you drag it all the way to turn it off, it's 0 and not 4. I need to reverse this somehow, so the traces above will swap... going down will make userVolume = 4 and going up will make it 30.

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

ActionScript 3.0 :: Capturing Microphone Turns Down Volume

Dec 19, 2011

In our application, we are using a Microphone object, that is published to a server (via NetStream).The recording works well.But unfortunately, while the microphone is active and the NetConnection+NetStream remain, all other audio from inside the flash application (and I guess other active flash applications as well, at least it does it with grooveshark) has its volume turned down.This is completely against the flow of our flash application, as you have to hear certain sounds clearly while speaking into the microphone.How can this turning down of the volume be disabled?

View 3 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 :: Change The Volume Of A Sound Using Keyboard Input?

Dec 4, 2009

How can I increase/decrease the volume of a Sound on key-press in ActionScript 3.0

View 4 Replies

ActionScript 2.0 :: Manage Volume Of More Than One Sound In Flash Per Frame?

Jun 27, 2007

In a code im currently working on, I have 3 sounds that I need to maintain constantly, but It seems flash can only manage 1 sound per frame.

How can I manage the volume of more than one sound in flash per frame?

View 10 Replies

ActionScript 2.0 :: Flash Symbols - Cannot Get Global Sound Volume From Controller

May 12, 2010

I inherited a flash application at work that is basically a bunch of symbols with actionscript inside each of them. There is also an external actionscript file that serves as the application controller, with much of the application logic in various frames of Scene 1. Some of the symbols are supposed to play a sound file on mouse over, which they do just fine, but when I try to get the global sound volume from the controller:

E.g.
ActionScript Code:
var bVolume:Number = controller.getGlobalVolume();

It doesn't work because it doesn't recognize the controller object. This is strange because the controller is called all throughout the project, but it is not seen within symbols.

View 1 Replies

ActionScript 3.0 :: Flash Sprite Button Not Toggling Sound Volume?

Jul 21, 2010

This is a completely AS3 scripted, and dynamic project, meaning I cant use any assets from the library.

1 - This button is a mute.

� Currently the loaded sound now fades in with a timer.� I want the button to over-ride any sound elements on the stage: the mp3 and later a flv movie as well.� In the below example the button only interferes with fade, and dosen't actually override it, after the fade - it dont do jack. � SoundMixer.stopAll(); will of course kill everything but I cant toggle this(can I?)

2 - The toggle button itself� I've loaded two png's into a sprite, and created a toggle button from them using an if statement. � Is this best practice? or would you recommend something else?� Perhaps SimpleButton?

[code]....

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

Increase (youtube Flash) Video's Sound Volume By Means Of Script?

Jul 30, 2011

Background story: many users (including me) browse the web from notebooks that are not constructed for sound performance. That means (besides other things) that the sound volume for most videos is too low, especially if the video itself is recorded at low volume.

Therefore...

I was wondering if there is any way of increasing the volume of such a video (especially Youtube, but could be extended to other types), because I'm interested in doing it and even publishing it as Firefox/Chrome/other browser plug-in.

View 2 Replies

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

Actionscript 3.0 :: Change The Imput Sound From A MP3 To Use The Microphone Instead?

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

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

ActionScript 2.0 :: Record Sound Through Microphone With Background Music?

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

ActionScript 2.0 :: Recording Sound Through Microphone Onto Local Disk

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

ActionScript 3.0 :: Get Access To Sound Samples Coming From A Microphone?

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

ActionScript 2.0 :: Allow An Object To Be Manipulated By The Sound Received In The Microphone?

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

ActionScript 3.0 :: Animate A Mask Over A Sound Meter According To The ActivityLevel Of The Microphone?

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

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

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 :: Record Speech And Write The Spoken Words Into A Textfile?

Mar 3, 2009

Is it possible to record speech in AS3 and to write the spoken words into a textfile or something? Or maybe record something twice and compare this to each other? Like if I would record the word "Hello" and then the word "Hi" and it returns me a false or something like that.

View 5 Replies

F8 :: Timeline Sound Volume Control

May 22, 2009

I have an application with a collection of sounds in the timeline. One sound file is recorded at a slightly lower volume than the others. I know I could change this in Audacity but I'm wondering whether I could attach a line of actionscript to its button to raise its volume slightly.I know its possible to do this when playing sounds with actionscript directly from the library, but that would be too big a departure from the development style used.

View 1 Replies

ActionScript 3.0 :: Sound Volume Control?

Dec 23, 2008

If I have library song playing using a simple code like: var mySong:Song = new Song();mySong.play(); How do I use a button to control its volume so that each time it is clicked the volume goes up or down by a little.

View 14 Replies

Get Sound Volume Of Frame With Javascript API?

Jun 24, 2009

Is it possibleto get the sound volume of of a specific frame or specific time of sound item with the Flash Javascript API maybe together with Action Script?

View 1 Replies

ActionScript 3.0 :: Set A Volume To External Sound?

Aug 26, 2010

I'm trying to set a volume to my external sound. I'm using the following code, there're no errors, but the volume is not affected...

var req:URLRequest = new URLRequest("squeeak3.mp3");var sound:Sound = new Sound();var controller:SoundChannel = new SoundChannel();var myTransform = new SoundTransform();myTransform.volume = 0.2;controller.soundTransform = myTransform;

View 3 Replies

ActionScript 3.0 :: How To Control Sound Volume

Aug 11, 2011

how to control sound volume via AS3?[code]

View 4 Replies







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