How to visualize sound?
When music is playing how can i draw 开发者_如何学编程a wave?
This should help you out:
http://www.codeproject.com/KB/audio-video/SoundViewer.aspx
Here's a demo project that will allow you to visualize sound waves in C#:
http://www.codeproject.com/KB/audio-video/SoundViewer.aspx
You can draw a graph and over time vary its height based on pitch, on volume, or just about any combination you may wish. A standard is to vary the period based on frquency of the sound and height on amplitude.
精彩评论