Top | ![]() |
![]() |
![]() |
![]() |
BtPatternControlSourceBtPatternControlSource — Custom controlsource based on repeated event blocks (BtPatterns). |
gpointer | default-value | Write |
BtMachine * | machine | Read / Write / Construct Only |
BtParameterGroup * | parameter-group | Read / Write / Construct Only |
BtSequence * | sequence | Read / Write / Construct Only |
BtSongInfo * | song-info | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstControlBinding ╰── BtPatternControlSource
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”. For trigger parameter this usualy is the no-value. For other parameters it is the last value one has set in the ui or via interaction controller.
BtPatternControlSource * bt_pattern_control_source_new (GstObject *object
,const gchar *property_name
,BtSequence *sequence
,const BtSongInfo *song_info
,const BtMachine *machine
,BtParameterGroup *param_group
);
Create a pattern control source for the given machine
and param_group
. Use
gst_control_source_bind()
to attach it to one specific parameter of the
param_group
.
“default-value”
property“default-value” gpointer
pointer to value to use if no other found.
Flags: Write
“machine”
property“machine” BtMachine *
the machine object, the controlsource belongs to.
Flags: Read / Write / Construct Only
“parameter-group”
property“parameter-group” BtParameterGroup *
the parameter group.
Flags: Read / Write / Construct Only
“sequence”
property“sequence” BtSequence *
the sequence object.
Flags: Read / Write / Construct Only
“song-info”
property“song-info” BtSongInfo *
the song-info object.
Flags: Read / Write / Construct Only