x32

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TOTAL_beats = 3
)

Variables

View Source
var (
	SysexoOverMIDIPrefix = []byte{0xF0, 0x00, 0x20, 0x32, 0x32}
	SysexoOverMIDISuffix = []byte{0xF7}
)

Functions

This section is empty.

Types

type BeatHandler

type BeatHandler struct {
	// contains filtered or unexported fields
}

BeatHandler collects noteOn until a tempo can be calculated

func NewBeatHandler

func NewBeatHandler(cb core.SendMidi, fxChan int, overMidi bool) *BeatHandler

NewBeatHandler returns BeatHandler

func (*BeatHandler) HandleNote

func (b *BeatHandler) HandleNote(nt core.Note)

HandleNote processes incoming notes to get tempo

type X32Sysex

type X32Sysex struct {
	// contains filtered or unexported fields
}

X32Sysex creates a SysEX message for X32 consoles

func NewX32Sysex

func NewX32Sysex(data []byte, overMidi bool) X32Sysex

NewX32Sysex overMidi will add header for SysEx over MIDI

func (X32Sysex) Raw

func (x X32Sysex) Raw() []byte

Raw bytes of Sysex message w or w/o MIDI header

func (X32Sysex) String

func (x X32Sysex) String() string

Jump to

Keyboard shortcuts

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