AgsJackMidiin

AgsJackMidiin — Input from sequencer

Functions

Properties

AgsApplicationContext * application-context Read / Write
gpointer application-mutex Read / Write
gpointer attack Read
gdouble bpm Read / Write
gpointer buffer Read
gdouble delay-factor Read / Write
gchar * device Read / Write
AgsJackClient * jack-client Read / Write
AgsJackPort * jack-port Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsJackMidiin

Implemented Interfaces

AgsJackMidiin implements AgsConnectable and AgsSequencer.

Includes

#include <ags/audio/jack/ags_jack_midiin.h>

Description

AgsJackMidiin represents a sequencer and supports midi input.

Functions

ags_jack_midiin_error_quark ()

GQuark
ags_jack_midiin_error_quark ();

ags_jack_midiin_switch_buffer_flag ()

void
ags_jack_midiin_switch_buffer_flag (AgsJackMidiin *jack_midiin);

The buffer flag indicates the currently recorded buffer.

Parameters

jack_midiin

an AgsJackMidiin

 

Since: 1.0.0


ags_jack_midiin_new ()

AgsJackMidiin *
ags_jack_midiin_new (GObject *application_context);

Creates an AgsJackMidiin, refering to application_context .

Parameters

application_context

the AgsApplicationContext

 

Returns

a new AgsJackMidiin

Since: 1.0.0


AGS_IS_JACK_MIDIIN()

#define AGS_IS_JACK_MIDIIN(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_JACK_MIDIIN))

AGS_JACK_MIDIIN()

#define AGS_JACK_MIDIIN(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_JACK_MIDIIN, AgsJackMidiin))

AGS_JACK_MIDIIN_CLASS()

#define AGS_JACK_MIDIIN_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_JACK_MIDIIN, AgsJackMidiin))

AGS_JACK_MIDIIN_GET_CLASS()

#define AGS_JACK_MIDIIN_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_JACK_MIDIIN, AgsJackMidiinClass))

ags_jack_midiin_get_type ()

GType
ags_jack_midiin_get_type ();

Types and Values

AGS_JACK_MIDIIN_DEFAULT_BUFFER_SIZE

#define AGS_JACK_MIDIIN_DEFAULT_BUFFER_SIZE (256)

enum AgsJackMidiinFlags

Enum values to control the behavior or indicate internal state of AgsJackMidiin by enable/disable as flags.

Members

AGS_JACK_MIDIIN_BUFFER0

ring-buffer 0

 

AGS_JACK_MIDIIN_BUFFER1

ring-buffer 1

 

AGS_JACK_MIDIIN_BUFFER2

ring-buffer 2

 

AGS_JACK_MIDIIN_BUFFER3

ring-buffer 3

 

AGS_JACK_MIDIIN_ATTACK_FIRST

use first attack, instead of second one

 

AGS_JACK_MIDIIN_RECORD

is recording

 

AGS_JACK_MIDIIN_SHUTDOWN

stop recording

 

AGS_JACK_MIDIIN_START_RECORD

just started recording

 

AGS_JACK_MIDIIN_NONBLOCKING

do non-blocking calls

 

AGS_JACK_MIDIIN_INITIALIZED

recording is initialized

 

AGS_JACK_MIDIIN_DUMMY

   

AGS_JACK_MIDIIN_OSS

   

AGS_JACK_MIDIIN_ALSA

   

AGS_JACK_MIDIIN_FREEBOB

   

AGS_JACK_MIDIIN_FIREWIRE

   

AGS_JACK_MIDIIN_NET

   

AGS_JACK_MIDIIN_SUN

   

AGS_JACK_MIDIIN_PORTAUDIO

   

enum AgsJackMidiinSyncFlags

Enum values to control the synchronization between sequencer and client.

Members

AGS_JACK_MIDIIN_PASS_THROUGH

do not sync

 

AGS_JACK_MIDIIN_INITIAL_CALLBACK

initial callback

 

AGS_JACK_MIDIIN_CALLBACK_WAIT

sync wait, sequencer conditional lock

 

AGS_JACK_MIDIIN_CALLBACK_DONE

sync done, sequencer conditional lock

 

AGS_JACK_MIDIIN_CALLBACK_FINISH_WAIT

sync wait, client conditional lock

 

AGS_JACK_MIDIIN_CALLBACK_FINISH_DONE

sync done, client conditional lock

 

AGS_JACK_MIDIIN_ERROR

#define AGS_JACK_MIDIIN_ERROR (ags_jack_midiin_error_quark())

enum AgsJackMidiinError

Members

AGS_JACK_MIDIIN_ERROR_LOCKED_SOUNDCARD

   

AGS_TYPE_JACK_MIDIIN

#define AGS_TYPE_JACK_MIDIIN                (ags_jack_midiin_get_type())

struct AgsJackMidiin

struct AgsJackMidiin;

struct AgsJackMidiinClass

struct AgsJackMidiinClass {
  GObjectClass object;
};

Property Details

The “application-context” property

  “application-context”      AgsApplicationContext *

The assigned AgsApplicationContext

Flags: Read / Write

Since: 1.0.0


The “application-mutex” property

  “application-mutex”        gpointer

The assigned application mutex

Flags: Read / Write

Since: 1.0.0


The “attack” property

  “attack”                   gpointer

Attack of the buffer

Flags: Read

Since: 1.0.0


The “bpm” property

  “bpm”                      gdouble

Beats per minute

Flags: Read / Write

Allowed values: [1,240]

Default value: 120

Since: 1.0.0


The “buffer” property

  “buffer”                   gpointer

The buffer

Flags: Read

Since: 1.0.0


The “delay-factor” property

  “delay-factor”             gdouble

tact

Flags: Read / Write

Allowed values: [0,16]

Default value: 1

Since: 1.0.0


The “device” property

  “device”                   gchar *

The JACK sequencer indentifier

Flags: Read / Write

Default value: "hw:0"

Since: 1.0.0


The “jack-client” property

  “jack-client”              AgsJackClient *

The assigned AgsJackClient

Flags: Read / Write

Since: 1.0.0


The “jack-port” property

  “jack-port”                AgsJackPort *

The assigned AgsJackPort

Flags: Read / Write

Since: 1.0.0.7