![]() |
![]() |
![]() |
GStreamer Buzztard Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Known Implementations | Properties |
GstBtTempo; void gstbt_tempo_change_tempo (GstBtTempo *self
,glong beats_per_minute
,glong ticks_per_beat
,glong subticks_per_tick
);
GstBtTempo is implemented by GstBtAudioDelay, GstBtFluidsynth and GstBtSimSyn.
"beats-per-minute" gulong : Read / Write "subticks-per-tick" gulong : Read / Write "ticks-per-beat" gulong : Read / Write
This interface offers three GObject properties to specify a rythmic tempo of
the GStreamer pipeline. The tempo can be changed from the application side by
calling gstbt_tempo_change_tempo()
.
GstElements that implement this interface should use the given tempo, to
adjust their gst_object_sync_values()
cycle.
The difference between the tempo iface and the tempo-tag metadata is that the metadata describes the overall tempo, but the iface allows to change the tempo during playback.
void gstbt_tempo_change_tempo (GstBtTempo *self
,glong beats_per_minute
,glong ticks_per_beat
,glong subticks_per_tick
);
Set all tempo properties at once. Pass -1 to leave a value unchanged.
|
a GObject that implements GstBtTempo |
|
the number of beats in a minute |
|
the number of ticks of one beat (measure) |
|
the number of subticks within one tick |
"beats-per-minute"
property"beats-per-minute" gulong : Read / Write
the number of beats per minute the top level pipeline uses.
Allowed values: >= 1
"subticks-per-tick"
property"subticks-per-tick" gulong : Read / Write
the number of subticks (for smoothing) per tick the top level pipeline uses.
Allowed values: >= 1
"ticks-per-beat"
property"ticks-per-beat" gulong : Read / Write
the number of ticks (events) per beat the top level pipeline uses.
Allowed values: >= 1