midifile

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeMTrk

func EncodeMTrk(mtrk midi.MTrk) (encoded []byte, err error)

Types

type Decoder

type Decoder interface {
	Decode(reader io.Reader) (*midi.SMF, error)
}

func NewDecoder

func NewDecoder() Decoder

type Encoder

type Encoder interface {
	Encode(smf midi.SMF) error
}

func NewEncoder

func NewEncoder(w io.Writer) Encoder

Jump to

Keyboard shortcuts

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