Skip to main content
Glama
emicklei

melrōse musical expression player

by emicklei
input_device.go553 B
package midi import ( "github.com/emicklei/melrose/midi/transport" ) type InputDevice struct { id int name string echo bool listener transport.MIDIListener } func NewInputDevice(id int, in transport.MIDIIn, t transport.Transporter) *InputDevice { return &InputDevice{ id: id, echo: false, listener: t.NewMIDIListener(in), } } // This is needed by WASM func (i *InputDevice) Listener() transport.MIDIListener { return i.listener } // TODO deprecated? func (i *InputDevice) stopListener() { i.listener.Stop() }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emicklei/melrose'

If you have feedback or need assistance with the MCP directory API, please join our Discord server