# How do I use this? I think it is a singleton

**URL:** <https://forum.kirupa.com/t/how-do-i-use-this-i-think-it-is-a-singleton/217389>\
**Category:** flash\
**Created:** [February 26, 2007, 3:53pm UTC](https://forum.kirupa.com/t/how-do-i-use-this-i-think-it-is-a-singleton/217389 "2007-02-26T15:53:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raredesign](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@raredesign](https://forum.kirupa.com/u/raredesign)\
**Post date:** [February 26, 2007, 3:53pm UTC](https://forum.kirupa.com/t/how-do-i-use-this-i-think-it-is-a-singleton/217389/1 "2007-02-26T15:53:20Z")

</div>

At the bottom of this page:  
[http://www.schelterstudios.com/blog/?cat=5](http://www.schelterstudios.com/blog/?cat=5)

There is a section on spectrum analyzers.  
I spoke with steve (the guy who wrote it) and he said that the values are represented as 0 to 1, so 0 would be the lowest frequency.  
That is what I want; to grab the low frequencies ONLY, so how would this be used?

Let’s consider I have a movie on stage called mc\_ball.

Here is the link to his files as can be seen on the bottom of his page:  
[http://www.schelterstudios.com/labs/spectrums/files/SpectrumSamplers.zip](http://www.schelterstudios.com/labs/spectrums/files/SpectrumSamplers.zip)

NOTE:

I had a similar post, but I did the best with that one and got very close, however, it gets clouded when there are a lot of frequencies involved. I ended up just resizing the ball depending on the value read in by byteArray.  
I will still work with it, and may be able to get it to work well, but I would still like to learn how to use things like this guy made. I think he called it a singleton…

It is great that there are actionscript 3 tutorials out there, but this is a different world, and nothing seems to address spectrum analyzation very well.

Thanks
