Skip to content

afandian/go-midi

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages