AgsPitchSampler

AgsPitchSampler — pitch_sampler notation

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── AgsMachine
                        ╰── AgsPitchSampler

Implemented Interfaces

AgsPitchSampler implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/machine/ags_pitch_sampler.h>

Description

The AgsPitchSampler is a composite widget to act as soundfont2 notation player.

Functions

ags_pitch_sampler_add_file ()

void
ags_pitch_sampler_add_file (AgsPitchSampler *pitch_sampler,
                            AgsPitchSamplerFile *file);

Add file to pitch_sampler .

Parameters

pitch_sampler

the AgsPitchSampler

 

file

the AgsPitchSamplerFile

 

Since: 3.0.0


ags_pitch_sampler_remove_file ()

void
ags_pitch_sampler_remove_file (AgsPitchSampler *pitch_sampler,
                               guint nth);

Remove nth file.

Parameters

pitch_sampler

the AgsPitchSampler

 

nth

the nth AgsPitchSamplerFile

 

Since: 3.0.0


ags_pitch_sampler_open_filename ()

void
ags_pitch_sampler_open_filename (AgsPitchSampler *pitch_sampler,
                                 gchar *filename);

Open filename .

Parameters

pitch_sampler

the AgsPitchSampler

 

filename

the filename

 

Since: 3.0.0


ags_pitch_sampler_update ()

void
ags_pitch_sampler_update (AgsPitchSampler *pitch_sampler);

Update pitch_sampler .

Parameters

pitch_sampler

the AgsPitchSampler

 

Since: 3.0.0


ags_pitch_sampler_sfz_loader_completed_timeout ()

gboolean
ags_pitch_sampler_sfz_loader_completed_timeout
                               (AgsPitchSampler *pitch_sampler);

Queue draw widget

Parameters

pitch_sampler

the AgsPitchSampler

 

Returns

TRUE if proceed poll completed, otherwise FALSE

Since: 3.0.0


ags_pitch_sampler_new ()

AgsPitchSampler *
ags_pitch_sampler_new (GObject *soundcard);

Create a new instance of AgsPitchSampler

Parameters

soundcard

the assigned soundcard.

 

Returns

the new AgsPitchSampler

Since: 3.0.0


AGS_IS_PITCH_SAMPLER()

#define AGS_IS_PITCH_SAMPLER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PITCH_SAMPLER))

AGS_IS_PITCH_SAMPLER_CLASS()

#define AGS_IS_PITCH_SAMPLER_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PITCH_SAMPLER))

AGS_PITCH_SAMPLER()

#define AGS_PITCH_SAMPLER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PITCH_SAMPLER, AgsPitchSampler))

AGS_PITCH_SAMPLER_CLASS()

#define AGS_PITCH_SAMPLER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PITCH_SAMPLER, AgsPitchSamplerClass))

AGS_PITCH_SAMPLER_GET_CLASS()

#define AGS_PITCH_SAMPLER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_PITCH_SAMPLER, AgsPitchSamplerClass))

ags_pitch_sampler_get_type ()

GType
ags_pitch_sampler_get_type (void);

Types and Values

AGS_PITCH_SAMPLER_LFO_FREQ_MIN

#define AGS_PITCH_SAMPLER_LFO_FREQ_MIN (0.0)

AGS_PITCH_SAMPLER_LFO_FREQ_MAX

#define AGS_PITCH_SAMPLER_LFO_FREQ_MAX (20.0)

AGS_PITCH_SAMPLER_DEFAULT_LFO_FREQ

#define AGS_PITCH_SAMPLER_DEFAULT_LFO_FREQ (6.0)

enum AgsPitch_SamplerFlags

Members

AGS_PITCH_SAMPLER_AUTO_UPDATE

   

AGS_TYPE_PITCH_SAMPLER

#define AGS_TYPE_PITCH_SAMPLER                (ags_pitch_sampler_get_type())

struct AgsPitchSampler

struct AgsPitchSampler;

struct AgsPitchSamplerClass

struct AgsPitchSamplerClass {
  AgsMachineClass machine;
};