A python module to streamline real-time audio processing, analysis and visualization.
- Pyaudio:
sudo pacman -S python-pyaudio - Pygame:
sudo pacman -S python-pygame - (Optional) PulseAudio Volume Control:
sudo pacman -S pavucontrol
- Open
pavucontrol->Input Devices - Make sure
showis set toAll Input DevicesorMonitors - Set the monitor of your desired audio source as the default input device
-
Install Dependencies:
- Portaudio:
brew install portaudio - Pyaudio:
pip install pyaudio - Pygame:
pip3 install pygame
- Portaudio:
-
Create a Monitor of System Audio:
- Install BlackHole:
brew install blackhole-2ch - Restart your computer
- Create a Multi-Output Device following this
guide
- Make sure it uses BlackHole and the output device you want to capture
- Configure your system's input and output devices:
System Settings->Sound->Output->Multi-Output DeviceSystem Settings->Sound->Input->BlackHole 2ch
- Install BlackHole:
-
Install Dependencies:
- Pyaudio:
pip install pyaudio - Pygame:
pip install pygame
- Pyaudio:
-
Create a Monitor of System Audio:
- Install VB-CABLE: Download
- Restart your computer
- Configure your system's input and output devices:
Settings->System->Sound->Output->CABLE InputSettings->System->Sound->Input->CABLE Output
