portmididrv

package module
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 6 Imported by: 3

README

portmididrv

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

Documentation

Overview

Package portmididrv provides an gomidi/midi.Driver to connect to external MIDI ports via portmidi. See the example to get an idea how to use it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) (midi.Driver, error)

New returns a new driver

Types

type Option

type Option func(*driver)

Option is an option that can be passed to the driver

func SleepingTime

func SleepingTime(d time.Duration) Option

SleepingTime sets the duration for sleeping between reads when polling on in port The default sleeping time is 0.1ms

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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