Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1001 Bytes

README.md

File metadata and controls

52 lines (35 loc) · 1001 Bytes

Mugen is a ML-based parameterised music generator.

Testing

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

Setup

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

Playing MIDI on Mac OS

  1. Open the Audio MIDI Setup app
  2. Choose Window > Show MIDI Studio
  3. Double-click on IAC Driver
  4. Check Device is online
  5. Start Garage Band and add a software MIDI track
  6. Play a short test:
python -m mugen test-midi