Training RL ants to play a synthesizer. Extremely WIP. Uses python, with pygame window for display.
antophone.py
- run instrument - usea
key to add ants (A
to remove)train.py
- train antsfarm.py
- interactive ant farm for debugging RL (>
to step,n
for new game)
brew install portaudio --HEAD
brew install portmidi libsndfile liblo aubio
CFLAGS="-I/opt/homebrew/include -L/opt/homebrew/lib" poetry install
poetry shell
./main.py
a
|A
- add/remove antc
- clear ants>
|<
- faster/slower cycle timez
|Z
- zoom in/outm
- toggle muter
- toggle record (mic input)/
- hot reload config
(from poetry shell)
python ./setup.py py2app -A
./dist/Antophone.app/Contents/MacOS/Antophone