smfio

package
v0.0.0-...-708ca39 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(reader io.Reader) (*smf.MIDIFile, error)

Read reads midi from io.Reader

func Write

func Write(writer io.Writer, midi *smf.MIDIFile) error

Write save MIDI to writer

Types

type ReadError

type ReadError struct {
	// contains filtered or unexported fields
}

ReadError check all errors

func (*ReadError) Error

func (e *ReadError) Error() string

Error implements standart error interface

type WriteError

type WriteError struct {
	// contains filtered or unexported fields
}

WriteError error while MIDI writing

func (*WriteError) Error

func (e *WriteError) Error() string

Error implements standart error interface

Jump to

Keyboard shortcuts

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