midi

package
v0.0.0-...-15a073e Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenOutput OpenDirection = 1
	OpenInput                = 2
	OpenDuplex               = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Name   string
	Client int
	Ports  []Port
}

type OpenDirection

type OpenDirection int

type Port

type Port struct {
	Name string
	Port int
}

type Sequencer

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

func NewSequencer

func NewSequencer(name string, direction OpenDirection) (*Sequencer, error)

func (*Sequencer) Close

func (seq *Sequencer) Close()

func (*Sequencer) CreateControllerPort

func (seq *Sequencer) CreateControllerPort(name string) Port

func (*Sequencer) GetDevices

func (seq *Sequencer) GetDevices() []Device

Jump to

Keyboard shortcuts

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