AgsSF2Synth

AgsSF2Synth — SF2 synth

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkGrid
                ╰── AgsMachine
                    ╰── AgsSF2Synth

Includes

#include <ags/app/machine/ags_sf2_synth.h>

Description

The AgsSF2Synth is a composite widget to act as SF2 synth.

Functions

AGS_SF2_SYNTH_INPUT_LINE()

#define AGS_SF2_SYNTH_INPUT_LINE(ptr) ((AgsSF2SynthInputLine *)(ptr))

ags_sf2_synth_open_filename ()

void
ags_sf2_synth_open_filename (AgsSF2Synth *sf2_synth,
                             gchar *filename);

Open filename .

Parameters

sf2_synth

the AgsSF2Synth

 

filename

the filename

 

Since: 3.4.0


ags_sf2_synth_load_bank ()

void
ags_sf2_synth_load_bank (AgsSF2Synth *sf2_synth,
                         gint bank);

Load bank of sf2_synth .

Parameters

sf2_synth

the AgsSF2Synth

 

bank

the bank

 

Since: 3.4.0


ags_sf2_synth_load_midi_locale ()

void
ags_sf2_synth_load_midi_locale (AgsSF2Synth *sf2_synth,
                                gint bank,
                                gint program);

Load bank and program of sf2_synth .

Parameters

sf2_synth

the AgsSF2Synth

 

bank

the bank

 

program

the program

 

Since: 3.4.0


ags_sf2_synth_sf2_loader_completed_timeout ()

gboolean
ags_sf2_synth_sf2_loader_completed_timeout
                               (AgsSF2Synth *sf2_synth);

Queue draw widget

Parameters

sf2_synth

the AgsSF2Synth

 

Returns

TRUE if proceed poll completed, otherwise FALSE

Since: 3.4.0


ags_sf2_synth_new ()

AgsSF2Synth *
ags_sf2_synth_new (GObject *soundcard);

Create a new instance of AgsSF2Synth

Parameters

soundcard

the assigned soundcard.

 

Returns

the new AgsSF2Synth

Since: 3.4.0

Types and Values

AGS_SF2_SYNTH_BANK_HEIGHT_REQUEST

#define AGS_SF2_SYNTH_BANK_HEIGHT_REQUEST (256)

AGS_SF2_SYNTH_BANK_WIDTH_REQUEST

#define AGS_SF2_SYNTH_BANK_WIDTH_REQUEST (256)

AGS_SF2_SYNTH_PROGRAM_HEIGHT_REQUEST

#define AGS_SF2_SYNTH_PROGRAM_HEIGHT_REQUEST (256)

AGS_SF2_SYNTH_PROGRAM_WIDTH_REQUEST

#define AGS_SF2_SYNTH_PROGRAM_WIDTH_REQUEST (512)

enum AgsSF2SynthFlags

Members

AGS_SF2_SYNTH_NO_LOAD

   

struct AgsSF2SynthInputLine

struct AgsSF2SynthInputLine {
  guint pad;
  guint audio_channel;

  guint line;

  gboolean mapped_recall;
};