windows

package
v0.0.0-...-2150275 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseMidiOutDevice

func CloseMidiOutDevice(device MidiOutDevice) error

Types

type MidiOutCapabilities

type MidiOutCapabilities struct {
	ManufacturerId    uint16
	ProductIdentifier uint16
	Version           uint32
	Name              [32]byte
	Technology        uint16
	Voices            uint16
	Notes             uint16
	ChannelMask       uint16
	Support           uint32
}

type MidiOutDevice

type MidiOutDevice struct {
	Handle uint
}

func OpenMidiOutDevice

func OpenMidiOutDevice(deviceInfo MidiOutDeviceDescription) (MidiOutDevice, error)

func (MidiOutDevice) SendNoteOffMessage

func (device MidiOutDevice) SendNoteOffMessage(note byte, channel int) error

func (MidiOutDevice) SendNoteOnMessage

func (device MidiOutDevice) SendNoteOnMessage(note byte, velocity byte, channel int) error

type MidiOutDeviceDescription

type MidiOutDeviceDescription struct {
	Name        string
	DeviceIndex int
}

func ListMidiOutDevices

func ListMidiOutDevices() ([]MidiOutDeviceDescription, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳