Objective c 如何在对话应用程序中减少背景声音?

Objective c 如何在对话应用程序中减少背景声音?,objective-c,audio,recording,Objective C,Audio,Recording,我在做一个会说话的应用程序,就像会说话的汤姆一样。我已经写了所有的代码,但是背景噪音非常明显。 我认为这与设置有关,因为我刚刚从网上找到的一个录音示例中复制了它们:/ 当前设置如下所示: NSDictionary *settings = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithFloat: 44100.0], AVSampleRateKey, [NSNumber numberWithInt: kAu

我在做一个会说话的应用程序,就像会说话的汤姆一样。我已经写了所有的代码,但是背景噪音非常明显。 我认为这与设置有关,因为我刚刚从网上找到的一个录音示例中复制了它们:/

当前设置如下所示:

NSDictionary *settings = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithFloat: 44100.0], AVSampleRateKey,     
[NSNumber numberWithInt: kAudioFormatAppleLossless], AVFormatIDKey,
[NSNumber numberWithInt: 1], AVNumberOfChannelsKey,
[NSNumber numberWithInt: AVAudioQualityMedium], AVEncoderAudioQualityKey, nil];
如果可能的话,谁能给我一些关于这些设置如何工作的提示