Imは、ファイルとマイクからバックグラウンドミュージックを記録するカラオケアプリケーションを作成しようとしています。 また、フィルター効果をマイク入力に追加したいと考えています。すばらしいオーディオエンジンマイク入力にフィルタを適用する方法
私は素晴らしいオーディオエンジンのSDKを使用して、上記に述べたすべてを行うことができますが、私はそれにフィルタを適用することができるようにチャンネルとしてマイク入力を追加する方法を見つけ出すカント(バックグラウンドミュージックに及びません。)
どんな助けもありがとう。
私の現在の記録コード:
- (void)beginRecording {
// Init recorder
self.recorder = [[AERecorder alloc] initWithAudioController:_audioController];
NSString *documentsFolder = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)
objectAtIndex:0];
NSString *filePath = [documentsFolder stringByAppendingPathComponent:@"Recording.aiff"];
// Start the recording process
NSError *error = NULL;
if (![_recorder beginRecordingToFileAtPath:filePath
fileType:kAudioFileAIFFType
error:&error]) {
// Report error
return;
}
// Receive both audio input and audio output. Note that if you're using
// AEPlaythroughChannel, mentioned above, you may not need to receive the input again.
[_audioController addInputReceiver:_recorder];
[_audioController addOutputReceiver:_recorder];
}
この問題を解決しましたか?私はまだ同じ問題に直面しています。 – Colin