ActionScript 3.0 :: Possible To Run ComputeSpectrum On Multiple Files

Dec 8, 2009

Since there's (obviously) only one instance of SoundMixer in any given file, is it not possible to run computeSpectrum discreetly on different soundfiles loaded into an application? Basically I want to visualise each sound differently. Anyone come across any workarounds?

View 4 Replies


Similar Posts:


ActionScript 3.0 :: SoundMixer.computeSpectrum Seems Off?

May 21, 2009

Using the example found in the class documentation, you'll notice the bass frequencies are crammed on the low end too much, and the higher frequencies will sometimes register even in the bytearray.position = 0 float.  Is this a problem with the design of the computeSpectrum class?  Because I can take the same file, put it in another spectrum analyzer and see the bass and treble spread more evenly.[URL]

View 4 Replies

ActionScript 3.0 :: ComputeSpectrum If Volume Is 0?

Jul 31, 2009

I'm building a media player with a sound visualizer using computeSpectrum(). When I adjust the volume, there is no longer any data for the visualizer. Does anyone know a way to adjust the volume of audio, but still access audio data using computeSpectrum() as if the sound were still audible?

View 3 Replies

ActionScript 3.0 :: ComputeSpectrum 100 Times Per Second?

Jul 4, 2010

Just wondering how often Flash (as3) will allow me to computeSpectrum? I am currently attempting to computeSpectrum 100 times per second, but I am finding that the data repeats every few times.

View 1 Replies

ActionScript 2.0 :: CS3 Computespectrum Failing Randomly

Apr 17, 2008

am trying to make a mp3 player by using actionscript3.In this , am trying a upload a mp3 file and play that particular file. Am also using the computespectrum() to display the graphics.Now the problem am facing is with the computespectrum . Randomly , the computespectrum is failing for the same file and is throwing error.The error is as follows [code]Am actually uploading the file into a folder named "mp3files". The "mp3files" folder and the swf are lying in the same domain.

View 1 Replies

ActionScript 3.0 :: Youtube Api And SoundMixer.computeSpectrum?

Mar 31, 2011

I connect to the sound of youtube website, how can I bond SoundMixer.computeSpectrum

[Code]...

View 6 Replies

ActionScript 3.0 :: Remaking SoundMixer.computeSpectrum()?

Jul 8, 2009

For the past couple of weeks I've been wracking my brains over SoundMixer.computeSpectrum(), arguably the coolest method in ActionScript 3. It's the one that spits out the last 256 (or so) audio samples that hit the speakers, with the option of viewing that data in the time domain (waveform) or the frequency domain (Fourier transform). It's great for visualizing music, but its major drawback is that it only operates on global, playing audio, which means you cannot visualize different channels or preprocess the visualization.

Sound.extract(), a new method in Flash Player 10, gives you a Sound object's entire waveform at any time you want; I've managed to line up the waveform in Sound.extract() perfectly with the waveform in SoundMixer.computeSpectrum(), so they are literally neck-in-neck. In this SWF I'm drawing two lines- a blue line, which uses data from SoundMixer.computeSpectrum(), and a red line, which uses data from

[Code]...

View 11 Replies

ActionScript 3.0 :: ComputeSpectrum On Sound Class?

Jul 31, 2009

I'm trying to do some beat detection on a sound, but I want other sounds playing at the same time, and I don't want those to be included in the beat detection. Is there anything like SoundMixer.computeSpectrum for individual Sound or SoundChannel instances ?

View 2 Replies

ActionScript 3.0 :: Youtube Api And SoundMixer.computeSpectrum Does Not Work

Mar 31, 2011

I managed to run my youtube api and SoundMixer.computeSpectrum.SoundMixer.computeSpectrum are online, positionBar, player.getDuration (), player.getCurrentTime () does not work.Everything is running on localhost.I do not know is the security issue,

View 4 Replies

Flash :: Flex: ComputeSpectrum With Streaming Media?

Jan 18, 2010

I have a Flex3 app I wrote and I'm streaming audio over RTMP from a Red5 server. I'd love to be able to use SoundMixer.computeSpectrum(), but the spectrum data is all zeros. In one location, Adobe writes that SoundMixer.computeSpectrum() does not work with RTMP data:

"For media loaded from RTMP sources, you cannot use the BitmapData.draw() and SoundMixer.computeSpectrum() methods to extract run-time graphics and sound data." [URL] Clear enough. Except, there's the actual documentation for computeSpectrum(): "In addition, this method cannot be used to extract data from RTMP streams, even when it is called by content that reside in the same domain as the RTMP server. [...] This method is supported over RTMP in Flash Player 9.0.115.0 and later and in Adobe AIR."

View 4 Replies

Actionscript 3 :: Using ComputeSpectrum() Call On Arbitrary Data?

Mar 28, 2011

i have some arbitrary signal data which i'd like to get a frequency analysis of. it's not audio data. is there a way to coerce AS3's computeSpectrum() call into doing this work for me ?

View 1 Replies

ActionScript 3.0 :: SoundMixer.computeSpectrum With Loaded FLV Movies?

Aug 31, 2009

I'm trying to use the code below to show a graphical representation of the sound from externally loaded FLVs, as they play.The code I have is below, can I change this to listen for whatever sounds Flash is playing at the moment and computeSpectrum from tha

Code:
var url:String = "song.mp3";
var request:URLRequest = new URLRequest(url);

[code]......

View 5 Replies

ActionScript 3.0 :: Flash ComputeSpectrum: How Often Does The Data Change

Jun 25, 2010

I am executing a computeSpectrum function every 1/10 of a second (the speed I should be sampling the sound frequency to obtain a data bit). However the computeSpectrum seems to be giving me the same output every two or three times I call it.

Take a look at the source code and check the Binary read. Notice the binary read is repeating numbers, and the lack of single '0' or '1' bits? There should be some single '0's and '1's in there! I even made arrays of all of the input to check if the uncompressed ByteArray data was repeating and sure enough, the samples were quite often IDENTICAL every 2 or 3 calls...

PS: The audio sample data [More audio samples available there] I'm using is Peceptive Development's 'How to talk to Tin Can' [More info on reading audio as data there]. The audio sample provided in the archive is 'Low speed', which means the data is being sent at 100 baud (100 baud / 1000 ms = 10 bits per second)

View 2 Replies

ActionScript 3.0 :: Save Multiple Text Files From Multiple Text Boxes?

Mar 2, 2011

As the title states, I need to know how to save multiple text files, from multiple text boxes on the screen. Each textbox has the instance name of t1, t2, t3... and so on. Here is the code I have now:

[Code]....

View 3 Replies

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

Actionscript 3 :: What The Values Sent Back From ComputeSpectrum(bytes,true,0) Mean

Apr 7, 2010

I am just trying to understand what the values sent back from computeSpectrum(bytes,true,0) mean. I have values ranging from 0 to 1 for each float i read from the byte array but does each value represent a range of Hz

View 2 Replies

Flash :: Translate FFT Data To Match ComputeSpectrum FFT Output

May 30, 2011

I'm used to using SoundMixer.computeSpectrum, but I need to get some data on-the-fly from the microphone (and I can't use the SoundMixer with the microphone).

I'm having trouble translating the FFT data (from this class) as shown in this excellent spectral analysis example to match the ByteArray output from computeSpectrum. My existing code is built to handle the data received from computeSpectrum (with FFT set to true).

View 1 Replies

Flash :: Pitch Detection With ComputeSpectrum() Return FFT Values?

Jun 8, 2011

I'm developing using Actionscript 3.0 for Flash Player 10.3.I'm using computeSpectrum() on a loaded .mp3. Running *Event.ENTER_FRAME* to get snapshots of each sample in an byteArray.The ByteArray contains 512 values (256 for each channel). These values are FFT Spectrum, ranging from 0 to 1.I can't use the peak frequency for each of the samples (as I found found out!) because the highest value is not necessarily the fundamental frequency. As a result I'm getting lots of random values all over the place.Of course I'm getting some correct too, but that's not enough.

View 4 Replies

ActionScript 3.0 :: SecurityError: Error #2121: Security Sandbox Violation: SoundMixer.computeSpectrum:

Dec 19, 2008

I'm running two flash items on one page, both have sound, and the AS3 swf uses computeSpectrum

I'm getting the following error message:

SecurityError: Error #2121: Security sandbox violation:
SoundMixer.computeSpectrum:
http://dev1.kbrcomm.com/OLA/soundSpectrum_rev2.swf
cannot access
http://dev1.kbrcomm.com/OLA/ICE_intro_rev9.swf.

[Code]...

View 5 Replies

ActionScript 3.0 :: Error #2121: Security Sandbox Violation: SoundMixer.computeSpectrum: Widget5.swf Cannot Access

Jun 11, 2010

I am trying to develop a sound visualizer and i have developed OO solution but the problem is I get this error:

SecurityError: Error #2121: Security sandbox violation: SoundMixer.computeSpectrum: widget5.swf cannot access . This may be worked around by calling Security.allowDomain.
at flash.media::SoundMixer$/computeSpectrum()
at widget5/onEnterFrame()

Also if I press continue I get other error

Error: Error #2030: End of file was encountered.
at flash.utils::ByteArray/readFloat()
at widget5/onEnterFrame()

View 3 Replies

CS3 Preload Multiple Files?

Feb 25, 2010

how can i make a preloader load multiple external (mp3) files before entering the site itself?

View 1 Replies

Play Multiple .swf Files One After Another?

Oct 6, 2006

I have two flash files that I would like to play back to back in the same location on my site. I would like one to play, and then when it's done, I want the other to play in its location.

I googled around and read up on the loadmovie variable, which I thought that is what I needed, but it isn't working.

To start out, what I did was create a new flash file, then I inserted an image into the timeline on its own layer, converted it to a movie clip (named pic_mc), did a fadeout effect on that image, then I created a new layer, and on the frame directly after the image, I put the following:

Code:

loadMovie("/images/preferred-reseller-hosting-0001.swf", "pic_mc")

I then ran a test (ctrl+enter) and all I see is the fade out image, and not the other flash movie. I even uploaded the .swf to my site and tested it there in a real world situation, and it didn't work. It just fades the image out and restarts the movie.

View 14 Replies

IDE :: Best Way Of Loading Multiple XML Files?

Dec 7, 2009

What is the best approach in AS3 when loading multiple XML files. I have 3 XML files I need to load. Should make separate XML loaders and functions for each XML file?

View 1 Replies

Storing Multiple Animation Files?

Aug 19, 2009

I want to have a TV screen and hundreds of (small) flash animations load up in the 'TV'. I'm assuming I'm going to have to use Actionscript, so I'm looking into that right now. However, what would be the best way to organise this? Each "TV" will have a different set of "Channels". Do I create each 'channel' and save them as seperate SWF files, or is it possible to have them all in one main file. I can then flick through each 'channel', which essentially unloads the current animation and loads the next one

View 2 Replies

Loading Multiple Jpeg Files

Jul 7, 2009

i'm making a simple portfolio site, and bringing in a series of jpeg files using a 'for' loop and the Loader class. once all the files are loaded in, i'd like to just be able to add, remove, tween, etc... the items from the stage as need-be by using instance names, such as movie clips or Sprites. but for some reason, i cannot seem to figure out how to have each image, as its loaded in, be separately accessable to me after the loop has completed.

View 10 Replies

Play Multiple Flash Files One After Another?

Nov 2, 2009

I have a series of animations of graphs etc in different flash files. Tried to put everything on the one timeline but was getting way too confusing so thought I would put each part in a separate flash file.
 
What I want to do is, once one file has come to an end load the next one up to play and so on. This is all part of a presentation so the user will click the keyboard to progress to the next file.

I'm using Flash CS4 on a Mac with Action Script 3.0.

View 38 Replies

Flash :: Should Have Multiple Swf Files On Different Webpages

Jan 29, 2010

I'm writing a small game app in Flash, and I'm wondering what the benefits of having one giant SWF loading everything vs multiple webpages and multiple SWF's.

View 1 Replies

Flex :: Possible To Upload Multiple Files At Once?

Jan 20, 2011

I need a component where user can click on browse button and select multiple files using ctrl key and upload them at once. Please note that it is dfferent from clicking add more files each time a file gets uploaded. Is it posible in flex?

View 2 Replies

ActionScript 3.0 :: Using The Same Object Across Multiple Swf Files?

Aug 4, 2009

I have 2 FLA files, a "menu.fla" and "game.fla"

In my "menu.fla" I create an object of my class:

var gameEngine:Engine = new Engine();

I click on a button in "menu.swf" to load my "game.swf" into the window...

I would like to know how can I use the "gameEngine" object in my "game.swf"?

Also, I have to code that runs on a "left-arrow" key-press in "menu.fla", but I also have some code running on a "left-arrow" key-press in "game.fla".

Once "game.swf" is loaded, and I press the "left-arrow" both the code from "menu.swf" and "game.swf" executes.. I only want the game.fla's "left-arrow" code to execute?

I also noticed that "game.swf" is basically layered over "menu.swf". Is there a more efficient way to load .swf files?

View 0 Replies

ActionScript 3.0 :: Navigation Between Multiple SWF Files?

Aug 20, 2009

I'm still working on this project and it got literally huge... at least huge enough to consume all of my 3 GB RAM memory and crash my Adobe Flash CS4. Anyway, I decided to put the site on several swf's but the problem is that I've never done that before so I have no idea how to navigate between them.

Basically I have a main swf file, inside it there's an image (let's say its instance name is "projects_btn") that should take me to "Projects.swf", and I want to click on an "x" sign (its instance name is "xSign_btn") inside Projects.swf that would take me back to the main swf file "Bnaider2.swf".

View 8 Replies







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