Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSequence ¶
func CreateSequence( sequenceType string, sequenceLabel string, mySequenceNumber int, fixturesConfig *fixture.Fixtures, channels common.Channels) common.Sequence
Before a sequence can run it needs to be created. Assigns default values for all types of sequence.
func PlaySequence ¶
func PlaySequence(sequence common.Sequence, mySequenceNumber int, availablePatterns map[int]common.Pattern, eventsForLauchpad chan common.ALight, guiButtons chan common.ALight, dmxController *ft232.DMXController, fixturesConfig *fixture.Fixtures, channels common.Channels, switchChannels []common.SwitchChannel, soundConfig *sound.SoundConfig, dmxInterfacePresent bool)
Now the sequence has been created, this functions starts the sequence.
Types ¶
type SequenceConfig ¶
type SequencesConfig ¶
type SequencesConfig struct {
Sequences []SequenceConfig `yaml:"sequences"`
}
func LoadSequences ¶
func LoadSequences() (sequences *SequencesConfig, err error)
LoadSequences loads sequence configuration information. Each sequence has a :-
name: sequence name, a singe word. description: free text describing the sequence. group: assignes to one of the top 4 rows of the launchpad. 1-4 type: rgb, scanner or switch
Click to show internal directories.
Click to hide internal directories.