title: Changing Voice Pitch using AVAudioPlayer
body: <p>I have an app that repeats back what you say, however, rather than just repeat your own voice, I was hoping I could get it to pitch it lower or higher, is this possible?</p>
  
  <p>Method is here;</p>
  
  <pre><code>-(void)playOnMainThread:(id)param
  {
      if (!outUrl) {
          return;
      }
      player = [[AVAudioPlayer alloc] initWithContentsOfURL:recorder.url error:&amp;error];
      if (error)
          NSLog(@"AVAudioPlayer error %@, %@", error, [error userInfo]);
  
      player.delegate = self;
      [player setVolume:10.0];
      [player play];
  }
  </code></pre>