Active noise control
hello. im trying to make a program that could do some active noise reduction
for that i need to change a phase of the sound wave i get from microphone. any ideas? so far i only made a microphone code.
void Start()
{
AudioSource audio = GetComponent<AudioSource>();
audio.clip = Microphone.Start(null, true, 1, 22050);
audio.loop = true;
while (!(Microphone.GetPosition(null) > 0)) { }
audio.Play();
}
Answer by yoda-krkids · Jan 05, 2020 at 11:32 AM
How did it go? I think if you simply invert the phase without considering the delay, there will be a howling.
it goes no where... my script above is suppose to play audio the same exact time as "noise source", but i can hear a delay. i think its some kind of windows stuff. and to actually play audio at the same time i should use something else...
Your answer
Follow this Question
Related Questions
spectrum of microphone 0 Answers
Detect notes playing with microphone 0 Answers
Is it possible to overload methods from unity engine ? 0 Answers
Live Ingame sound doesn't work with headphones 0 Answers
What causes the audio clicking & how do I get a clean sound? 11 Answers