AgsCountBeatsAudioRun

AgsCountBeatsAudioRun — count beats

Functions

Properties

AgsDelayAudioRun * delay-audio-run Read / Write
guint64 midi-counter Read / Write
guint64 notation-counter Read / Write
guint64 sequencer-counter Read / Write
guint64 wave-counter Read / Write

Signals

Types and Values

Object Hierarchy

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

Implemented Interfaces

AgsCountBeatsAudioRun implements AgsConnectable, 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_sequencer_start ()

void
ags_count_beats_audio_run_sequencer_start
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint nth_run);

Emitted as sequencer starts playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_sequencer_loop ()

void
ags_count_beats_audio_run_sequencer_loop
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint nth_run);

Emitted as sequencer loops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_sequencer_stop ()

void
ags_count_beats_audio_run_sequencer_stop
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint nth_run);

Emitted as sequencer stops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_notation_start ()

void
ags_count_beats_audio_run_notation_start
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint nth_run);

Emitted as notation starts playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_notation_loop ()

void
ags_count_beats_audio_run_notation_loop
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint nth_run);

Emitted as notation loops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_notation_stop ()

void
ags_count_beats_audio_run_notation_stop
                               (AgsCountBeatsAudioRun *count_beats_audio_run,
                                guint nth_run);

Emitted as notation stops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_wave_start ()

void
ags_count_beats_audio_run_wave_start (AgsCountBeatsAudioRun *count_beats_audio_run,
                                      guint nth_run);

Emitted as wave starts playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_wave_loop ()

void
ags_count_beats_audio_run_wave_loop (AgsCountBeatsAudioRun *count_beats_audio_run,
                                     guint nth_run);

Emitted as wave loops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_wave_stop ()

void
ags_count_beats_audio_run_wave_stop (AgsCountBeatsAudioRun *count_beats_audio_run,
                                     guint nth_run);

Emitted as wave stops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_midi_start ()

void
ags_count_beats_audio_run_midi_start (AgsCountBeatsAudioRun *count_beats_audio_run,
                                      guint nth_run);

Emitted as midi starts playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_midi_loop ()

void
ags_count_beats_audio_run_midi_loop (AgsCountBeatsAudioRun *count_beats_audio_run,
                                     guint nth_run);

Emitted as midi loops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_midi_stop ()

void
ags_count_beats_audio_run_midi_stop (AgsCountBeatsAudioRun *count_beats_audio_run,
                                     guint nth_run);

Emitted as midi stops playback.

Parameters

count_beats_audio_run

the AgsCountBeatsAudioRun

 

nth_run

the nth run order

 

Since: 3.0.0


ags_count_beats_audio_run_new ()

AgsCountBeatsAudioRun *
ags_count_beats_audio_run_new (AgsAudio *audio,
                               AgsDelayAudioRun *delay_audio_run);

Create a new instance of AgsCountBeatsAudioRun

Parameters

audio

the AgsAudio

 

delay_audio_run

the AgsDelayAudioRun dependency

 

Returns

the new AgsCountBeatsAudioRun

Since: 3.0.0


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 (*sequencer_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
			  guint nth_run);
  void (*sequencer_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint nth_run);
  void (*sequencer_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint nth_run);

  void (*notation_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
			 guint nth_run);
  void (*notation_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			guint nth_run);
  void (*notation_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
			guint nth_run);

  void (*wave_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
		     guint nth_run);
  void (*wave_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
		    guint nth_run);
  void (*wave_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
		    guint nth_run);

  void (*midi_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
		     guint nth_run);
  void (*midi_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
		    guint nth_run);
  void (*midi_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
		    guint nth_run);
};

Property Details

The “delay-audio-run” property

  “delay-audio-run”          AgsDelayAudioRun *

The assigned AgsDelayAudioRun dependency.

Owner: AgsCountBeatsAudioRun

Flags: Read / Write

Since: 3.0.0


The “midi-counter” property

  “midi-counter”             guint64

The midi counter.

Owner: AgsCountBeatsAudioRun

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “notation-counter” property

  “notation-counter”         guint64

The notation counter.

Owner: AgsCountBeatsAudioRun

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “sequencer-counter” property

  “sequencer-counter”        guint64

The sequencer counter.

Owner: AgsCountBeatsAudioRun

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “wave-counter” property

  “wave-counter”             guint64

The wave counter.

Owner: AgsCountBeatsAudioRun

Flags: Read / Write

Default value: 0

Since: 3.0.0

Signal Details

The “midi-loop” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “midi-start” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “midi-stop” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “notation-loop” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “notation-start” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “notation-stop” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “sequencer-loop” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “sequencer-start” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “sequencer-stop” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “wave-loop” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “wave-start” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0


The “wave-stop” signal

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

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

Parameters

count_beats_audio_run

the object

 

nth_run

the nth run

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 3.0.0