change sound pitch (not in realtime)
Asked Answered
C

1

0

i alway had this question in my mind, but wherever i asked, i could never get an answer or a suggestion that would be helpful:

How can i pitch a sound (not realtime) ?

Im using AVFoundation framework to play my sounds like so:

AVAudioPlayer *player = [[AVAudioPlayer alloc] initWithContentsOfURL:TempRecFile error:nil];
    player.volume = 1;
    [player play];

How can i set the pitch or the frequency of my sound without having to use some othere frameworks like OpenAL. Although, if you know a place where i could learn some OpenAl you're very welcome :D

Cull answered 1/5, 2011 at 22:22 Comment(0)
S
1

There are a few iPhone time-pitch shifting libraries mentioned the this StackOverflow answer: Real-time Pitch Shifting on the iPhone, which work offline as well as potentially in real-time.

Here's a wikipedia article on time-pitch technology, and a dspdimention overview on the topic.

Stool answered 1/5, 2011 at 22:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.