AgsPitchSampler

AgsPitchSampler — pitch_sampler notation

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkGrid
                ╰── AgsMachine
                    ╰── AgsPitchSampler

Includes

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

Description

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

Functions

ags_pitch_sampler_get_file ()

GList *
ags_pitch_sampler_get_file (AgsPitchSampler *pitch_sampler);

Get pitch_sampler member of pitch_sampler .

Parameters

pitch_sampler

the AgsPitchSampler

 

Returns

the GList containing AgsPitchSamplerFile

Since: 4.0.0


ags_pitch_sampler_add_file ()

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

Add pitch_sampler_file to pitch_sampler .

Parameters

pitch_sampler

the AgsPitchSampler

 

pitch_sampler_file

the AgsPitchSamplerFile

 

Since: 3.0.0


ags_pitch_sampler_remove_file ()

void
ags_pitch_sampler_remove_file (AgsPitchSampler *pitch_sampler,
                               AgsPitchSamplerFile *pitch_sampler_file);

Remove pitch_sampler_file from pitch_sampler .

Parameters

pitch_sampler

the AgsPitchSampler

 

pitch_sampler_file

the 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

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