Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Sound Spectrum And Praises



I just stumbled across this site, and am so glad that I did - the tutorials are laid out so simply and easily. It would be nice if the videos were in flv format instead of mov, because for some reason it doesn't player properly in firefox with mediaplayer - so I have to load it in quicktime which slows my computer to a crawl. Anyways, great tutorials!I came across the sound spectrum tutorial, and was surprised how simple it was to do that effect. I'm a bit of a beginner at Flash - I have lots of experience with scripting and programming, but Flash is still a bit new to me. What I'm wondering is whether it's possible to instead of using a pre-created sound file - pull audio from the user's computer instead. So if the user plays music, and hits Yes on the security message that popups up in flash - then you could listen to the audio and use that to display the audio.Maybe you could write a tutorial on it, or maybe someone can just fill in the pieces needed for that. Again awesome site, bookmarked it



General Flash
Posted on: Wed Apr 16, 2008 3:22 am


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Sound Spectrum
Hi, I need to create a sound spectrum analyzer like the preview console used in the sound section. Does anyone know of a tutorial on creating one or one that is ready to go. Thanking you
Miffy

Sound Spectrum
I'm creating a game which uses a sound spectrum to create the level, think Audio Surf. I know all about SoundMixer.computeSpectrum which outputs the spectrum live. I'm looking for a way to easily pre-compute the sound spectrum so the levels can be made ahead of time.

Is this possible?

Thanks!

Sound Spectrum
Hello everyone I am working on a project where we have to create a music player.But there is a problem that the client wants sound equalizer for that
I came to know that it is possible in actionscript3.But I am very new to it .If anybody have an idea for that or any tutorial available for that using sound object.
Thanks in advance

Sound Spectrum
Hi,

I am trying to create a player in which I need to display a sound spectrum inside a canvas........But I am getting an error like: can anyone of u tell wt is this error about...?

TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Bitmap@ae911c9 to mx.core.IUIComponent.
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:dev3.0.xframeworksprojectsframeworksrcmx coreContainer.as:3251]
at mx.core::Container/addChildAt()[E:dev3.0.xframeworksprojectsframeworksrcmx coreContainer.as:2200]
at mx.core::Container/addChild()[E:dev3.0.xframeworksprojectsframeworksrcmx coreContainer.as:2140]
at action::NewAudioPlayer/okSlider()[C:Documents and SettingsjosnajMy DocumentsFlex Builder 3accordianAudioPlayersrcactionNewAudioPlayer. as:390]

Sound Spectrum
First shot at using using the SoundMixer
Basic setup from theflashblog.com

preview : http://flinkmedia.net/projects/soundspectrum/
as : http://flinkmedia.net/projects/sound...undSpectrum.as

Cheers!

Edit: Attachment added

Sound Spectrum V2
Made some adjustments to the earlier sound spectrum thingy i made before.

ill post the source tomorrow.

have fun

http://flinkmedia.net/projects/soundspectrumv2/

controll the rotation in 3d with your mouse

cheers

EDIT:

I attached the sourcefiles. (no sound file included)

Sound Spectrum
can someone give me link of toturial or example how to create sound spectrum something like that?thanks

http://www.flashsites.nl/example/SoundS ... roll7.html

Sound Spectrum
Hi, i followed the tutorial here regarding the sound spectrum.

Now i only wanted to have 6 bars wich moves along with the music.

So instead of making a for lus wich goes trought 256 items i only made it go through 6.
But i was wondering if this is the correct way to do it.

I have 6 bars on my stage (balk0, balk1, ....)
Code:

init();

var s:Sound;
var ba:ByteArray = new ByteArray();

var tween:Tween;

function init():void
{
   s = new Sound(new URLRequest("music.mp3"));
   s.play(0, 1000);
   
   this.addEventListener(Event.ENTER_FRAME, enterFrameHandler);
}

function enterFrameHandler(e:Event):void
{
   SoundMixer.computeSpectrum(ba, true);
   
   for(var i:uint = 0; i < 6; i++)
   {
      var num:Number = ba.readFloat() * 200 + 150;
      
      this["balk"+i].height = num;
   }
}


ps: sorry for my bad english, but i'm dutch

Spectrum Efect On A Sound
Greetings.

I was taking a look at the wonderful Flashkit's tuturials, and saw one that particularly interesested me : here

This is a great tuturial, but it uses an imported wav sound to play, I wanted to do the same effect with an external ".mp3" sound, so that the .swf wouldn't got too big.

But I don't seem get to work with it, (the spectrum stays still) could you give me any tip? I would be very glad!

Thanks for your support!

How To Create Sound Spectrum Like This...
I am action script developer in a software company & i got stuck at this point..plz help me out

AS3 Sound Spectrum Experiment.
I have recently created an actual site for myself for the first time in years in order to host any experiments i do, and here is the first one. An experiment using the compute spectrum function to create useless but pretty graphics using the lovely bitmap filters! (click in the top half of the flash to switch between the two modes)

http://www.walkingbaby.co.uk/sound1.html

The source code is there to download. If anyone has any comments or crits on the code i would love to hear them. Hopefully there will be more experiments to come. I have a couple lined up but doing html bores the hell out of me so it may take me some time to actually get them online!

Let me know what you think.

Sound Output Spectrum
Have you seen on www.flashkit.com that you can download sound files and there is a preview console. Well my question is does anyone knows how did they capture the sound output spectrum values of the selected playing sound? I think that preview console is great!

Sound Spectrum Display 2
A couple of other quick questions on the code. Is there a way to have the visualizer run without the audio playing? And is there a way to extend the width of the spectrum?

var s:Sound = new Sound(new URLRequest("Valerie.mp3"));
s.play(0, 1000);

var ba:ByteArray = new ByteArray();

addEventListener(Event.ENTER_FRAME, loop);

function loop(e:Event):void
{
graphics.clear();
graphics.lineStyle(1,0xff9100);
//graphics.beginFill(0xFF9100);
graphics.moveTo(-1, 300);
SoundMixer.computeSpectrum(ba, false);
for(var i:uint=1; i<256; i++)
{
var num:Number = -ba.readFloat()*50 + 75;
//graphics.drawCircle (i*2, num, 10);
graphics.lineTo(i*2, num);
}
graphics.lineTo(920, 150);
graphics.lineTo(0, 150);
graphics.lineTo(-1, 150);
}

Sound Spectrum Display
I've been experimenting with the Sound Spectrum Display tutorial with much success though I got stuck on trying to make the spectrum line be more curved and smooth like a sound wave. I was trying to use the curveTo function but I just can't get it to work. Has anybody had any luck smoothing out the rough edges of the audio visualization.

Working Sound Spectrum Analyzer
Hi,

how can I make a REAL spectrum analyzer in flash? it is possible since I think the tiny sound players in the flashkit sound archive use REAL spectrum analyzers too.

but HOW can i build one? please help! please...

Spectrum Analyzer That's Synchronized With The Sound
can anyone help me or give me an FLA of how to make a spectrum analyzer that's in sync with the sound that's playing? i mean, not just random movement. fla's will help me understand better.

Sound Spectrum Data At Load?
I'm looking for some help on how I can load an mp3 and access the Sound Spectrum Data without accessing it through SoundMixer.computeSpectrum durin play back... I want to be able to create a spectrum graph of the entire mp3 like you see in a sequencer once its loaded. thanks.

Sound Spectrum Issue With Firefox
I am using the sound spectrum class to create an equilizer using the classes from http://www.everydayflash.com/blog/in...r-in-flashas3/

I have got it to work fine locally in the flash IDe when i go to preview the file however when i go to preview the file in firefox it throws errors. If i preview it in IE then it shows fine.

I have previewed other sound spectrum stuff and i get similar errors or sandbox violation errors. I am using the latest flash player too.

On a mac in firefox 3 it just shows it with no EQ, on firefox 2 on a PC it gives me erorrors and it IE on a PC it works perfectly.

Not sure why i am getting the errors if it shows fine in the IDE but not when i preview it in the browser. Am i doing something wrong?

Sound Spectrum Data Without Playing?
Hi, I've been searching around lots of forums for this...

Can you access sound data (like computeSpectrum) of a loaded sound object without actually playing the sound? ie. to show an amplitude graph for an entire mp3 clip as would an audio sequencer.

Thanks in advance...

Cross Domain XML, Sound.Spectrum, And FMS 2
I've created a custom video / audio player which gets it's video / audio content from a Flash Media Server. I'm trying to use SoundMixer.computeSpectrum() to create a nice audio spectrum line. I'm getting this sandbox security error. I'm already using a crossdomain.xml to allow another flash object to call a webservice and it works fine, but since my videos are on another server, I'm not sure what I should do to get this working? Has anyone run into this issue before or have any words of advice?

SecurityError: Error #2123: Security sandbox violation: SoundMixer.computeSpectrum: http://www.MYSITE.com/Flash/player.swf cannot access rtmp://192.114.20.88/Videos. No policy files granted access.
at flash.media::SoundMixer$/computeSpectrum()
at TEVideoPlayer/spectrumPlayer()
at TEVideoPlayer/volumePlay()


Thanks
Drewskiibob



























Edited: 07/24/2008 at 08:09:31 AM by drewskiibob

Sound Spectrum Flash Player 9
http://www.fmx6.com/SoundSpecfla3.html
just a series of bitmaps with filters reacting to sound.
i`ve not tried to buffer the sound anymore than the default so may break up on slow connections.
source
http://www.fmx6.com/teststuff/sound.rar

How Should I Render Frequency Spectrum While Loading Sound
Hello

I am action script developer in a company. I want to render my freequency spectrum while loading sound.I tried it different way.please suggest any way to do it

Advanced Filter Effects/Sound Spectrum
hi,

i've watched the tutorials on advanced filter effects and sound spectrum display for as3.
Now I wonder if there's a possibility to "offset" the blurry circles that are dynamically created by the sound from these dots. In other words: I want the circles to be off the stage (at the bottom) and the glowing spectrum to be on the stage, about 30 pixels from the bottom.
The effect is shown in a screenshot of the Zune Media Player Software (http://shadowsillusion.com/blog/wp-cont ... ection.jpg) at the bottom there's a orange/pink glow.

thanks for posting a solution

Philipp
http://www.freenet-homepage.de/phbu/

This is "my" code:

Code:

//global
function reposbg ():void {
   mywidth = stage.stageWidth;
   myheight = stage.stageHeight;
}
var mywidth:Number;
var myheight:Number;
reposbg ();

//XML
var xmlloader:URLLoader = new URLLoader ();
xmlloader.load (new URLRequest("directory.xml"));
xmlloader.addEventListener (Event.COMPLETE, loaded);
var xml:XML;

function loaded (e:Event):void {
   xml = new XML(e.target.data);
   //fire up the jukebox!
   initialize ();
}

//Jukebox
var s:Sound;
var myrequest:URLRequest;
var mycontext:SoundLoaderContext;
var mychannel:SoundChannel;

function initialize ():void {
   var rdm:Number = Math.round(Math.random()*xml.jukebox.item.length());
   trace (xml.jukebox.item[rdm].attribute("song"));
   trace (xml.jukebox.item[rdm].attribute("artist"));
   trace (xml.jukebox.item[rdm].attribute("album"));
   var loadsong:String = new String (xml.jukebox.item[rdm].attribute("name"));
   myrequest = new URLRequest("jukebox/tracks/"+loadsong);
   s = new Sound ();
   s.load (myrequest,mycontext);
   mycontext = new SoundLoaderContext(5000);
   mychannel = s.play ();
   mychannel.addEventListener (Event.SOUND_COMPLETE, nexttrack);
   mychannel.soundTransform = new SoundTransform(1, 0);
}

addEventListener (Event.ENTER_FRAME, loop);

var ba:ByteArray = new ByteArray();
var bmd:BitmapData = new BitmapData(mywidth, myheight, true, 0x000000);
var bm:Bitmap = new Bitmap(bmd);
addChild (bm);

var sp:Sprite = new Sprite();
addChild (sp);

var blur:BlurFilter = new BlurFilter(8,8,3);
var colorMatrix:ColorMatrixFilter = new ColorMatrixFilter([0, 0, 0, 0, 0,
     2, 1, 1.1, 0, 0,
     0, 2, 1, 0, 3,
     0, 0, 0, 1, 0]);

function loop (e:Event):void {
   sp.graphics.clear ();
   sp.graphics.lineStyle (1, 0x666666, 0.8);
   SoundMixer.computeSpectrum (ba, true);
   for (var i:uint=256; i>0; i--) {
      var left:Number = -ba.readFloat()*30 + (myheight+5);
      sp.graphics.drawCircle ((mywidth/2)/512*(i*2), left, 0.5);
   }
   for (var p:uint = 256; p<512; p++) {
      var right:Number = -ba.readFloat()*30 + (myheight+5);
      sp.graphics.drawCircle ((mywidth/2)/512*(p*2), right, 0.5);
   }
   bmd.draw (sp);
   bmd.applyFilter (bmd,bmd.rect,new Point(0,0),blur);
   bmd.applyFilter (bmd,bmd.rect,new Point(0,0),colorMatrix);
}
function nexttrack (e:Event):void {
}

Sound Spectrum Display Of Music File
I am new to Actionscript 3 and have finished numerous tutorials on sound spectrums but I could not find one that showed how to display the audio information as a static timeline (like in Cool Edit Pro). Is this possible?

Thanks,

Hoss

Spectrum
I don't know how to call this, and I don't know if i posted in the right section.

here:

HTML Code:
http://asia.geocities.com/andrew11_11_86/butterfly_catcher.swf
Script:

Code:
var ctr = 0;
var R = 0;
var G = 0;
var B = 255;
var colorSwitcher = 0;
_root.onMouseMove = function() {
var myCircle:MovieClip = _root.attachMovie("myCircle", "myC"+ctr, ctr++);
myCircle._x = _xmouse;
myCircle._y = _ymouse;
myCircle.c = new Color(myCircle);

switch (colorSwitcher) {
case 0 :
if (R>=255) {
colorSwitcher = 1;
} else {
R++;
B--;
}
break;
case 1 :
if (G>=255) {
colorSwitcher = 2;
} else {
G++;
R--;
}
break;
case 2 :
if (B>=255) {
colorSwitcher = 0;
} else {
B++;
G--;
}
break;
}


var currentColor = (R << 16)+(G << 8)+B;
myCircle.c.setRGB(currentColor);
if (FF>255) {
FF = 0;
}
if (ctr>=500) {
ctr = 0;
}
};
where "myCircle" is the linkage name of an animated MovieClip from the library.

In this case, I created a shape tween from a Big Opaque cirlce to a transparent small circle.

You may have other shapes rather than that.

I Need Something Like Spectrum Analyzer
100% you all guys have worked with Winamp V(Something)
and you know what do I mean by Spectrum analyzer.
What I need is to have a Spectrum analyzer in my flash movie when ever some musics starts.

So I'm looking for the action codes if there is anything usefull Thanks


Hadi

Spectrum Analyzer
When you search for a SoundFX on FlashKit and click on one to hear it, you get this...



How would I make one of these for externally loaded, streaming mp3s?

FFT Help (spectrum Analyzer)
Im trying to develop a spectrum analyzer for a flash application. I realize that there are a lot of 3rd programs that take mp3's and covert them into readable streamable data files that flash can display graphically. Unfortunately i cannot use any 3rd party software, so im trying to research how exactly programs like swiftmp3 , etc, handle mp3 files and generate data from it. From what i understand a free fourier transform algorithym is applied. Anyone know of any open source applications, or tutorial sites, for c+ java, etc that would be able to explain the exact working of this. thanks !!!

Spectrum Math
Does anyone know the math to create this type of spectrum?



I'm using the F8 bitmap object and this image for a color preferences panel, and would like to use the same image for a fall-back to F7.

For F8, I'm using getPixel(), for F7 I'll need to determine the color (or as close an approximation as possible) using the math used to create this type spectrum.

Omg Spectrum Analyzers
http://www.schelterstudios.com/labs/.../spectrum.html

yeah I know i shamelessly took the ring idea from Lee from the gotoandlearn forums, but the graphics API is the easy part...under the hood I went much more elaborate and built some utility waveform/frequency samplers that can be shared by anything in your project to permit sweet stylistic effects based on floating point values.

In this example I took the ring visual a step further and used alot of different samples of spectral data.

rings colors: color effects applied to smaller rings correlate to low frequencies while color effects applied to larger rings correlate to high frequencies. (red = left channel, blue = right channel, purple = both)

ring ripples: diagonal translation relates to the left channel waveform data.

ring thickness: line thickness relates to the right channel waveform data.

Static Spectrum
I'm exploring the computespectrum method and trying to make it compute faster than realtime.
Is it possible to fastforward sound and still compute it.. Or might there be another way around?
Input the file as raw data and use some algorythm to compute..?
Any ideas on the subject matter is greatly appreciated..
Thank you

Spectrum Bars
Hi ,

I have made a MP3 Player in which spectrum bars acts on Sound .. I used computeSpectrum function from SoundMixer Class. Everything is going well.... But when I run my player and open any other player (from You tube for example) in the same window then Spectrum bars stops responding.

Am I doing something wrong.. or I am missing something ??

I want my players Spectrum bars should not be interrupted even if other player is opened in same browser window,.... is it possible ??

if yes then How ? Please Help

Thanks in advance..
Inder

Spectrum Values
Hello.

I'm trying to create that effect where I have a whole bunch of bars that jump up and down in sync with the music.

So far, I've used swiftmp3 and converted my sound to a .swf which is supposedly how I get spectrum values (don't know where they are though).

Now that I've completed this step, can someone tell me what I do next to create bars that follow these spectrum values.

Spectrum Analyser
Hi there peeps
does anyoneknow how to make a spectrum analyser thingy, like on <a href="http://www.electrongeek.net" target="_blank">electron geeks website</a>
its the thingy that jumps up and down to the beat of the music

thanks in advanced

Frequency Spectrum
Hello everyone.

Here's my deal: I have a streaming MP3 player that gets it's feed from an XML file. Simple right?

Well, how can I make a frequency spectrum that "actually" responds to the frequencies being played in a certain track? Is it possible to make such a spectrum?

Please help.

Thank you all very much!

Spectrum Analyzer
This seems to be everyone's first AS3 endeavor (sorta like Pong is everyone's first game), but oh well.. gotta keep up with the joneses's..


ActionScript Code:
package { import flash.display.Shape; import flash.display.Sprite; import flash.media.Sound; import flash.media.SoundChannel; import flash.media.SoundMixer; import flash.utils.ByteArray; import flash.net.URLRequest; import flash.events.*; import flash.geom.*;  public class SpecAnny extends Sprite{  private var _barArray:Array;  private var _sound:Sound;  private var _sc:SoundChannel;  private var _ba:ByteArray;  private var _numBars:int;    public function SpecAnny(){   _barArray = new Array();   _sound = new Sound();   _sc = new SoundChannel();   _ba = new ByteArray();   _numBars = 8;      stage.frameRate=31;   initDisplay();      function initDisplay():void{    for (var i:int = 0; i < _numBars; i++){     var bar:Shape = new Shape();     var mat = new Matrix();     mat.createGradientBox(5, -75, 90*(Math.PI/180));     bar.graphics.beginGradientFill("linear", [0x00FF00, 0x990000], [100, 100], [0, 255], mat);     bar.graphics.drawRect(0, 0, 5, -75);     bar.y = bar.height+50;     bar.x = 50 + i*8;     addChild(bar);     _barArray.push(bar);    }    startSound();   }      function startSound():void{    _sound.load(new URLRequest("my.mp3"));    _sc = _sound.play(0, 25);    var enterFrameController:Sprite = new Sprite();    enterFrameController.addEventListener (Event.ENTER_FRAME, animate);   }      function animate():void{    var yscale:Number = 0;    SoundMixer.computeSpectrum (_ba, true, 0);    for (var i:int = 0; i < _numBars; i++){     yscale = _ba.readFloat();     _barArray[i].scaleY = yscale;    }   }  } }}


example: http://www.onebyonedesign.com/flash/specAnny/

Spectrum Analyzer
I have to very urgently create a spectrum analyser in flash. i have to show the animation using a total of 6 bars. flash computespectrum generates values -1 to +1. so how do i create a bar visualization which can have values within 0 to 100, with these values. i am not a physics guy. please help....

note: i dont want to use bitmapData class. only values for normal scaling in y axis

Spectrum Values
Hello.

I'm trying to create that effect where I have a whole bunch of bars that jump up and down in sync with the music.

So far, I've used swiftmp3 and converted my sound to a .swf which is supposedly how I get spectrum values (don't know where they are though).

Now that I've completed this step, can someone tell me what I do next to create bars that follow these spectrum values.

Music Spectrum
is it possible for flash to either listen to the music its playing inside itself or listen to music that is playing on the computer, like in winamp. and then have flash make a spectrum scope or like lights that flash to the beat of the bass, mid range and trebble


i hope people know what im on about :-

Cheers people!

Benji Man

Spectrum Analyzer
I am coding a spectrum analyzer to use in a flash media player.

I have two types of analyzers:

-Wave-type: displays a sound wave form
-Bar-type: displays a frequency spectrum (low frequencies are represented on the left and high frequencies are on the right).

Bar-type analyzer is computed by using the FFTMode parameter in Flash's computeSpectrum method.

Now, everything looks fine when testing the wave-type analyzer.

But in the bar-type analyzer:
It looks like lower frequencies (bass sounds) are displayed too high than I think they should be and higher frequencies (treble sounds) are displayed rather low.
Trying to get a more objective idea I've compared it with winamp's basic visualizer and it seems bass sounds are really displayed higher in my analyzer.
I'll look deeper in the ByteArray values computed by the computeSpectrum, but a quick test shows me a few zero amplitudes in higher frequencies where I think they must be non-zero (strangely they are already non-zero when I test the same sound in waveform type).

There are very few resources on the net about computeSpectrum so I wonder if anyone can show me a bar-type analyzer example so I can test and compare with my own.

See also Accessing raw sound data in Flash CS3 Documentation. Modifying the example on this page (by switching the FFTMode parameter), gives me just about the exact result I'm getting with my own bar-type analyzer.)

EDIT: Added few screenshots, to view numeric values: 256 values displayed for two analyzer types, and each number is average of left and right sound channels.

EDIT2: Added a zip file for a simple visual test. Please rename any mp3 you have to song.mp3 and put it in the same folder, where you extract the archive.

Spectrum Analyser
> I'm working on a media jukebox (in FlashMX 2004 Pro) and
> I wold like to know if there is any way to create a real
> working spectrum analyser that moves in the tune of the
> song. I don't like one that's fake.

> P.S. In case spectrum analyser it's too fancy ... i mean
> the little bars that go up and down according to the song

> 10x.

[color=#FF0000]I don't surf the Internet, I dive right in.

AS3 - Flash Spectrum
Hi

Does anybody any idea how to display audio spectrum (not animation) like ultra shock mp3 player.

http://www.ultrashock.com/#/assets/audio/

Place Spectrum In Box
Great tutral on spectrum,, I have it working on my podcast player but it is on the back of the whole thing.. so I made a box hit F8 made it a movie gave it the instance name spectrum now I want the spectrum to show in the box

so what do I have to do to this code to make it show in the instance spectrum
Code:

var ba:ByteArray = new ByteArray();
addEventListener(Event.ENTER_FRAME, loop);
function loop (e:Event):void
{
   graphics.clear();
   graphics.lineStyle(1, 0xFF0000);
   graphics.moveTo(-1, 150);
   SoundMixer.computeSpectrum(ba);
   for(var i:uint=0; i<256; i++)
   {
      var num:Number = ba.readFloat()*200 + 150;
      graphics.lineTo(i*2, num);
   }
}


thank you
Jay

Dynamic Spectrum Analyser
hey, is there any way to create a dynamic spectrum analyser that adjusts the height of the specific frequency bars due to the amount of power on the frequency band? im pretty sure there used to be one on here, but if anyone has their own, could ya please help me.

Adam

Spectrum Analyzer In Flash
I want to make a spectrum analyzer (at least I think thats what its called). If you dont know what I meen they have them on the perview sound things in the sound fx section. Anyway, I'm not looking for a compleat code, I just need to know where to start. Like, for startes, what those bars represent, and how to go about reading those values. Any help would be great.

Spectrum Analyzer In Flash
Hi!

I'm making a music player in flash, and was wondering if there's any way I can make a real spectrum analyzer. I know that there's no way to do this using only AS, but I seem to recall reading about something long ago... About using a 3rd party program to analyze the music and output it in numbers to a file, and then parsing the data in AS..

I'm know my way around AS, so if I just get the spectrum data to a file, it'll make my day! Anyone?

Anyways, they've got one working over at heavy.com, I'd kill to know how they did it...

--
@ndre

Spectrum Analyser Question
I have read the tutorial...
http://www.flashkit.com/tutorials/Au...-849/index.php

now is this an external spectrum analyser...
if it is can I make one that plays inside of flash movie/web through navagation... how?

Looping Through A Color Spectrum
I'm trying to figure out a way, while generating particles, to run through a color spectrum as they are created (so that each new particle is a new color moving along the spectrum). is there a way to do this without setting up an enormously long array? is there some math formula that allows the RGB to cycle through central colors on a spectrum? Please advise, thanks.

Random Color Within A Certain Spectrum
i'm making a simple "particle system." I've got everything working but i want the colors of my graphics to be diffrent shades of blues and grays. Right now it randomly picks colors out of the whole color spectrum. I would be greatful for any help.
thanks
here is my current code:
private function onLoop(evt:Event):void {
var p:Particle = new Particle(emitterX, emitterY, Math.random()*11-6,Math.random()*-20, 1,Math.random()*0x0000ff);
addChild(p);
}

Copyright © 2005-08 www.BigResource.com, All rights reserved