Open mkunz7 opened 2 months ago
Docker is a pain because there isn't a good way to forward microphone devices to it in mac.
I was able to get this working on my m2, it just took some improvising:
git clone https://github.com/hackandbackpack/phoneybaloney.git
cd phoneybaloney
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
It'll complain it doesn't have a version of pyaudio
brew install portaudio
pip install -r requirements.txt
python3 phoneybaloney.py
It'll finish installing deps this time, but when you run it, it will complain about pkg_resources
It took a while but I found installing setuptools fixed it
pip install setuptools
Although after running it'll take an audio sample it tries to use the flac command line utility and fails
brew install flac
Now it can run properly
You guys should consider porting this to a web app vs terminal as it'll make the process to entry a lot smoother
Hi @mkunz7. Got some help and realized for OSX you have to also install the pyaudio19-dev python package. It wouldn't install using pip, but it will using brew. Added that note to the installation instructions.
As far as Docker, can you provide some more detail? I imagine there might be an issue with your mic/speakers accessing the docker container?