I need to play an file which can either be mp3 or wav directly into my microphone. I cannot have it playing through my speakers though.
I have done some research and found that a module named sounddevice
was meant to help but it was not clear on how I would do this.
I do not care how many dependencies there are, I just want to play an mp3 or wav directly into my microphone without it playing in my speakers.
Thanks in advance :)