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.

Source Distribution

superconf18-midibadge-0.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

superconf18_midibadge-0.2.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file superconf18-midibadge-0.2.0.tar.gz.

File metadata

  • Download URL: superconf18-midibadge-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.5 CPython/3.6.5 Darwin/17.7.0

File hashes

Hashes for superconf18-midibadge-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7b0e89cba6a1fa91c63b256078f51850993cd8985a66c4801eeb48717953b1ca
MD5 a3fdedc45ead2cd7a659f04ff94bf34b
BLAKE2b-256 6e0eee20a38da58e2af1e07835d75619c0cbdee422b8bda817a60a79c9048dcf

See more details on using hashes here.

File details

Details for the file superconf18_midibadge-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for superconf18_midibadge-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c8fe9bc6199188795158498de6ad6115b652a855b861f668a5395c0de9466e9
MD5 7dc9bb805443e6d67352078c98dadeb6
BLAKE2b-256 7ab36c904e447fd52562afca771dcb2192f0bfebd4e71b5ed0f7e55fe4c09b9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page