ActionScript 3.0 :: Does Recording From Mic Into ByteArray Usually Lag?

Mar 11, 2012

Summary: is there usually a lag when recording audio from the mic? I am using Thibault Imbert 'micrecorder' library on google code to record audio from the mic into a ByteArray. I am instructing my users to speak two seconds after the recorder starts. I know its two seconds after the recorder starts, rather than two seconds after the user presses the record button, because micrecorder issues time adjusted events of the recorder progress.

When I get the finished ByteArray the actual floats inside it that record the user speaking seem to be 2.5 seconds worth of samples into the ByteArray! So my question, as this is the first time I have recorded audio, is it usual to find a lag like this when recording? Or do you think I am getting something wrong with my math when indexing into the ByteArray?

View 0 Replies


Similar Posts:


Actionscript :: Calculate The Average Frequency Of An Audio Recording Captured As A ByteArray In Flash?

Nov 30, 2011

Keeping it simple for now but assuming i have a ByteArray full of sample data is it possible to calculate the average frequency (thus a pitch) from the entire recording? Is this along the right lines? p = 69 + 12 x log2(f/440hz) ...

View 1 Replies

Actionscript 3 :: AIR3 Ios App Microphone Recording/playing - Beginning Of Recording Is Missing

Oct 4, 2011

i have build a small test app in Flash Pro 5.5 overlayed with the AIR 3 sdk.is has just 2 buttons to record and playback audio from the microphone. when i test this on my iPhone 3g - i record myself saying "1-2-3-4-5". but when i playback a half a second or so is missing from the beginning : "3-4-5-".

when i test this on the desktop all is fine is this a result of the iPhone 3g's cpu power or is it a bug or is it my code?

[Code]...

View 4 Replies

Actionscript 3 :: Introduce A Sound From The Library To A ByteArray (and Then Play That ByteArray)?

Feb 16, 2011

I am working on a game, made with Flash (using AS3) The game has a fast ball and when this ball hits an object it has to make a sound... but the sound starts with delay (so the ball is far away when the sound is played).This sound is edited by me and it hasn't got any silences at the beginning.The method i'm currently using is the simplest one:

public var sonidoPuntos1:sonidopunto1 = new sonidopunto1()

and then...

sonidoPuntos1.play()

I am trying to introduce the file into a ByteArray and then playing it from there...

View 2 Replies

ActionScript 3.0 :: Convert Wav ByteArray To Mp3 ByteArray?

Mar 28, 2011

I know its a true Pain but does anyone know any way to convert wav ByteArray to mp3 ByteArray.

View 1 Replies

Flash :: Recording Live From A Webcam / Recording From User's Webcam - PHP

May 23, 2011

I want my site's users to be able to record videos straight from their webcams into my site. Videowhisper is one such tool which seems to work fine - [URL] But I'm looking for opinions on better / more scalable / reliable solutions. Paid solutions are fine.

View 4 Replies

Video Recording Using Flash?

Jan 27, 2012

i have to record the video at client side n then save it on server side, so that it can be viewed when ever required.to act like a video testimony by client.

View 2 Replies

ActionScript 3.0 :: Flash Recording Through Mic?

May 22, 2011

how to record using mic feature. I had modified the example in the AS3 guide to something like this:

import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.utils.ByteArray;

[Code]....

Here, there are two buttons, one starts recording and the other stops recording. The resulting .swf file is only 2kb in size and it doesn't do what it is supposed to do.What am I doing wrong here? Other players similar to this have sizes in the range of 80-100 kb.

View 2 Replies

Recording The Audio Locally?

Jul 14, 2009

I am trying to figure out how to make a flash Application which can allow users to Record Audio from their Microphone. The recording needs to then be uploaded to a web server.I think the best way to do it would be to store the .flv or .mp3 file locally, and then submit the file to the server after the recording is completed.I have read in some places that this is impossible to do, however websites such as livevideo.com allow this too be done with Video as well, so I think Audio should be simple if it can be done with video.

View 1 Replies

Actionscript 3 :: Recording Sound In FMS?

May 19, 2011

I want to save a loaded sound in FMS .

public function Record()
{
nc.connect("rtmp://192.168.1.2:1935/videoRecorder");

[code]....

View 1 Replies

Flash :: Recording A Flv From An Air Window?

Jul 28, 2011

Is it possible to record and stream an air window to flv?

I would like to be able to use multiple video inputs and use text and graphics. To create a video mixer, picture in picture, key in graphics, etc. I'm able to do this on the display but would like to be able to record and stream it as well. I would also like to retain HD resolution. Recording the window maybe a dirty method. Is there another way?

View 1 Replies

ActionScript 3.0 :: Sound Recording App?

Jul 11, 2009

*I've been trying to develop a recording application, it is my first real programming project, so bear with me. What it is is a simple Audio Recorder that records sound directly from the Sound-Card. In other words, what you hear and what comes through the speaker is what is recorded. Many of you may be familiar of this process as a component of the Audacity application by selecting the recording type as Stereo-Mix.*

In making this, I could not find a way to access the users Sound Card directly using actionscript. So what I'm asking is, is there a way to access a users soundcard through AS3 or is it impossible? If there are no pre-built libraries or functions that can do it, would it be possible for me to create one that will help me gain access to the sound card?

View 9 Replies

ActionScript 3.0 :: Streaming A Live Recording?

Nov 5, 2009

How would I go about this? any one know of any good tutorials of how to stream sounds from a recording? any special type of server i would HAVE to use?

View 1 Replies

ActionScript 3.0 :: Recording Video From Movieclip?

Dec 18, 2009

i have Webcam, get video into flash from this webcam, then i can add some graphic or animation the over video i see in flashplayer from webcam, so i wanna know how can i convert this movieclip's(sprite) animation to flv or mov format ? May be something with capturing frame by frame? Did anybody make similar things?

View 3 Replies

ActionScript 3.0 :: Do Voice Recording Using Flash 8?

Jun 29, 2009

How to do voice recording using flash action script 8 with example.

View 1 Replies

Get Timestamp Of A Live Stream Recording?

Aug 7, 2011

I'm recording a lot of live streams for archiving purposes. Is it possible to somehow (programmaticly) get the timestamp of a certain point of such record?

View 3 Replies

Scripting :: Recording From User Mic W/o Using Flash

Aug 11, 2010

Is there a way to not to use flash as a platform for mic recording based script?

View 1 Replies

How Does Youtube Webcam Recording Work

Mar 29, 2011

Which flash server does youtube use for url... Is it just FMS? I'm asking because I have to implement a webcam recording application, and youtube one's the best I've seen so far. Great video quality and perfect audio sync.For now I'm using rtmplite as flash server url.. but the results aren't satisfactory, frequent out of sync audio and poor video quality. So I'm thinking to give Wowza a shot: did anybody try it with good webcam recording quality and quasi-perfect audio sync? Also, if you have any other suggestions on how to create a reliable webcam recording application/server, I'll be glad to hear them.

View 1 Replies

Php :: Save Audio Recording In .mp3 Format?

Jun 3, 2011

I'm building a website that is supposed to record and upload audio to a server and also be able to play said audio. Currently I have a BB app that does the same, I record the audio in .amr format, send the bytes over to the server and convert it to an .mp3 file with ffmpeg. How can I manage to record audio and save it in .mp3 format? With Flash, HTML or any other means. My website is being built with PHP under the CakePHP framework.

View 3 Replies

Html :: Recording Sound In Browser?

Jun 7, 2011

If one wants to record sound from the microphone input in the browser one can do so today through Flash. (Afaik there is currently no other good option which works across browsers.Is there a simple swf-plugin which allows one to do so? That is,with the options "Start recording", "Stop recording", "Get wave of recorded sound (or similar)".

View 2 Replies

AS3 :: Click Sound At The Start Of Recording?

Dec 15, 2011

I'm currently recording sound and storing the byte array for playback and subsequent encoding to mp3.

Unfortunately though I am getting a click sound at the very beginning of the recording.

I have attempted a couple of methods to try to eliminate this such as:

recording the first .3 seconds with mic.gain = 0; then setting mic.gain = 50; clearing the byteArray after the first .3 seconds then continuing to write the bytearray (in effect deleting the first .3 seconds of the recording.)

Neither of those methods has stopped the click being added.

how I can prevent the click from being added?

Here is my recording/storing code:

public var mic:Microphone = Microphone.getMicrophone();
public var micSilence:uint;
private var soundBytes:ByteArray = new ByteArray();
private var soundBA:ByteArray = new ByteArray();

[Code].....

View 1 Replies

As3 :: Flash - Recording Video Using Webcam?

Dec 19, 2011

i know how to use a webcam in as3,i want to record webcam video and save to my Local disk

View 1 Replies

Actionscript 3.0 :: Flash - Recording WAV In Adobe AIR?

Jan 7, 2012

I'm trying to record from my headphone port directly into my microphone port (using an aux cable) in Adobe Flash Builder / AIR, but I'm having a couple problems:

1. The recording never sounds "full" compared to the original MP3 file that I'm playing in iTunes. PCM is supposed to be an uncompressed format, so the quality should be lossless.

2. The saved recording (WAV) is always half the length of what I recorded. (Example: if i record for a minute, I'll end up with a 0:30 wav file, with the second half of the recording not there)

This is the code I'm using.

import com.adobe.audio.format.WAVWriter;
import flash.display.NativeWindowSystemChrome;
import flash.events.Event;
import flash.events.SampleDataEvent;

[code]....

View 1 Replies

ActionScript 3.0 :: Recording With 2 Exact The Same Webcams?

Oct 19, 2009

I hav ea problem with recording (or even showing) the video of 2 separate webcams which are the same type, brand etc. Somehow one shows its stream and the other one doesn't.

ActionScript Code:
var widthPos=Math.ceil(Math.sqrt(Camera.names.length));
var heightPos=Math.ceil(Camera.names.length/widthPos);
var tWidth=640/widthPos;
var tHeight=480/widthPos;

[Code]...

View 0 Replies

ActionScript 3.0 :: Show Webcam And Recording It?

Nov 17, 2010

i looking for a way to show user's webcam on a website and to be able to record it.

View 1 Replies

ActionScript 2.0 :: Recording Key Presses In An Interval?

Jun 17, 2011

I am creating a program where I am randomly flashing a series of words, and I would like to be able to record when someone has hit the "x", even very briefly, when looking at the word.I have inserted all of my code below, but I have difficulty with the section in bold. Everything is working except that in order for the "x" key press to be counted, it must be held down as the words actually change. Is there any way to have it record that the "x" is hit even if it very briefly? Whenever I try to use the key listener function, it does not work with my loop for displaying text.

stop();
var tempvariable = new Array();//array create variables stored in Flash to be saved for later display
var itemarray = new Array(); //This is the array to hold the Words that need to be randomly shuffled

[code]....

View 4 Replies

Recording Audio And Converting Into MP3 File

Oct 1, 2009

I have an assignment to create an mp3/wav file using flash. This player is expected to record voice from a speech mic and also be controlled by a foot pedal. How to record voice data and convert it into .mp3 file but haven't found anything yet.

View 1 Replies

ActionScript 2.0 :: Sound Recording In FLASH MX

Mar 14, 2003

Is there any way to provide the functionality of sound recording (e.g. record, stop & play) in flash MX?

View 12 Replies

ActionScript 2.0 :: Recording Key Presses Into An Array?

Jul 24, 2006

less cpu consuming way to do this?

View 5 Replies

ActionScript 2.0 :: Recording Sound In Flash?

May 19, 2007

I'm actually working on a website where I want to integrate an online mixer such as[url]...I would like that after the user create his mix, he can record it and save it to a DB.

View 9 Replies







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