开发者

draw dot as a sound spectrum in bitmap

开发者 https://www.devze.com 2023-01-25 21:34 出处:网络
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?

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

精彩评论

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