strange noise when using remoteIO unit for playback and record simutaneously
strange noise when using remoteIO unit for playback and record simutaneously
- Subject: strange noise when using remoteIO unit for playback and record simutaneously
- From: Dean Ji <email@hidden>
- Date: Fri, 07 Mar 2014 22:50:44 +0800
I want to build a karaoke app for iOS which takes in the singer’s voice and combines it with the accompaniment track signal back to the speaker. remoteIO is my choice.
I chose to instantiate one remoteIO for playback and another remoteIO for recording. I had tested that the recording and playing back woks well, respectively. However, after combining those together, I get glitch noise whenever someone speck to de microphone. And I am not sure what the problem is.
The Recording format is 16000Hz, 1ch, 16bit, PCM
The PlayBack format is 44100Hz, 2ch, 16bit, PCM
The following is what I found:
When combining, the remote IO render call back buffer size become unstable(jump from one value to another), In my case, the bigger value is about 4096 bytes and the small value is about 400 bytes. And I think the bigger value is use for playback and the smaller one is for recording.
It’s really a nasty bug for me. Thanks in advance for your kind response!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden