midicatdrv

package module
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 14 Imported by: 8

README

midicatdrv

Please note that midicatdrv has moved to the main repository at gitlab.com/gomidi/midi/v2/drivers/midicatdrv All further development will be done there.

Documentation

Overview

Package midicatdrv provides a gomidi/midi.Driver to connect to external MIDI ports via the program midicat. See the example to get an idea how to use it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMIDICatBinary added in v0.3.7

func CheckMIDICatBinary(barkTarget io.Writer) error

Types

type CloseErrors

type CloseErrors []error

CloseErrors collects error from closing multiple MIDI ports

func (CloseErrors) Error

func (c CloseErrors) Error() string

type Driver

type Driver struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New() (*Driver, error)

New returns a driver based on the default rtmidi in and out

func (*Driver) Close

func (d *Driver) Close() (err error)

Close closes all open ports. It must be called at the end of a session.

func (*Driver) Ins

func (d *Driver) Ins() (ins []midi.In, err error)

Ins returns the available MIDI input ports

func (*Driver) Outs

func (d *Driver) Outs() (outs []midi.Out, err error)

Outs returns the available MIDI output ports

func (*Driver) String

func (d *Driver) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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