Search code examples
pythonaudiopyaudiozoom-sdk

Python code to get the (speaker)Audio of zoom app


I am trying to implement machine learning on the audio's received from zoom meeting. The sounds that are received at output of Speaker should get into a .wav file file or in a variable. I would like to receive python code for doing this. Thanks in advance


Solution

  • Depending on your operating system you have you will have to set this up differently.

    1. Need to create a virtual microphone
    2. Set that virtual microphone as the speaker for zoom
    3. Point pyaudio to grab that virtual microphone as an input device.
    4. Grab data from the stream, parse and feed it into your ML.

    I have used virtual microphones for zoom so I can control video and audio through my webcam rather than screenshare. One good virtual microphone that works on windows is "Voicemeeter".