AgsMidiin

AgsMidiin — 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

Types and Values

Object Hierarchy

    GObject
    ╰── AgsMidiin

Implemented Interfaces

AgsMidiin implements AgsConnectable and AgsSequencer.

Includes

#include <ags/object/ags_sequencer.h>

Description

AgsMidiin represents a sequencer and supports midi input.

Functions

ags_midiin_error_quark ()

GQuark
ags_midiin_error_quark ();


ags_midiin_new ()

AgsMidiin *
ags_midiin_new (GObject *application_context);

Creates an AgsMidiin, refering to application_context .

Parameters

application_context

the AgsApplicationContext

 

Returns

a new AgsMidiin

Since: 0.7.0

Types and Values

AGS_MIDIIN_DEFAULT_BUFFER_SIZE

#define AGS_MIDIIN_DEFAULT_BUFFER_SIZE (256)


enum AgsMidiinFlags

Members

AGS_MIDIIN_BUFFER0

   

AGS_MIDIIN_BUFFER1

   

AGS_MIDIIN_BUFFER2

   

AGS_MIDIIN_BUFFER3

   

AGS_MIDIIN_ATTACK_FIRST

   

AGS_MIDIIN_RECORD

   

AGS_MIDIIN_OSS

   

AGS_MIDIIN_ALSA

   

AGS_MIDIIN_SHUTDOWN

   

AGS_MIDIIN_START_RECORD

   

AGS_MIDIIN_NONBLOCKING

   

AGS_MIDIIN_INITIALIZED

   

AGS_MIDIIN_ERROR

#define AGS_MIDIIN_ERROR (ags_midiin_error_quark())


enum AgsMidiinError

Members

AGS_MIDIIN_ERROR_LOCKED_SOUNDCARD

   

Property Details

The “application-context” property

  “application-context”      AgsApplicationContext *

The application context object.

Flags: Read / Write

Since: 0.7.0


The “application-mutex” property

  “application-mutex”        gpointer

The application mutex object.

Flags: Read / Write

Since: 0.7.0


The “attack” property

  “attack”                   gpointer

The attack to use for the buffer.

Flags: Read

Since: 0.7.0


The “bpm” property

  “bpm”                      gdouble

Beats per minute to use.

Flags: Read / Write

Allowed values: [1,240]

Default value: 120

Since: 0.7.0


The “buffer” property

  “buffer”                   gpointer

The buffer to play.

Flags: Read

Since: 0.7.0


The “delay-factor” property

  “delay-factor”             gdouble

The delay factor.

Flags: Read / Write

Allowed values: [0,16]

Default value: 1

Since: 0.7.0


The “device” property

  “device”                   gchar *

The device to perform output to.

Flags: Read / Write

Default value: "hw:0"

Since: 0.7.0