Open jackyetz opened 1 month ago
Sorry, but I'm not clear on what the issue is.
Sorry, but I'm not clear on what the issue is.
i wanna get the acoustic echo cancelled microphone audio data, but failed. Can u help me. See above for the detailed error prompt
Following the "https://placeholder-software.co.uk/dissonance/docs/Tutorials/Acoustic-Echo-Cancellation.html", I am trying to deal with the Echo issue using the class AECHelper (see https://github.com/jackyetz/pub/blob/main/AECHelper.cs). The following first paragraph of code in my main thread calls AECHelper, and "
aechelper.Update()
" in the Update() of the main thread. When retrieving the audio data using the following second paragraph of code, I got error prompt (see the bottom paragraph) which happened with "recordClip.GetData
".BTW, if instead using "
audioLocal.clip = Microphone.Start(device, true, loopLength, sampleRate)
" to retrieve audio data, no error prompt come out.