title: Given a sound sample, how do I double its frequency
body: <p>if I have a sound file in .dat format, that looks like this</p>
  
  <pre><code>; Sample Rate 22050
  0.0 -0.0390625
  4.5351473922902495E-5   -0.0390625
  9.070294784580499E-5    -0.0390625
  1.3605442176870748E-4   -0.0390625
  </code></pre>
  
  <p>Where the left column is the second and the right column is the amplitude (-1.0 to 1.0)
  How do I double the frequency of the sound? Could someone give me the big picture of it?
  My understanding is that the frequency is how many times the sound is repeated over second. So if I halve all the value in the second column, does that double the frequency?</p>
  
  <p>Thank you</p>