Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change voice pitch on audio recording

I am currently using AVAudioRecorder to record a spoken word(sometimes just one word, sometimes a whole sentence) and I need to store that audio with higher pitch on the voice.

I am quite new to the AudioKit. Any recommendations how to do this?

like image 769
beowulf Avatar asked Oct 12 '25 09:10

beowulf


1 Answers

There are two approaches. One, you could use AKPitchShifter which is a real time pitch shifter. Set the shift, and then use AKRecorder to recorder the stream. Next, you could record the audio first and then use AKTimePitch to pitch (or time) stretch the result, render the updated file offline.

like image 159
Aurelius Prochazka Avatar answered Oct 13 '25 23:10

Aurelius Prochazka