Playing around with on-board audio capture, analysis, and visualization in python.
- Mac osx
- Homebrew
- Python
>=3.6 - iShowU Audio Capture (see below)
On mac with homebrew installed:
brew install portaudiopython3 -m venv venvsource venv/bin/activatepip install -r requirements.txt
Next install iShowU Audio Capture and setup a virtual audio route:
- Follow the install instructions from the latest release
- Be sure to allow the developer in your security preferences in the last step, this is a second allow after entering your password in the
.pkginstall
- Be sure to allow the developer in your security preferences in the last step, this is a second allow after entering your password in the
- Open the native mac app
Audio MIDI Setup - Click the
+in the bottom left corner - Setup your new audio route by clicking the checkboxes next to iShowU and Built-in Output
- If you don't see iShowU then something went wrong in the install process
- Make sure to select drift correction for both sources
- Make sure both sources are at the same sample rate by switching the master device, this script assumes
96.0 kHz - Your final master device should be built-in output
- Optionally rename the new virtual audio route to something recognizable like
loopback
- After your iShowU loopback is created set the
INPUT_DEVICE_INDEXinconfig.py- Run
python helpers.pyto list your device indexes
- Run
cd rta/src
python run.py
Play some music ^.^
