Documentation ¶
Index ¶
- Constants
- func BlockDump(startAddress uint16, length uint16) (bytes []byte, err error)
- func BlockLoad(startAddress uint16, bytes []byte) (err error)
- func DiagCOMTST() (err error)
- func DiagLOOPTST() (err error)
- func DisableVRAM() (err error)
- func GetID() (versionID [2]byte, err error)
- func Init(port string, baud uint, synVerbose bool, serialVerbose bool) (err error)
- func InitVRAM() (err error)
- func KeyDown(voice, key, velocity byte) (err error)
- func KeyUp(key, velocity byte) (err error)
- func LoadCRT(crt []byte) (err error)
- func LoadSYN(bytes []byte) (err error)
- func LoadVCE(slotnum byte, vce []byte) (err error)
- func Pedal(up bool) (err error)
- func SaveSYN() (bytes []byte, err error)
- func SelectVoiceMapping(v1, v2, v3, v4 byte) (err error)
- func VoicingMode() (err error)
Constants ¶
View Source
const ACK byte = 0x06
View Source
const DC1 byte = 0x11
View Source
const LONG_TIMEOUT_MS = 20000 // after large amounts of IO, give the synergy more time to ack
View Source
const NAK byte = 0x15
View Source
const OP_ASSIGNED_KEY = byte(0x77)
View Source
const OP_BLOCKDUMP = byte(0x72)
View Source
const OP_BLOCKLOAD = byte(0x71)
View Source
const OP_DISABLEVRAM = byte(0x6f)
View Source
const OP_ENABLEVRAM = byte(0x70)
View Source
const OP_EXECUTE = byte(0x75)
View Source
const OP_GETID = byte(0x74)
View Source
const OP_IMODE = byte(0x76)
View Source
const OP_KEYDWN = byte(0x01)
View Source
const OP_KEYUP = byte(0x02)
View Source
const OP_POT = byte(0x03)
View Source
const OP_SELECT = byte(0x78)
View Source
const OP_SLOW_BLOCKDUMP = byte(0x7c)
View Source
const OP_STDUMP = byte(0x79)
View Source
const OP_STLOAD = byte(0x7a)
View Source
const OP_VCELOD = byte(0x6e)
View Source
const OP_VRLOD = byte(0x6b)
View Source
const RT_TIMEOUT_MS = 100 // "realtime" events need a shorter timeout
View Source
const TIMEOUT_MS = 10000
Variables ¶
This section is empty.
Functions ¶
func DiagCOMTST ¶
func DiagCOMTST() (err error)
func DiagLOOPTST ¶
func DiagLOOPTST() (err error)
func DisableVRAM ¶
func DisableVRAM() (err error)
func KeyUp ¶
Synergy can't turn off voice-specific key - we're in rolling voice assign mode key 0..73 velocity 0..32
func SelectVoiceMapping ¶
func VoicingMode ¶
func VoicingMode() (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.