Documentation ¶
Overview ¶
Package venue provides functionality for parsing and understanding the Venue Patchlist (Patchbay > Export patch list) or Info (Options > System > Info) HTML output.
Index ¶
- Constants
- func Moniker(num int) string
- type Channel
- type Channels
- type ChannelsByMoniker
- type Device
- func (d *Device) Hardware() hardware.Hardware
- func (d *Device) Input(moniker string) *Channel
- func (d *Device) Inputs() Channels
- func (d *Device) Name() string
- func (d *Device) NumInputs() int
- func (d *Device) NumOutputs() int
- func (d *Device) Output(moniker string) *Channel
- func (d *Device) Outputs() Channels
- func (d *Device) String() string
- type Devices
- type Venue
- type XPath
Constants ¶
View Source
const ( Console = "Console" Engine = "Engine" Local = "Local" ProTools = "Pro Tools" Stage1 = "Stage 1" Stage2 = "Stage 2" Stage3 = "Stage 3" Stage4 = "Stage 4" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
Channel describes a device channel.
func NewChannel ¶
NewChannel returns an instantiated Channel.
type Channels ¶
Channels is a map of channels.
func (Channels) Sorted ¶
func (cs Channels) Sorted() ChannelsByMoniker
type ChannelsByMoniker ¶
type ChannelsByMoniker []*Channel
func (ChannelsByMoniker) Len ¶
func (d ChannelsByMoniker) Len() int
TODO(kward) Make this a numeric sort, instead of alphanumeric.
func (ChannelsByMoniker) Less ¶
func (d ChannelsByMoniker) Less(i, j int) bool
func (ChannelsByMoniker) Swap ¶
func (d ChannelsByMoniker) Swap(i, j int)
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device describes a Venue IO device.
func (*Device) NumOutputs ¶
NumOutputs returns the number of output channels.
Click to show internal directories.
Click to hide internal directories.