Top | ![]() |
![]() |
![]() |
![]() |
BtCmdPatternBtCmdPattern — class for an command pattern of a BtMachine instance |
A command pattern is used in the BtSequence to trigger certain actions. The actions are defined as the BtPatternCmd enum.
BtCmdPattern * bt_cmd_pattern_new (const BtSong * const song
,const BtMachine * const machine
,const BtPatternCmd cmd
);
Create a new default pattern instance containg the given cmd
event.
It will be automatically added to the machines pattern list.
If cmd
is BT_PATTERN_CMD_NORMAL
use bt_pattern_new()
instead.
Don't call this from applications.
“command”
property“command” BtPatternCmd
the command of this pattern.
Flags: Read / Write / Construct Only
Default value: BT_PATTERN_CMD_NORMAL
“machine”
property“machine” BtMachine *
Machine object, the pattern belongs to.
Flags: Read / Write / Construct Only
“name”
property “name” gchar *
the display-name of the pattern.
Flags: Read / Write / Construct
Default value: "unnamed"
“song”
property“song” BtSong *
Song object, the pattern belongs to.
Flags: Read / Write / Construct Only