I think this happens because the Flash Player instances in the browser are sharing sound resources, which is a "good idea" because the sound API's (for Windoze definitely) only have limited resources, so the player is probably trying to be nice and not hog resources completely. I guess the SoundSpectrum comes from a global buffer used by all instances of the player. Again this is probably another good thing because allowing lots of player instances to do FFT's would seriously hamper performance too, but I guess there needs to be some kind of switching between the buffer that has focus, or allowing more than one spectrum to be computed, but maybe control this in the settings so people can have 1 or more depending on how much they like to eye candy.

I had problems in the past with stopAllSounds or something similar that stopped all sounds - across all tabs, so again, this could be for the same reason.


Martin Klasson wrote:
Hello Flashcoders,

To see the problem with the Spectrum, just open up firefox and
have two tabs with the following links:

http://www.flashsites.nl/example/SoundSpectrumBitmapScroll7.html
http://www.thesminc.com/demo/sound/

These two samples are using the sound spectrum in AS3,
and this is what happens when both of them are played
in two tabs. WHY, it must be considered as a bug when
this has been implemented in such way?

Or is there any solution that you know of?


--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to