mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-02-27 20:30:11 +00:00
Install instructions
This commit is contained in:
parent
d972f1db3e
commit
16b71cd640
@ -1,14 +1,25 @@
|
||||
Converting MIDI files to internal music secquencer files:
|
||||
|
||||
cvtmid.py, the MIDI file converter, uses the mido package: https://mido.readthedocs.io/en/latest/
|
||||
cvtmid.py, the MIDI file converter, uses Python and the mido package: https://mido.readthedocs.io/en/latest/
|
||||
|
||||
Simply put a MIDI file in the same directory as ctvmid.py and type:
|
||||
|
||||
./cvtmid.py midifile.mid > midifile.seq
|
||||
Linux and OSX/macOS already have Python installed. Windows will need to install Python 7.2.xx from:
|
||||
https://www.python.org/downloads/windows/
|
||||
|
||||
To install mido, use pip. If you are on OSX/macOS, you first need to install pip with:
|
||||
```
|
||||
sudo easy_install pip
|
||||
```
|
||||
Then, install mido with:
|
||||
```
|
||||
sudo pip install mido
|
||||
```
|
||||
|
||||
To convert a MIDI file, simply put a MIDI file in the same directory as ctvmid.py and type:
|
||||
```
|
||||
./cvtmid.py midifile.mid > midifile.seq
|
||||
```
|
||||
The midifile.seq output file is an ACME assembly file that can be included in another assembly file, a PLASMA file, or assembled into a binary file which can be loaded later. Simply type:
|
||||
|
||||
acme --setpc 0x1000 -o seqfile.bin midifile.seq
|
||||
|
||||
```
|
||||
acme --setpc 0x1000 -o seqfile.bin midifile.seq
|
||||
```
|
||||
The starting address is irrelevant, but ACME requires one to assemble properly.
|
||||
|
Loading…
x
Reference in New Issue
Block a user