Actionscript 3 :: Converting Microphone Data Into AMR?

Jan 1, 2010

It is possible to convert microphone data into AMR based data?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Sample Data Event Not Firing - Record Data From A Microphone To A Byte Array?

Dec 13, 2010

I have bought Learning AS 3.0 (O'Reilly) but I have been having difficulty getting one of the tutorials to run. The tutorial shows how to record data from a microphone to a byte array, playback the saved data and save as a WAV file. For some reason, I can't get this working. When the swf runs, the Flash Settings screen doesn't pop up to request permission to access the microphone but I can still trace properties such as gain.

I've uploaded a zip containing all the classes and an FLA - just use RecordMicrophone_Example.as file as the document class. Here is the problematic area of the code:

[Code]....

View 0 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 2.0 :: Converting Internal Array Data Into External XML Data?

Nov 9, 2006

I have this code inside my flash to name my navigation menu. Now I want to put this outside flash and load it via XML. How do save my different arrays into a variable for later use in my code?

In my nav fla (what i want to load from XML):

Code:
// MAIN MENU ARRAY
var mm_array:Array = ["MAIN1", "MAIN2", "MAIN3", "MAIN4"];
// SUB MENU ARRAY

[Code]...

View 9 Replies

ActionScript 3 :: Encode Raw Data From Microphone SampleData Event

Aug 9, 2010

I get a raw data from Microphone's SampleDataEvent, and I want to encode this data before streaming to my server. So I'd like to know if there any standard audio encoder provided in actionscript3? Or do I have to implement it myself? I know that the Microphone class provide 2 codec (Nellymoser and Speex) that can be used when sending a stream to Flash Media Server( via NetStream) only. Is there any way we use this codec to encode raw data?

View 1 Replies

Flash Player 11 :: Encode Microphone Raw Audio Data To AAC Or Mp3?

Dec 19, 2011

We need send h264 from flash to Wowza and after to vlc by RTSP protocol. But if we send sound in Speex codec, we not listens sound. what it is possible to make?

View 1 Replies

Actionscript 2.0 :: Converting Array Data Into Numeric Data?

Mar 25, 2009

I feel like this should be really easy, but I don't get what I need to do.I have a value bgW[j] stored in "j" equaling a number.But I can't seem to get it to register as a number.What commonly needs to happen to convert this value into a numeric datatype?I've tried a bunch of stuff: eval, parseInt, multiplying it by 1.

View 2 Replies

ActionScript 3.0 :: Converting XML Data To PNG Through Flash

May 22, 2010

I just started using AS3, I'm trying to do is pipe xml data to flash to be stylized in a text field, then save as transparent png. Right now I have a problem; when I run the script with this.addChild(this); it takes a snap of only the first entry, and only the first entry to output. If I leave that out, it sends all 750 entries to the output screen, and it parses the xml like it should (w/ out the text clear at the end, it applies all 750 entries filter styles to the one textfield). So I'm assuming everything is working right with parsing the xml, and it's just getting hung up. I'm assuming I have this setup all wrong, but it's the only way I could get it to work... this.addChild(this); just seems wrong, but it's the only way I could snag root, and write it.

Here's my code (I don't need this all proper for use on a website or anything, just to run a few times to batch out some xmls).
ActionScript Code:
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.text.TextField;
var myXML:XML;
var myLoader:URLLoader = new URLLoader();
[Code] .....

There's no code implemented for saving the bitmap data to png. I'm using cs3 right now, so no FileReference.save() feature. I plan on finishing it on a buddies box w/ cs5. On a side note - Would it be possible to compile this with flashdevelop to get this feature? I've never used it...

Here's an example of my xml:
<game titlem="filenameoutput"></game>
<namem desc="name description"></namem>
<manu manufact="manufacturer"></manu>
<year yearmade="19xx"></year>

Probably not the best, but the best I could manipulate the source file w/ regular expressions and sed, and still have it work with the xml tutorial I was referencing. I can try again if it needs to be setup differently. Is it possible in as3 to create a gradient that has one color on top and one on the bottom? I've always failed miserably creating these in previous versions, so I didn't even try.

View 1 Replies

ActionScript 2.0 :: Converting Data Type?

Sep 16, 2004

So I'm importing this file called tbox.txt and in that file it has a variable, num, which equals 3. Now when I run the debug window, it comes back as num = "3". So its a string. so I do num=num-0 to make it a number instead of a string. And it doesn't work so I do a trace on num and it comes back as undefined.... which is what I dont understand, how can it be "3" and undefined at the same time.

View 4 Replies

Flash :: Converting Data (perhaps Hex) To Actual Numbers?

Mar 16, 2011

I get this out put (each row is a different element) and I don't know how to convert it in to a readable value.

it should be number with 9-10 digits. from what I have seen in other sites regarding this specific data (this is the value of the tempo in a midi file) - it looks something like this: "tempo is 06 96 27 (in hexa format)"

these values are ByteArray type. how do I convert them to the readable numbers (or perhaps they contain text)?

View 1 Replies

Data Integration :: Converting An XML Loaded Image Into A Button?

Sep 23, 2006

I want to load an image using XML and have that image be a button.

View 2 Replies

Flash :: Library For Converting Flex TextLayoutFormat Data To HTML And CSS?

Apr 8, 2011

I have the job of recreating a flex app in HTML and CSS. The existing app makes considerable use of TextFlow to layout content. For several reasons I need to be quite accurate (within a few pixels) with positioning.

[Code]...

Ideally I'm looking for a library I can use to translate these many attributes into "proper" html and css. The current technology stack is PHP at the back end and javascript at the front end, but there would be little problem in using any other language to do the translation.

Failing that I guess I'll try and write my own, using the api reference as a guide.

View 3 Replies

Actionscript 3 :: Converting Data Object To Int In Flex Mobile Project?

Aug 31, 2011

I am developing a mobile project in Flash builder using flex 4.5. I am very new to flex, with some background in Obj-C.urrent Setup:I am passing the text property of a text input component to a second view via navigator.pushview{view.Someview, data}public function doSomething():void{navigator.pushView(Session_View, timeInput.text);This successfully passes the text I put into the textinput to the Session_View instance and I can display that text in a label in the mxml; however, I would like to take the text passed and convert it to an integer to use in my logic.Within Action Script I have tried parseInt() function with no luck.I have also tried to assign data to a variable in actionscript with no luck.

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

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

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







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