Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 632 Bytes

File metadata and controls

51 lines (35 loc) · 632 Bytes

Chomsky

Development

Setup

cp config.py.example config.py
brew install pipenv
brew install portaudio
pipenv install

Run

pipenv shell
python main.py

Record

pipenv shell
python main.py record

Train

pipenv shell
python main.py train

Lint

pylint *.py chomsky/*.py chomsky/commands/*.py

Test

python -m unittest chomsky/test/*.py

Add a command

Create a new file at chomsky/commands/_wakeup/x.py (where x is the name of the command).

Run record to record trigger files. Place the files in sounds/commands/x.