AudioStreamer
AudioStreamer copied to clipboard
Disable Feedback
Is there a way to disable the voice feedback?
What do you mean? Echo canceling?
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
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.
Or do you mean simply implement an option to turn off local play back?
Yes, sorry for my bad English. Is the second one, I want to stream my audio but turn off the local playback
ok. make sense. I will fix it on spare time.
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?
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.