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


Similar Posts:


ActionScript 3 :: Microphone Class - Number Of Audio Samples

Jul 7, 2011

In Java there is a method of the AudioFormat called
getSampleRate
This returns the number of samples per second. I was wondering what the best way to achieve this with the microphone in flash is. I am not sure if I need to add a SamplesDatatEvent and use extract() or ?? I need to know the number of samples per second from the audio coming into the mic.

View 1 Replies

Actionscript 3 :: Adobe Flash Record Compressed Samples From Microphone

Dec 15, 2011

I want to capture audio samples from the microphone in my adobe AIR application and then save them to an flv file. I have the following code:

mic.setSilenceLevel(0, DELAY_LENGTH);
mic.codec = SoundCodec.SPEEX;
mic.encodeQuality = 6;

[Code]....

The problem is that I suspect that in my handler I am only getting raw samples and not compressed samples. The reason for my suspicion is that the number of bytes I get per message is equal to 20 ms (which my definition is 1 speex frame) of raw audio and not compressed audio. Also the number of bytes doesnt change if I change the encodeQuality. Reading the documentation suggests that adobe will only compress the audio before transmission to a flash media server or another peer. Is there a way to publish and read the stream locally in order to get compressed samples. ? Or any other way to get the compressed samples?

View 1 Replies

ActionScript 3.0 :: Sound Samples Free Download

Jul 22, 2010

Does anybody know site, where I can downloud free sounds? I just need it to present something. It doesnt have to be the best quality. I need different sounds like noise, scream, car.

View 2 Replies

Professional :: Exporting SWF File - No Sound Coming Out Of Video

Sep 18, 2006

I am trying to export a .swf file which plays video/sound so I can upload the file to a website (embedded). However, the sound does not want to play when in flash. It is basically of a person talking and lasts about 20 seconds. I have exported the file as a .mov using flash mx pro on mac. the .mov file plays in a quicktime but when imported into flash the sounds seems to disappear.

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

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

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

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

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

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

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

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

Disable Flash Prompt For Camera And Microphone Access?

Jan 21, 2011

How do i disable the flash prompt that comes for microphone and camera access.

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 :: 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 :: Access An Object Within A Class And The Object Is Coming Up As Null?

Jul 23, 2011

i am trying to access an object within a class and the object is comming up as null but i dont understand why.
 
this is the object:
btnLMain = new MovieClip();  //variable declared earlier in code
btnLMain.name = "btnLMain";

[Code].....

View 2 Replies

ActionScript 3.0 :: Samples Of Top Of Pages

May 15, 2010

I'm looking for webdesign samples made in flash, of the top of the pages, like banners.It could be made in Actionscript or not, but woul would like to see somme samples, or sites.

View 0 Replies

Professional :: Deliver Music Samples Over The Website?

Aug 24, 2010

Have a soul band for hire music site and i'm wanting a media component tutorial so i can deliver music samples over the website.

View 1 Replies

Professional :: Iphone Touchscreen Code Samples?

Sep 11, 2010

Would anyone like to share iphone touchscreen code samples with the community? I would share mine, but I don't have a clue.

View 3 Replies

Basic Flash CMS Samples To Change Pic And Text

Jan 23, 2009

I want to start basic. Are there any tutorials or samples where I can make a simple flash website with 1 pic and 1 text content in there and be able to change it like in a CMS system using whatever methods are best php, xml, asp. Maybe using PHP or whatever is the standard for Flash CMS at the moment. How to make a simple content management Flash site starting from there. Where an admin logs in and then change the content for the pic and the text.

View 3 Replies

Actionscript 3 :: Get The Total Length Of Samples Of Audio In Flash?

Mar 28, 2012

I'm having a lot of trouble getting the total sample length of an mp3.

Also, when I load in the mp3 it does not play all the way through. It plays about half of it's length.

The mp3 I'm testing can be found here, [URL]

The code I'm using to play the sound is:

[Embed(source='assets/ffmangun_loop_79393.mp3')]
private var _snd_class:Class;
private var sound:Sound = new _snd_class as Sound;

[Code].....

View 1 Replies







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