audo-ai / magic-mic

Open Source Noise Cancellation App for Virtual Meetings
https://magicmic.ai/
350 stars 38 forks source link

Magic mic for Mac OS #64

Open akbarsha03 opened 2 years ago

akbarsha03 commented 2 years ago

Requesting an open source solution of the same for Mac OS. Thanks

MatthewScholefield commented 2 years ago

Thanks for creating the issue. Similar to Windows support, we would definitely welcome any contributions that add Mac OS support. A good place to start might be reverse engineering this tool. Similar to Windows, the Mac OS APIs for this are not pretty which is why we don't have immediate plans to implement it ourselves 😢.

akbarsha03 commented 2 years ago

Hi @MatthewScholefield , thank you for the suggestion. If you could help a bit more on the steps, it'd be great. Since I'm new to this stack, A brief guidance would help me to get this done. Thank you.

MatthewScholefield commented 2 years ago

Sure thing, so basically the first step would be to get some simple C/C++ code working that when run on a Mac will manipulate the microphone input stream and create a virtual mic. For instance, we could just add random values to the stream and it would make a modified microphone input that would be mixed with white noise. Getting a simple example like this should be possible by reverse engineering how SoundFlower works, but the tricky part is extracting only the necessary parts and not just recompiling a modified SoundFlower.

Once we have a simple example that works on mac for doing raw processing of audio on the microphone and creating a virtual mic, I can help out with the integration with Magic Mic, which shouldn't be too hard.

viezel commented 1 year ago

this might help/inspire https://github.com/ExistentialAudio/BlackHole

martijndierckx commented 1 year ago

+1 for mac support! krisp.ai and utterly.app are viable alternatives. And paying for such a tool is not a problem, but a god damn subscription fee ... HELL NO :-)

dajuda commented 1 year ago

+1 for Mac support