Hi folks,
I'm trying to write a code to produce a sound tone where we can select the desired frequency.
In one picturebox I want to show the sine wave of that tone.

In the second picturebox I want to do the same, but instead of using a sine wave I want to show it using longitudinal waves.

How can I do that (representing that transverse wave into longitudinal one)?

For a graphic example, here you've a link where you can see what I'm talking about:
http://www.animatedscience.co.uk/blo...s/tl-wave.html