Documentation ¶
Index ¶
- Constants
- func HandleMessage(msg interface{}) (interface{}, error)
- func ReceiveClock(rpcClient *rpc.Client) func()
- func ReceiveContinue()
- func ReceiveEach(p *reader.Position, msg midi.Message)
- func ReceiveReset()
- func ReceiveStart()
- func ReceiveStop()
- func ReceiveTick()
- func ReceiveUnknown(p *reader.Position, msg midi.Message)
- type System
- func (s *System) CallMidi(call types.MidiCall) error
- func (s *System) Dispatch(ctx context.Context, calls []types.MidiCall, isParallel bool, ...)
- func (s *System) GetChannel() channel.Channel
- func (s *System) GetWriterChannel() channel.Channel
- func (s *System) PlayChord(chord *types.MidiChord) error
- func (s *System) SetChannel(channelId uint8) error
- func (s *System) SetDevice(deviceId uint8) error
- func (s *System) SetReader(rpcClient *rpc.Client, deviceInID uint8)
- func (s *System) SetWriter(deviceOutID uint8) error
- func (s *System) SetWriterChannel(channelId uint8) error
- func (s *System) Shutdown()
Constants ¶
View Source
const ( MSBBankCC uint8 = 0 LSBBankCC uint8 = 32 )
Variables ¶
This section is empty.
Functions ¶
func HandleMessage ¶
func HandleMessage(msg interface{}) (interface{}, error)
func ReceiveClock ¶
func ReceiveContinue ¶
func ReceiveContinue()
func ReceiveReset ¶
func ReceiveReset()
func ReceiveStart ¶
func ReceiveStart()
func ReceiveStop ¶
func ReceiveStop()
func ReceiveTick ¶
func ReceiveTick()
Types ¶
type System ¶
type System struct { Driver midi.Driver DevicesIn []midi.In DevicesOut []midi.Out DeviceIn midi.In DeviceOut midi.Out Reader *reader.Reader Writer *writer.Writer DeviceInOpened bool DeviceOutOpened bool ChannelSet bool }
func (*System) GetChannel ¶
func (*System) GetWriterChannel ¶
func (*System) SetChannel ¶
func (*System) SetWriterChannel ¶
Click to show internal directories.
Click to hide internal directories.