- OBS
- Python 3
- Install the Python requirements:
python3 -m pip install -r requirements.txt
- Note that I probably could use a virtual environment, OBS would then need to load Python from
venv/bin
, which I couldn't test while live-streaming.
- Note that I probably could use a virtual environment, OBS would then need to load Python from
- Install LocalVocal
- Add LocalVocal as a filter on your microphone. E.g. my setup looks like this:
- Set up scripting in OBS
- Go to Tools → Scripts
- Under the Python Settings tab, choose the location to a version of Python that's compatible with OBS. There isn't very much information on how to find that version. I specified this on macOS:
/opt/homebrew/Cellar/[email protected]/3.11.7_1/Frameworks
. - On the Scripts tab, add the script from this repo.
- For now, the script has hard-coded parameters, e.g. for the name of scenes to switch to or the names of files, so you have to modify the script directly and then click the "Refresh" button on the Scripts tab.
- Make a
password.txt
in the repo with the bot's server's password in it. - Make sure
/etc/hosts
has an entry forminipc
on the local network. Note that the bot functionality only works on the local network.
This code was created in early 2024 for Adam's Code Jam.