Metadata-Version: 2.1
Name: superconf18-midibadge
Version: 0.2.0
Summary: Generate Basic code for the Hackaday Superconf 2018 Badge from a MIDI file
Home-page: https://github.com/jonemo/superconf18-midibadge
License: MIT
Keywords: badgelife,superconference
Author: Jonas Neubert
Author-email: jn@jonasneubert.com
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: midi
Requires-Dist: toml (>=0.9,<0.10)
Project-URL: Repository, https://github.com/jonemo/superconf18-midibadge
Description-Content-Type: text/markdown

superconf18-midibadge
=====================


Generate Basic code for the Hackaday Superconf 2018 Badge from a MIDI file


## Quickstart

Install:

```
pip install superconf18_midibadge
```

See what tracks are in a MIDI file:

```
midiinfo --help
usage: midiinfo [-h] inpath

Prints a table of tracks in the given MIDI file.

positional arguments:
  inpath      Input MIDI file

optional arguments:
  -h, --help  show this help message and exit
```

```
midiinfo example.mid
These tracks in MIDI file example.mid contain sound:

  #  Tones   Track Name
---  ------  ------------------------------
  1     143  Lead Vox
  2     139  Lead Vox 2
  3    1921  Piano
  4     481  Bass
  5     780  Strings
  6     263  Choir
  7     155  Brass
  8     138  Horn
  9     274  Lead Guitr
 10     274  Lead GtEko
 11      76  Orc Hit
 12    1115  Drums
 13     179  Timpani
```

Split a MIDI file to listen to individual tracks:

```
midisplit --help
usage: midisplit [-h] [--out OUTPATH] inpath

Split a single MIDI file into multiple MIDI files, one for each track.

positional arguments:
  inpath         Input MIDI file

optional arguments:
  -h, --help     show this help message and exit
  --out OUTPATH  Output folder for single-track MIDI files (defaults to
                 current directory)
```

Create a BASIC file from three tracks in a MIDI file:

```
midi2basic --help
usage: midi2basic [-h] inpath outpath

Creates BASIC file form three tracks of a MIDI file.

positional arguments:
  inpath      Input MIDI file
  outpath     Output BASIC file

optional arguments:
  -h, --help  show this help message and exit
```

