从midi文件生成hackaday superconf 2018徽章的基本代码

superconf18-midibadge的Python项目详细描述


Supercnf18 MIDIBADGE

从MIDI文件生成Hackaday Superconf 2018徽章的基本代码

快速启动

安装:

pip install superconf18_midibadge

查看MIDI文件中的曲目:

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

分割MIDI文件以收听单个曲目:

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)

从MIDI文件中的三个曲目创建一个基本文件:

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java连接在一个屏幕上成功下载,在第二个屏幕上用几乎相同的代码获得错误   java调用super。超级的方法,跳过超级。方法   使用Web服务连接到sharepoint 2013的Java应用程序   java我无法正确呈现editText   httpurlconnection如何在java中检查url连接状态   java Spring Security可以为同一用户接受多个密码吗?   java如何在PreparedStatement中使用自动生成的@Id?   java每个数组表示一个位模式   java我不确定如何记录鼠标在某个区域被点击的次数   spring如何解决:java。lang.NoSuchMethodError:javax。坚持不懈实体管理器。createStoredProcedureQuery(Ljava/lang/String;)   java如何为blackberry中listfield项内的不同字段触发事件   安卓使用Proguard混淆java代码   java在grails 2中与多个数据源有一个和一个域关联。十、   java在尝试在单击按钮时返回combobox值时一直出错   java我可以在setter中使用@Resource注释而不是字段吗?   java Eclipse调试步进不工作   java比较相同对象的两个表并选择不同的表