AgsCountBeatsAudioRun

AgsCountBeatsAudioRun — count beats

Functions

Properties

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsRecall
        ╰── AgsRecallAudioRun
            ╰── AgsCountBeatsAudioRun

Implemented Interfaces

AgsCountBeatsAudioRun implements AgsConnectable, AgsPackable, AgsDynamicConnectable, AgsPlugin, AgsCountable, AgsSeekable and AgsTactable.

Includes

#include <ags/audio/recall/ags_count_beats_audio_run.h>

Description

The AgsCountBeatsAudioRun class count beats.

Functions

ags_count_beats_audio_run_notation_start ()

void
ags_count_beats_audio_run_notation_start
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint run_order);

Emitted as notation starts playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

run_order

the nth run order

 

Since: 0.4


ags_count_beats_audio_run_notation_loop ()

void
ags_count_beats_audio_run_notation_loop
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint run_order);

Emitted as notation loops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

run_order

the nth run order

 

Since: 0.4


ags_count_beats_audio_run_notation_stop ()

void
ags_count_beats_audio_run_notation_stop
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint run_order);

Emitted as notation stops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

run_order

the nth run order

 

Since: 0.4


ags_count_beats_audio_run_sequencer_start ()

void
ags_count_beats_audio_run_sequencer_start
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint run_order);

Emitted as sequencer starts playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

run_order

the nth run order

 

Since: 0.4


ags_count_beats_audio_run_sequencer_loop ()

void
ags_count_beats_audio_run_sequencer_loop
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint run_order);

Emitted as sequencer loops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

run_order

the nth run order

 

Since: 0.4


ags_count_beats_audio_run_sequencer_stop ()

void
ags_count_beats_audio_run_sequencer_stop
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint run_order);

Emitted as sequencer stops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

run_order

the nth run order

 

Since: 0.4


ags_count_beats_audio_run_new ()

AgsCountBeatsAudioRun *
ags_count_beats_audio_run_new (AgsDelayAudioRun *delay_audio_run);

Creates an AgsCountBeatsAudioRun

Parameters

delay_audio_run

the AgsDelayAudioRun dependency

 

Returns

a new AgsCountBeatsAudioRun

Since: 0.4


AGS_COUNT_BEATS_AUDIO_RUN()

#define AGS_COUNT_BEATS_AUDIO_RUN(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRun))


AGS_COUNT_BEATS_AUDIO_RUN_CLASS()

#define AGS_COUNT_BEATS_AUDIO_RUN_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRun))


AGS_COUNT_BEATS_AUDIO_RUN_GET_CLASS()

#define AGS_COUNT_BEATS_AUDIO_RUN_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRunClass))


AGS_IS_COUNT_BEATS_AUDIO_RUN()

#define AGS_IS_COUNT_BEATS_AUDIO_RUN(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN))


AGS_IS_COUNT_BEATS_AUDIO_RUN_CLASS()

#define AGS_IS_COUNT_BEATS_AUDIO_RUN_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COUNT_BEATS_AUDIO_RUN))


ags_count_beats_audio_run_get_type ()

GType
ags_count_beats_audio_run_get_type ();

Types and Values

AGS_TYPE_COUNT_BEATS_AUDIO_RUN

#define AGS_TYPE_COUNT_BEATS_AUDIO_RUN                (ags_count_beats_audio_run_get_type())


struct AgsCountBeatsAudioRun

struct AgsCountBeatsAudioRun;


struct AgsCountBeatsAudioRunClass

struct AgsCountBeatsAudioRunClass {
  AgsRecallAudioRunClass recall_audio_run;
  
  void (*notation_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint run_order);
  void (*notation_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			guint run_order);
  void (*notation_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			guint run_order);
  
  void (*sequencer_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
			  guint run_order);
  void (*sequencer_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint run_order);
  void (*sequencer_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint run_order);
};

Property Details

The “delay-audio-run” property

  “delay-audio-run”          AgsDelayAudioRun *

The assigned AgsDelayAudioRun dependency.

Flags: Read / Write

Since: 0.4.0


The “notation-counter” property

  “notation-counter”         guint

The notation counter.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 0.4.0


The “sequencer-counter” property

  “sequencer-counter”        guint

The sequencer counter.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0

Since: 0.4.0

Signal Details

The “notation-loop” signal

void
user_function (AgsCountBeatsAudioRun *count_beats_audio_run,
               guint                  run_order,
               gpointer               user_data)

The ::notation-loop signal is emited while looping notation playback.

Parameters

count_beats_audio_run

the object

 

run_order

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “notation-start” signal

void
user_function (AgsCountBeatsAudioRun *count_beats_audio_run,
               guint                  run_order,
               gpointer               user_data)

The ::notation-start signal is emited while starting notation playback.

Parameters

count_beats_audio_run

the object

 

run_order

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “notation-stop” signal

void
user_function (AgsCountBeatsAudioRun *count_beats_audio_run,
               guint                  run_order,
               gpointer               user_data)

The ::notation-loop signal is emited while stoping notation playback.

Parameters

count_beats_audio_run

the object

 

run_order

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “sequencer-loop” signal

void
user_function (AgsCountBeatsAudioRun *count_beats_audio_run,
               guint                  run_order,
               gpointer               user_data)

The ::sequencer-loop signal is emited while looping sequencer playback.

Parameters

count_beats_audio_run

the object

 

run_order

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “sequencer-start” signal

void
user_function (AgsCountBeatsAudioRun *count_beats_audio_run,
               guint                  run_order,
               gpointer               user_data)

The ::sequencer-start signal is emited while starting sequencer playback.

Parameters

count_beats_audio_run

the object

 

run_order

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “sequencer-stop” signal

void
user_function (AgsCountBeatsAudioRun *count_beats_audio_run,
               guint                  run_order,
               gpointer               user_data)

The ::sequencer-loop signal is emited while stoping sequencer playback.

Parameters

count_beats_audio_run

the object

 

run_order

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last