Documentation ¶ Index ¶ func Combine(fnames []string, finishedName string) (err error) func Split(fname string) (err error) func Transpose(fname string, note string) (err error) type Phrase func Analyze(fnames []string) (phrases []Phrase, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Combine ¶ func Combine(fnames []string, finishedName string) (err error) func Split ¶ func Split(fname string) (err error) Split will take a midi file separated by rests and split it into separate midi files func Transpose ¶ func Transpose(fname string, note string) (err error) Transpose takes a file and transposes and writes it back as fname.mid.trA where it has been transposed to A. Types ¶ type Phrase ¶ type Phrase struct { Filename string // TotalNotes has the total number of notes TotalNotes int // IsMinor indicates a C-minor key IsMinor bool // RH indicates whether it is a right-handed piece RH bool } func Analyze ¶ func Analyze(fnames []string) (phrases []Phrase, err error) Source Files ¶ View all Source files analyze.go combiner.go logging.go splitter.go transpose.go Click to show internal directories. Click to hide internal directories.