开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜