afandian / go-midi

A Midi file parser library written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A library for reading Midi files, written in Go.

Copyright Joe Wass 2012
joe@afandian.com
http://blog.afandian.com

Use of this source code is governed by the MIT license which can be found in the LICENSE file.

This is a library to parse SMF MIDI files. It is fully unit tested.

To use this library, write a callback object and pass it to the MidiLexer, along with a MIDI file. The Lexer will call events on the callback as they occur in the file.

To install, run: 
	go get "github.com/afandian/go-midi"

To use it in your programs:
	import midi "github.com/afandian/go-midi"

See the examples for how to use.

References:

http://faydoc.tripod.com/formats/mid.htm
http://www.music.mcgill.ca/~ich/classes/mumt306/midiformat.pdf
http://www.sonicspot.com/guide/midifiles.html
http://www.indiana.edu/~emusic/etext/MIDI/chapter3_MIDI10.shtml
http://home.roadrunner.com/~jgglatt/tech/midifile.htm

About

A Midi file parser library written in Go

License:MIT License


Languages

Language:Go 100.0%