| Top |
BtCmdPatternControlSourceBtCmdPatternControlSource — Custom controlsource based on repeated event blocks (BtCmdPatterns). |
| gpointer | default-value | Write |
| BtMachine * | machine | Read / Write / Construct Only |
| BtSequence * | sequence | Read / Write / Construct Only |
| BtSongInfo * | song-info | Read / Write / Construct Only |
GObject
╰── GInitiallyUnowned
╰── GstObject
╰── GstControlBinding
╰── BtCmdPatternControlSource
The control source will update machine parameters over time, based on the events from the sequences and the patterns. One control-source will handle one single parameter. It implements the logic of computing the parameter value for a given time, taking multiple tracks and overlapping patterns into account.
At the begin of the timeline (ts==0) all parameters that have no value in the sequence will be initialized from “default-value”. This is the last value one has set in the ui or via interaction controller.
BtCmdPatternControlSource * bt_cmd_pattern_control_source_new (GstObject *object,const gchar *property_name,BtSequence *sequence,const BtSongInfo *song_info,const BtMachine *machine);
Create a cmd-pattern control source for the given machine
. Use
gst_control_source_bind() to attach it to the related parameter of the
machine.
“default-value” property “default-value” gpointer
pointer to value to use if no other found.
Owner: BtCmdPatternControlSource
Flags: Write
“machine” property“machine” BtMachine *
the machine object, the controlsource belongs to.
Owner: BtCmdPatternControlSource
Flags: Read / Write / Construct Only
“sequence” property“sequence” BtSequence *
the sequence object.
Owner: BtCmdPatternControlSource
Flags: Read / Write / Construct Only
“song-info” property“song-info” BtSongInfo *
the song-info object.
Owner: BtCmdPatternControlSource
Flags: Read / Write / Construct Only