AgsTactable

AgsTactable — Unique tempo set or attributes access

Functions

Signals

Object Hierarchy

    GInterface
    ╰── AgsTactable

Known Implementations

AgsTactable is implemented by AgsCountBeatsAudio, AgsCountBeatsAudioRun, AgsDelayAudio, AgsNotation and AgsPattern.

Includes

#include <ags/object/ags_tactable.h>

Description

The AgsTactable interface gives you a unique access to modify tempo.

Functions

ags_tactable_get_sequencer_duration ()

gdouble
ags_tactable_get_sequencer_duration (AgsTactable *tactable);

Get sequencer duration.

Parameters

tactable

an AgsTactable

 

Returns

the sequencer duration

Since: 0.7.43


ags_tactable_get_notation_duration ()

gdouble
ags_tactable_get_notation_duration (AgsTactable *tactable);

Get notation duration.

Parameters

tactable

an AgsTactable

 

Returns

the notation duration

Since: 0.7.43


ags_tactable_get_tact ()

gdouble
ags_tactable_get_tact (AgsTactable *tactable);

Get tact.

Parameters

tactable

an AgsTactable

 

Returns

the tact

Since: 0.7.43


ags_tactable_get_bpm ()

gdouble
ags_tactable_get_bpm (AgsTactable *tactable);

Get bpm.

Parameters

tactable

an AgsTactable

 

Returns

the bpm

Since: 0.7.43


ags_tactable_change_sequencer_duration ()

void
ags_tactable_change_sequencer_duration
                               (AgsTactable *tactable,
                                gdouble duration);

Sequencer duration changed.

Parameters

tactable

an AgsTactable

 

duration

the duration

 

Since: 0.4.2


ags_tactable_change_notation_duration ()

void
ags_tactable_change_notation_duration (AgsTactable *tactable,
                                       gdouble duration);

Notation duration changed.

Parameters

tactable

an AgsTactable

 

duration

the duration

 

Since: 0.4.2


ags_tactable_change_tact ()

void
ags_tactable_change_tact (AgsTactable *tactable,
                          gdouble new_tact,
                          gdouble old_tact);

Tact changed.

Parameters

tactable

an AgsTactable

 

new_tact

the new tact

 

old_tact

the old tact

 

Since: 0.4.2


ags_tactable_change_bpm ()

void
ags_tactable_change_bpm (AgsTactable *tactable,
                         gdouble new_bpm,
                         gdouble old_bpm);

Bpm changed.

Parameters

tactable

an AgsTactable

 

new_bpm

the new bpm

 

old_bpm

the old bpm

 

Since: 0.4.2

Types and Values

Signal Details

The “change-bpm” signal

void
user_function (AgsTactable *tactable,
               gdouble      duration,
               gdouble      arg2,
               gpointer     user_data)

Flags: Run Last

Since: 0.7.46


The “change-notation-duration” signal

void
user_function (AgsTactable *tactable,
               gdouble      duration,
               gpointer     user_data)

Flags: Run Last

Since: 0.7.46


The “change-sequencer-duration” signal

void
user_function (AgsTactable *tactable,
               gdouble      duration,
               gpointer     user_data)

Flags: Run Last

Since: 0.7.46


The “change-tact” signal

void
user_function (AgsTactable *tactable,
               gdouble      tact,
               gdouble      arg2,
               gpointer     user_data)

Flags: Run Last

Since: 0.7.46