midi

package
v0.0.0-...-0e6b567 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL