-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
27 lines (18 loc) · 895 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
A library for reading Midi files, written in Go.
Copyright Joe Wass 2012
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