Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for superconf18-midibadge, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size superconf18_midibadge-0.2.0-py3-none-any.whl (13.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size superconf18-midibadge-0.2.0.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page