Actionscript 3 :: Microphone Recording/saving Works In PCM Playback Double Speed?

Apr 29, 2010

I have a working mic recording script in AS3 which I have been able to successfully use to save .wav files to a server through AMF. These files playback fine in any audio player with no weird effects.

For reference, here is what I am doing to capture the mic's ByteArray: (within a class called AudioRecorder)

public function startRecording():void {
_rawData = new ByteArray();
_microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, _samplesCaptured, false, 0, true);
}

[Code]...

The audio file plays at double speed! I checked recording bitrates and such and am pretty sure those are all correct, and I tried changing the buffer size and whatever other numbers I could think of. Could it be a mono vs stereo thing?

View 2 Replies


Similar Posts:


Flash :: Recording And Saving Sounds To File NOT From The Microphone?

Feb 3, 2012

I am trying to create a Flash application(more like a game) where a user can add sounds to a timeline and then play the resulting "song". That is not really hard to do, and the resulting track can be saved and played within my app, but the problem is that I would like to export the created track as a .wav(or .mp3). I know that recording from a microphone with MicRecorder is possible and then the record can be exported with WaveEncoder, but I didn't find a way to create a custom sound stream from multiple sounds and than export it. Is this possible?

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

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 2.0 :: Change A Songs Playback Speed Depending On A Speed Variable?

Jul 24, 2009

is there anyway to change a songs playback speed depending on a speed variable. heres the kicker tho im limited to using only as2.

View 2 Replies

ActionScript 2.0 :: Recording Audio Output Without The Microphone?

Dec 2, 2006

I am having a problem trying to record internal sounds made from the flash file.I can record sound from the microphone no problem,What i want is to be able to record the sounds from the flash file without isung the microphone etc.

View 2 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 :: Double Speed When Restart?

Jul 2, 2010

My movie consists of 2 frames. the menu and the actual game. The actual game is a simple platformer. I recently added a button that makes the game "gotoAndStop(1)" back at the menu. but when I proceed to play the game again from the menu. my speed is doubled.

View 1 Replies

Actionscript 3 - Recording And Saving Sound From Flash?

Mar 3, 2010

How can I record and save sound in flash AS3. I have writing access to the server and also access to PHP files.

View 1 Replies

IDE :: Dynamically Loaded Sound Playing Double Speed

Mar 21, 2005

Hi all,

I am loading an external .mp3 file into my movie using a dynamically created sound object:

var theMusic_sound:Sound = new Sound();
theMusic_sound.loadSound("sound/mylo.mp3", false);

theMusic_sound.onLoad = function(true) {
theMusic_sound.start(0, 5);
theMusic_sound.setVolume(25);
};

However I find that when I run the movie, the sound plays at a higher speed (chipmunk music!). The clip was one that I created myself, its a 48kbs mono .mp3 file

Also, I am having trouble making an MP3 that loops perfectly. I have trimmed the sound perfectly in Nero wave editor, but the encoding process appears to add a short pause at the start and end of the file, which produces an annoying gap in my loop.

View 1 Replies

Media Server :: Recording Stream From Webcam As F4V Playback

Mar 23, 2010

I'm recording a stream from a webcam as an f4v file using FMS 3.5. The file is created in the live folder, and i can stream it back to the client no problem, however when I try to play the file in Adobe Media Player (or anything else) it won't play. I've used the f4v post processor which claims to run successfully, but with no joy.

View 5 Replies

Flash :: Recording And Playback Of Multiple Video Streams?

Nov 10, 2009

I am planning an implementation for a lecture capture solution for a local university. It is supposed to record all aspects of the lecture: the presenter will be recorded using videocamera + mic, his desktop activity is captured and optionally the whiteboard is captured as well (using Mimio). These input streams arrive (as video streams) to a computer that stores the recording on its harddisk. The file format for the recording should be able the hold multiple streams (Matroska for example).

The recording will be available from the uni's website. So at the client-side Flash seems a natural choice.

The player should display the different input sources into different rectangular regions of the player. One region displays the presenter, another region displays the desktop recording.

Is it possible to use a Matroska file as source for Flash streaming? If yes, how?
If no, is there another container format more suitable for this? The FLV format can only hold one audio and one video file. Is it possible to have one Flash client receive multiple streams and diplay them in different regions of its own canvas?

View 1 Replies

Flex :: Audio - Recording From Microphone From Within The Browser Using Flex Or Processing?

Jul 24, 2009

A groups of friends are working on a little game that would listen to the microphone as part of the interaction. We've tinkered with processing and flex. What we'd like to know is if anyone has succeeded in:

recording from the microphone using a web app

performing an FFT on this microphone data

In the case of flex, according to the docs "Because sound data from a microphone...do not pass through the global SoundMixer object, the SoundMixer.computeSpectrum() method will not return data from those sources."[1]

View 2 Replies

ActionScript 3.0 :: Speed Up Playback Of Flv?

May 21, 2009

im using flvplayback to play a video that is around 3 minutes long.i wonder if there is a way to speed up the playment of this video?for axample skip every second and third frame or so when playing?

View 1 Replies

Media Server :: FMS 4/AS3: Publishing Works, Recording Doesn't?

Mar 24, 2011

I'm currently having an issue with FMS4 developer edition on both Linux (x64) and Windows XP (x86).When I stream a webcam using ns.publish("foobar", "live") I can watch the live stream on another client, however when i use ns.publish("foobar", "record"); neither broadcasting nor recording works.Using the "live" parameter the client appears in the log files and in the administration console as "publishing", using "record" the client appears as "idle".Is there anything I need to configure besides LIVE_DIR in fms.ini?

Is this a restriction in the developer edition? Here is the relevant part of the code (condensed):

--------------------------------------------------------------------
var camLive:Camera = Camera.getCamera();
var nc:NetConnection = new NetConnection();[code]............

View 1 Replies

Change Playback Speed Of A MovieClip?

Nov 22, 2011

Using the deco tool Ive created a simple fire animation. The problem with this tool is that it wont let me set the speed above 200%. So my idea to solve this was to create a movie clip, use the deco tool there and somehow speed up the playback of this MovieClip.

Stage.frameRate = X works but it changes the frame rate of everything. fire_mc.frameRate = X doesnt work unfortunately.I dont need to it be precise. I just want this MovieClip to play 5 times faster that it plays now.

View 3 Replies

ActionScript 2.0 :: Controlling Speed Of Flv Playback

Jul 13, 2007

Title says it all. Is this possible, in a dynamic sense?

View 3 Replies

Flash :: Change The Playback Speed Of A Sound?

Jan 17, 2011

I have a sound clip in flash that lasts 10 seconds. I'd like to play it back in a shorter time, and at a higher pitch.

View 1 Replies

ActionScript 3.0 :: Playback Speed Of Video In Flash?

Oct 27, 2009

Anyone know how to vary the playback speed of video in Flash? I'm looking to implement this in an educational website where users can slow down the video or breeze through it by changing the playback.

Here's an example of what I'm looking for: [URL].. Except that this is a PC application, .exe. I'm looking to vary speed WITHIN Flash. I think FLV is not an option because you can only jump from cue-point to cue-point. With F4V work? MP4?

View 0 Replies

Actionscript :: Flash Media Server / Publishing Works Recording Doesn't

Mar 24, 2011

I'm currently having an issue with FMS4 developer edition on both Linux (x64) and Windows XP (x86). When I stream a webcam using ns. publish ("foobar", "live") I can watch the live stream on another client, however when i use ns.publish("foobar", "record"); neither broadcasting nor recording works. Using the "live" parameter the client appears in the log files and in the administration console as "publishing", using "record" the client appears as "idle". [code]

-Is there anything I need to configure besides LIVE_DIR in fms.ini?
-Is this a restriction in the developer edition?
-Is there something else I'm missing?

View 1 Replies

Flash :: Write A Program To Speed Up Youtube Playback

Nov 19, 2010

I want to watch videos from YouTube at a faster playback rate. A while back I asked if there is a utility that can speed up video playback. The only thing that was mentioned was some closed source project for Windows. I'm not a fan of either Windows or closed source.

Another answer mentioned that you can download videos from YouTube and play them back. Unfortunately, this no longer seems to work. I tried several Firefox addons and they all fail to download. So, now I think I need to build something myself. I see two options:

Create an addon to Firefox that allows me to change the playback speed of the video as it is playing. Find an open source code alternative to Adobe's flash player and update the source code to have a variable rate of playback of sound and video.

View 1 Replies

ActionScript 3.0 :: Control Playback Speed Of Sound Files (mpeg)?

Jan 14, 2010

I am working on a project and I want to know if it is possible for flash to control the playback speed of sound files (mpeg). I dont care if they are external or imported since the project will only run locally. IT is a game where I want to slow down and speed up the sounds playing.

View 3 Replies

Actionscript 3 :: Possible To Change Playback Speed Of Only One MovieClip Without Changing Framerate?

Aug 18, 2011

Is it possible to change playback speed of only one MovieClip without changing framerate using only AS3? I mean, is there any function/property in MovieClip or somewhere that changes the playback speed of ONLY one MovieClip at the same time not affecting general framerate?

View 2 Replies

ActionScript 3.0 :: FLV Playback Replay Button Only Works Once?

Aug 13, 2010

I have an FLVPlayer which plays a video and after the video is done playing, the REPLAY button shows up. Upon clicking the REPLAY button the movie starts over.. Everything works well, except, the REPLAY button only works once.. meaning, once the movie played once and REPLAY  button is cilcked to play it again, after the movie is done playing for the 2nd time - the button doesn't appear... here's the code:

import fl.video.*;import flash.display.MovieClip;var myVideo:FLVPlayback = new FLVPlayback();var mybtn:myBtn = new myBtn();var staticpic:staticPic = new staticPic();var logo:Logo = new Logo();myVideo.source = "BatterypoweredFCM.f4v";myVideo.skin =

[code]........

View 3 Replies

ActionScript 2.0 :: Detect The 'Connection Speed Of The User' And Change The Preloader Works?

Dec 3, 2003

At run time, Is it possible to detect the 'Connection Speed of the user' and change the way my preloader works? Say If the user is on a Dial up connection then play the initial 50% of the movie that has been loaded while loading the remaining 50% in background, If the user is on DSL or cable then load the entire 100% movie and so on.

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

C# :: Create A Slider On Desktop To Access Some Of The Controls Of The YouTube Video Player Like Volume - Pause - Play - Playback Speed?

May 7, 2010

Is there any way I can create a slider on my desktop to access some of the controls of the YouTube Video player like volume, pause, play, playback speed? I know it is a flash player, but would this involve accessing the YouTube API or something else? For example, I'd like to program something similar to what's provided by the Enounce MySpeed application (control over play back speed).

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

Professional :: Change Speed Of Symbol Without Changing Speed Of Entire Movie?

Aug 7, 2010

I want to add an animated .gif file to my movie.  So I created a new symbol and then imported the .gif file to the stage.  This created the symbol containing the animated .gif.I dragged the symbol onto the scene where I want it.  However, the animation seems to play at a different speed (fps) than normal.  So I changed the fps of the symbol (at bottom of Timeline where it says "fps").  But for some reason this changes the fps of the rest of the entire movie.

View 3 Replies

Flash :: Adjust The Speed Of The Tween To Ensure A Consistant Speed Regardless Of The Value Of StartX?

Dec 13, 2009

I'm tweening a movieclip from startX to finishX. The value of startX varies but finishX is a constant. But as the startX increases in value the animation appears to be quicker. How do I adjust the speed of the tween to ensure a consistant speed regardless of the value of startX?

View 1 Replies







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