No description
Find a file
2023-11-20 20:58:40 +00:00
.vscode Critical types defined; 2023-11-12 01:14:17 +00:00
src Updated README, directory changes, benchmark added (tests/tBench) 2023-11-20 20:55:54 +00:00
tests Updated README, directory changes, benchmark added (tests/tBench) 2023-11-20 20:55:54 +00:00
config.nims Critical types defined; 2023-11-12 01:14:17 +00:00
niMIDI.nimble version bump 2023-11-20 20:58:40 +00:00
README.md Updated README, directory changes, benchmark added (tests/tBench) 2023-11-20 20:55:54 +00:00

niMIDI is a library for parsing and writing MIDI files. Very much a work in progress, so function names and types are subject to change.

Installation

nimble install niMIDI

Usage

import niMIDI

let midi = parseFile("test.mid")
echo midi.header

(length: 6, format: ConcurrentTrack, tracks: 5, division: Metrical, ticks: 480, negativeSMPTE: 0)

writeMIDI("test.mid", midi)

TODO

  • Add support for sysex messages
  • Fix visibility macros
  • Make it easier to manipulate the parsed MIDI data