title: audio sample frequency pitch
body: <p>Im trying to find out how to change the pitch of a block of samples.
  So far ive been using the smbPitchShift code yet but someone told me pitch shifting can be done in a simple conversion of frequency.</p>
  
  <p>Say right now i have a block of 2000 samples running at frequency 44100hz.
  How do i manage to shift the pitch by 2 octaves up (24 semitones) ?
  This guy told its just a conversion of 1/frequency, which i dont really understand.</p>
  
  <p>Its a VST plugin im trying to develop in C++.</p>
  
  <p>Thanks.</p>