Documentation
¶
Overview ¶
Package syncosc exists to define constants used in the oscsync protocol. See http://github.com/scgolang/oscsync/README.md
Index ¶
Constants ¶
View Source
const ( AddressPulse = "/sync/pulse" AddressSlaveAdd = "/sync/slave/add" AddressSlaveList = "/sync/slave/list" AddressSlaveRemove = "/sync/slave/remove" AddressTempo = "/sync/tempo" )
OSC addresses.
View Source
const MasterPort = 5776
MasterPort is the listening port for the oscsync master.
View Source
const PulsesPerBar = 96
PulsesPerBar is the number of pulses in a bar (measure).
Variables ¶
This section is empty.
Functions ¶
func GetPulseDuration ¶ added in v0.1.3
GetPulseDuration converts the tempo in bpm to a time.Duration callers are responsible for making concurrent access safe.
Types ¶
type ConnectorFunc ¶ added in v0.1.6
ConnectorFunc connects a slave to an oscsync server.
Click to show internal directories.
Click to hide internal directories.