8000 GitHub - ern0/midi2data at V1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ern0/midi2data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

midi2data

This small program creates assembly data dump from a specified track of a MIDI file, extracting the Note On pitch values to a list of bytes.

Requires Python3 and mido module.

CLI arguments:

  • midi file name (mandatory)
  • number of columns (mandatory)
  • note offset (optional, default: 0)
  • track number (optional, default: 1)

Launch example.sh for demonstration, it will print:

;---- Boesendorfer Grand Piano ----
   db 67,74,79,86,82,91
   db 60,67,75,82,79,87
   db 65,72,77,84,81,89
   db 58,65,74,81,77,86
   db 55,62,67,74,70,79
   db 60,67,75,82,79,87
   db 62,69,74,81,78,86
   db 55,62,71,79,74,83

About

Extract Note On values from a MIDI file and print as asm data

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0