ActionScript 3.0 :: Analyze User's Playing Audio Using ComputeSpectrum?

May 27, 2009

I was wondering if it is possible to analyze music playing on a user's computer and show visualizations of it using computerSpectrum? Basically, can Flash read the audio playing on a computer or just the user's microphone?

View 6 Replies


Similar Posts:


Actionscript :: Audio - Analyze Sound Ahead Of Time?

Oct 11, 2011

I would like to create a game that would analyze an mp3 a few seconds ahead of where it is playing live. A basic idea would be similar to guitar hero, the 'frets' you can see coming and prepare, then they hit and sync with the song in real time.

Is there a way to analyze a Sound file ahead of time, or analyze a muted Sound file?

View 1 Replies

ActionScript 3.0 :: Detect When A Playing Audio File Has Reached The End (stops Playing)?

Aug 31, 2009

I have some animation (programmatic, I'm NOT using keyframed animation in timeline), and some music I want to play in the background. Once the music file reaches the end (about 30 seconds long), I want to trigger the end of the animation functions.I figure I could either use an actionscript timer to trigger the end of the animation or a keyframe with actionscript that is placed on the timeline near the end of the song but these methods assume knowledge about the duration of the wave file. If I changed the framerate or updated the external wave file, these triggers would possibly no longer sync upIs there some sort of event listener or other detection method for an audio file to signal it has finished playing? Or maybe there is a way to get the duration of the audio file to use in the timer

View 3 Replies

Flash :: Approach For User To User Audio Communication?

Jul 2, 2010

For one of my projects I need users to be able to communicate with each other in an audio mode. The thing I'm concerned about is the scalability of the project if it even gets big in terms of bandwidth consumption.

What are the alternatives to passing the audio through my server to the users?Is it possible to create a link between two users so they can exchange their stream of data (audio in this case) so that it doesn't pass through me, while still being able to control the time they've been connected to each other and some other information?

As for now it's just an idea I have in mind but I don't really know what to look into. I think it will probably need to be some plugin dependant solution so that's why I tagged the question like that.

I'm not looking for a concrete solution, just a little push in the right direction from someone who has been through something similar.

View 1 Replies

Streaming Audio / Loading Audio Into Swf First / Then Playing It?

Jan 28, 2012

I think it is loading the whole audio first into the swf, but I would like to get confirmation from someone more knowledgible.[code]I want it to stream the audio when the button is clicked only so that 100 of these swf will not slow down a whole webpage from loading.[code]I only start getting concerned when I noticed that on FF and Chrome, the page loads really quick but when I open the page in IE, it takes a very long time for the page to appear.

View 3 Replies

IDE :: Audio From Unloaded Swf Keeps Playing?

May 28, 2009

I'm trying to load a successive series of swf, each containing audio, into a loader. As each ends, it's unloaded and the next one loads. I'm using the following code:

Code:
var ldr:Loader = new Loader();
var c:int = 0;

[code].....

View 2 Replies

Programmatically Analyze Flash Content?

Oct 5, 2010

How can I verify that flash content includes or excludes certain text?

View 1 Replies

ActionScript 3.0 :: Audio From Unloaded Swf Keeps Playing?

May 28, 2009

I'm trying to load a successive series of swf, each containing audio,into a loader.As each ends,it's unloaded and the next one loads.I'm using the following code:

[CODE]var ldr:Loader = new Loader();var c:int = 0;var clips:Array = new Array("dmt1.swf","dmt2.swf","dmt3.swf","dmt4.swf")addChild(ldr);ldr.load(new URLRequest(clips[0]));
addEventListener(Event.ENTER_FRAME, loading);[/CODE]...........

Each swf loads just fine, but the audio from the previously loaded swf start playing again, so there's a layered audio mishmash.

View 1 Replies

Professional :: Playing Audio At Certain Scenes?

Feb 8, 2012

im trying to play an audio file through 2 certain scenes in my project. for some reason i cant manage to do it, only to stream in through the entire project.

View 9 Replies

Actionscript 3 :: Audio Not Playing In Flash

Oct 22, 2010

I've been trying to play an external sound file in Flash and failing miserably.[code]...

The problem with this code is, I can only run it while it's on a live server (the link is obtained from a MySQL database via XML), so I can't tell if any error when it's being run. Then again, I can't see how the above code can lead to any problems.

View 1 Replies

Flash :: AIR 2.7 For IOS Playing Audio In The Background?

Jun 23, 2011

Update: With the latest Adobe AIR 3 Beta, Adobe added this functionality to their SDK.

http:[url]....iOS Background Audio Playback Support — Developers can now write multitasking iOS applications that can play audio while in the background, including music or voice chat from a conferencing application.

With the new release of AIR SDK 2.7 and Flash Builder 4.5.1 you can "Take advantage of new features in iOS 4 like multitasking..." (from http:[url].....Searching a bit I found out that this "multitasking" does not include true background process, like playing audio while the app is in the background.I know this is new but does someone knows if it is possible to keep audio playing in the background?

View 3 Replies

ActionScript 3.0 :: Audio Will Not Stop Playing?

Aug 3, 2009

I made a simple audio player following a tutorial on Youtube. It seems pretty good, except that the tutorial just starts and stops the sound file. I need it to be playing and for it to pause and resume.As it stands now, the music does play, but the pause button does nothing.Here is the script:

Code:
var loadSnd:URLRequest = new URLRequest("http://jeffreyworthington.com/intro_music.mp3");
var thisSnd:Sound = new Sound();

[code].....

View 6 Replies

ActionScript 3.0 :: External Swf Audio Keeps Playing?

May 21, 2010

I have a big problem that the audio of the external swf keeps on playing on top of other swf after clicking another button.

I have about 22 external swf files that are called up after clicking on their respective button. However, the audio keeps playing on top of the new swf that is selected. It thought the "removeChild(loader);" would work but it doesn't remove the audio.

I don't know if this may be an issue, but along with every swf that plays there are 3-4 .flv videos that are included in the swf. I have included the code.

import flash.display.MovieClip;
var Xpos:Number = 220;
var Ypos:Number = 105;
var swf:MovieClip;

[Code].....

View 6 Replies

Actionscript 3.0 :: Captured Audio Is Not Playing

Jun 4, 2009

I am using red5server and flash cs3 and as3.0 and windows xp. i am trying to capture audio when user clicks on button start. next i will keep capturing for a maximum of 10 seconds or user clicks on stop button.once the maxtime ie 10 seconds reached or user clicks on stop then capturing will be stopped. my application working till this point.but if he clicks on play button then it should play the captured audio. [code]...

View 2 Replies

ActionScript 2.0 :: Possible To Analyze Image (JPEG) Colors?

Sep 21, 2005

Would it be possible to analyse a jpeg to see what colour or colours are more prominent and use them for further purposes. One implementation I am trying todo is have text go over changing images, keeping the text the same colour leaves problems with readablity with say a black-ish or white-ish backing. Just something that I would like, not entirely sure if its possible or how it could be done.

View 2 Replies

Actionscript 3 :: Analyze A Video's Pixel Data In Flash

Apr 9, 2012

I'm using FFmpeg to do some video analysis on my PC but I'd like to see if I can do something similar in the browser using Flash.

Does Flash offer any way to take a video file as input, crack it open, and get access to the pixel data?

View 1 Replies

Actionscript 3 :: Analyze Sound By Channels In Flash Player 11?

Oct 31, 2011

referring to my old question AS3: Analyzing sound spectrums one by one, one channel at once , with flash player 11 and using Sound.extract,is it possible to extract a single channel and manipulate/visualize it's spectrum? I mean, if i mix 2 sounds into one file, can i control them separately, acting on thing like their soundwaves or volume?

View 1 Replies

ActionScript 3.0 :: Video Audio Won't Stop Playing

Jul 8, 2008

I'm trying to build a simple portfolio website, which displays images and videos. I imported a video, and got it to play when a certain button is pressed. But when I press another button (to go look at an image, for example) the video's audio keeps playing. How do I make the audio stop whenever another button is pressed?

View 2 Replies

Audio From Video Keeps Playing When Click On New Page

Aug 2, 2009

My dillema is that on my site when you load a video on one page then click on another page the audio keeps playing. I've had a look around other topics but nothing seems to work for me. I've put in things like videosname.stop() with no success.

View 25 Replies

Make Audio To Stop Playing Soon After Loading?

Feb 25, 2010

I am new to Flash action script and i have problem with action script code. Even though i comment the mvMyVid.play(); still the audio plays for fraction of second and stops.[code]...

View 1 Replies

ActionScript 3.0 :: Audio From Flv Player Won't Stop Playing?

Nov 17, 2010

I have a swf loading in another swf that has a video player in it. When I remove the swf from the stage, the swf goes away but the audio from the swf keeps playing. Is there a way to tell that swf to stop playing from the parent swf?

View 7 Replies

Professional :: Cannot Seem To Get The Audio To Start Playing Upon Entry

Sep 9, 2011

I have a sound control file that works great, however, I cannot seem to get the audio to start playing upon entry. I have tried the using the code:: samplesound.play();and it plays but when you click the play button, the audio repeats and the sound file that started upon entry do not respond to the controls.URL...

View 3 Replies

Flash :: Unloading Swf's With Embeded Flv's, Audio Keeps Playing?

Nov 13, 2010

so I have 3 swf's that im loading with buttons into the main swf. The thing is that these 3 external swf's have embeded flv's. when switching between the swf's with the buttons, im using vid1loader.unload();the only thing is that while the video switched to the other video like it should, the audio keeps running on any number of videos(swf's) that are loaded. My question is how do you stop the audio when using simple Loader and URLRequest to load the swf's?

View 1 Replies

ActionScript 2.0 :: Audio Streams Playing At End Of Loading?

Jul 10, 2009

I have rather large project that contains several swfs and flvs with audio. The project is published in Captivate (which renders a main swf file). After the preloader screen, a lot of the audio files start playing at once at the beginning of the presentation. I have tried inserting an swf (1st Captivate slide) with AS2.0 command "stopAllSounds". It works as intended and stops all the cacophony. But then, none of my audio plays throughout the 7 minute project. Does anyone know how I can restart the audio?

View 1 Replies

ActionScript 2.0 :: Audio's Playing Status As Variable?

Dec 27, 2009

I have two audio files. I want one to play (inter) when a button is pressed but only if another audio file (magnificent) is currently playing. I have tried using the following...

ActionScript Code:
yellow.onPress = function() {
if (_root.magnificent.playing!=1){

[Code]....

...but it doesnt seem to differeniate whether it is playing or not. The "inter" audio still plays even if the "magnificent" audio isnt.

View 3 Replies

ActionScript 3.0 :: Stop Embedded Audio From Playing?

Jun 27, 2011

I have a section of a site that has a voice over when you get to a page. I have a play/pause button that works fine, and plays and pauses the audio voice over. I have about 9 other buttons on this page that all have 'SoundMixer.stopAll();' in order to stop the embedded audio. This works the first time you click a button, but any button after that restarts the embedded audio.

Is there a way to make it so that Flash knows not to restart the embedded audio?

Do I need to make a sound variable and set it to 'false'. I am not sure what to do, or how to do it.

View 8 Replies

ActionScript 2.0 :: Control The Audio Files Playing?

Apr 22, 2009

I am new to action script.I am going to control the audio files like media player. How to control the audio files playing

View 1 Replies

Media Server :: Fms User Recorded Audio Fail In FP 10.1.82.76?

Aug 20, 2010

In my tracking I  records the voice, it generates the file (if i download I was able to listen to it), but if I try to play, it doesn´t play. If I use FP9 r124 it works, using FP10r53 or the latest 10.1.82.76 it fails !!! all with the same SWFhas anyone experienced the same? I can not ask everyone to downgrade the flash player.

View 8 Replies

Flash :: Javascript Library For Recording User Audio?

May 8, 2011

This isn't another one of those "How can I record audio in the browser?" questions... I know that the HTML5 Stream API is around the corner and Flash can already access the user's microphone and camera. I'm simply wondering, as a Javascript developer with little knowledge of Flash, if anyone has developed a JS library that hooks into Flash's device capabilities for recording but sends the results back to javascript (presumably using ExternalInterface).

In other words... libraries like SoundManager2 utilize a Flash fallback for audio playback, but they don't seem to allow for recording. Has anyone written a JS library that uses an invisible Flash movie to allow audio recording?

View 2 Replies

Create Something Which Records Audio From User / Allows Them To Send It To Email

Oct 5, 2011

I know how to use AS3 to record sound from the user and enable them to save it to their computer. However, I would really like instead to allow them to either send it to an email address right after recording (without them having to save it to their computer first and find the file), OR to let them save it so that the site owner can access it (They would know that it was happening.).

View 1 Replies







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