Reputation: 21
When music is playing how can i draw a wave?
Upvotes: 2
Views: 2261
Reputation: 12515
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.
Upvotes: 0
Reputation: 1022
Here's a demo project that will allow you to visualize sound waves in C#:
http://www.codeproject.com/KB/audio-video/SoundViewer.aspx
Upvotes: 0
Reputation: 19717
This should help you out:
http://www.codeproject.com/KB/audio-video/SoundViewer.aspx
Upvotes: 4