how to change the pitch of recorded audio getting me following error
问题 Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: node != nil' AVAudioFile *file=[[AVAudioFile alloc] initForReading:_recordedvoice error:nil]; AVAudioFormat *format=file.processingFormat; AVAudioFrameCount capacity= (AVAudioFrameCount)file.length; AVAudioPCMBuffer *buffer=[[AVAudioPCMBuffer alloc] initWithPCMFormat:format frameCapacity:capacity]; [file readIntoBuffer:buffer error:nil]; [playerNode scheduleBuffer:buffer