draw dot as a sound spectrum in bitmap
I looking into become a sound programmer.
As I could fi开发者_C百科nd some sound analyzer would display a nice spectrum of color on bitmap. Which API do I draw a dot shape? Is it circle or line?
Is it possible to resize the bitmap width and height after adding all the dots?
In order to create a graphic representation for audio, you will need to use the SoundMixer class computeSpectrum() method. There's a use example on the docs.
As for the rest of your question, I'm not quite sure what you're looking for... In any case, you can use the Graphics API , which is available on Bitmap or more generally DisplayObject
精彩评论