AudioStreamer icon indicating copy to clipboard operation
AudioStreamer copied to clipboard

Disable Feedback

Open adrianlee opened this issue 11 years ago • 8 comments

Is there a way to disable the voice feedback?

adrianlee avatar Mar 26 '13 09:03 adrianlee

What do you mean? Echo canceling?

agektmr avatar Apr 01 '13 07:04 agektmr

Hi, I'm with that problem too. I need to disable the sound that my own micro do when streaming the audio.

Thanks for the help

rpgomes avatar Mar 04 '14 15:03 rpgomes

This is a fundamental problem whole system including hardware holds. It's natural that the microphone picks up sound from speakers near it. Excellent implementations like Google Hangout, Skype, etc should have "Echo canceling" feature in it.

"Echo canceling" is a big deal for audio processing in general. But I'm not an expert on it. Let me know if you find any good libraries I can borrow.

agektmr avatar Mar 04 '14 15:03 agektmr

Or do you mean simply implement an option to turn off local play back?

agektmr avatar Mar 04 '14 15:03 agektmr

Yes, sorry for my bad English. Is the second one, I want to stream my audio but turn off the local playback

rpgomes avatar Mar 04 '14 16:03 rpgomes

ok. make sense. I will fix it on spare time.

agektmr avatar Mar 05 '14 02:03 agektmr

In public/js/AudioStreamer.js in line 203 in InputSource, In my project I comment this line:

event.outputBuffer.getChannelData(i).set(buffers[i]);

I wonder if there are a more clean way to disable our audio in the speakers?

rpgomes avatar Mar 09 '14 10:03 rpgomes

If that works, that should be it. But I would rather add GainNode before visualizer to control volume of local output. It needs a bit of tweak on UI as well so you need Angular knowledge. I'm happy to add that functionality but unfortunately I don't have much time to fix it soonish. Will nail when I have free time.

agektmr avatar Mar 10 '14 06:03 agektmr