GstBtTempo

## GstBtTempo GstBtTempo — helper interface for tempo synced gstreamer elements |

## Synopsis

    void                gstbt_tempo_change_tempo            (GstBtTempo *self,
                                                             glong beats_per_minute,
                                                             glong ticks_per_beat,
                                                             glong subticks_per_tick);

## Description

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.

## Details

### gstbt_tempo_change_tempo ()

    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.

`self` : | a GObject that implements GstBtTempo
`beats_per_minute` : | the number of beats in a minute
`ticks_per_beat` : | the number of ticks of one beat (measure)
`subticks_per_tick` : | the number of subticks within one tick