Mugen is a ML-based parameterised music generator.
First set up the environment (see below). Then test with:
pytest
Features under development are marked with @wip
and are skipped from testing by default. To run those tests, run:
pytest -k wip
After a fresh checkout, or when requirements change, or when starting work:
source activate.sh
When stopping work:
deactivate
If you're using Iterm2, you can get figures displaying in your terminal with itermplot. Install it like this, and then run the tests as normal:
pip install itermplot
export MPLBACKEND=module://itermplot ITERMPLOT=rv
- Open the Audio MIDI Setup app
- Choose Window > Show MIDI Studio
- Double-click on IAC Driver
- Check Device is online
- Start Garage Band and add a software MIDI track
- Play a short test:
python -m mugen test-midi