Take the 2-minute tour ×   1. Is there any audio/programming-
related stack-exchange site?   2. I'm trying to make a wave form
in WinForms   3. What algorithm should I use?  For example, if I
have 200 samples per pixel (vertical line), should I draw the
lowest and the highest sample from that portion of 200 samples?
Or should I draw average of low and high samples? Maybe both in
different colors?  share|improve this question There isn't much
of an algorithm behind it. You got numbers, the samples from the
audio file. Connect the dots with a line. A polyline works best.
Colors and scaling are completely up to your taste. –  Hans
Passant Jul 12 '12 at 12:36 Yes, but it only works when you use
very big zoom. If you have lots of samples per pixel, you need
to choose different solution. –  zgnilec Jul 12 '12 at 12:53 Why
not just sample the samples - pick one for every pixel? If
you're zoomed out far enough to have 200 samples represented by
a single pixel, I'm not sure how useful it is to know the
minimum and maxi