AgsPatternEnvelope

AgsPatternEnvelope — Edit envelope presets

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

#include <ags/app/editor/ags_pattern_envelope.h>

Description

AgsPatternEnvelope is a composite widget to edit envelope controls by applying to AgsPreset used by ags-copy-pattern recall.

Functions

ags_pattern_envelope_set_preset_property ()

void
ags_pattern_envelope_set_preset_property
                               (AgsPatternEnvelope *pattern_envelope,
                                AgsPreset *preset,
                                gchar *property_name,
                                GValue *value);

Set preset property.

Parameters

pattern_envelope

the AgsPatternEnvelope

 

preset

the preset name

 

property_name

the property name

 

value

the GValue

 

Since: 3.0.0


ags_pattern_envelope_get_active_preset ()

AgsPreset *
ags_pattern_envelope_get_active_preset
                               (AgsPatternEnvelope *pattern_envelope);

Get active preset.

Parameters

pattern_envelope

the AgsPatternEnvelope

 

Returns

the matching AgsPreset, if none selected NULL

Since: 3.0.0


ags_pattern_envelope_load_preset ()

void
ags_pattern_envelope_load_preset (AgsPatternEnvelope *pattern_envelope);

Load preset.

Parameters

pattern_envelope

the AgsPatternEnvelope

 

Since: 3.0.0


ags_pattern_envelope_add_preset ()

void
ags_pattern_envelope_add_preset (AgsPatternEnvelope *pattern_envelope,
                                 gchar *preset_name);

Add preset.

Parameters

pattern_envelope

the AgsPatternEnvelope

 

preset_name

the preset name

 

Since: 3.0.0


ags_pattern_envelope_remove_preset ()

void
ags_pattern_envelope_remove_preset (AgsPatternEnvelope *pattern_envelope,
                                    guint nth);

Remove preset.

Parameters

pattern_envelope

the AgsPatternEnvelope

 

nth

the nth preset to remove

 

Since: 3.0.0


ags_pattern_envelope_reset_control ()

void
ags_pattern_envelope_reset_control (AgsPatternEnvelope *pattern_envelope);

Reset controls.

Parameters

pattern_envelope

the AgsPatternEnvelope

 

Since: 3.0.0


ags_pattern_envelope_reset_tree_view ()

void
ags_pattern_envelope_reset_tree_view (AgsPatternEnvelope *pattern_envelope);

Reset tree view.

Parameters

pattern_envelope

the AgsPatternEnvelope

 

Since: 3.0.0


ags_pattern_envelope_plot ()

void
ags_pattern_envelope_plot (AgsPatternEnvelope *pattern_envelope);

Plot envelope.

Parameters

pattern_envelope

the AgsPatternEnvelope

 

Since: 3.0.0


ags_pattern_envelope_new ()

AgsPatternEnvelope *
ags_pattern_envelope_new ();

Creates an AgsPatternEnvelope

Returns

a new AgsPatternEnvelope

Since: 3.0.0

Types and Values

AGS_PATTERN_ENVELOPE_DEFAULT_VERSION

#define AGS_PATTERN_ENVELOPE_DEFAULT_VERSION "4.0.0"

AGS_PATTERN_ENVELOPE_DEFAULT_BUILD_ID

#define AGS_PATTERN_ENVELOPE_DEFAULT_BUILD_ID "Tue Mar 01 12:27:51 UTC 2022"

AGS_PATTERN_ENVELOPE_SCALE_WIDTH

#define AGS_PATTERN_ENVELOPE_SCALE_WIDTH (250)

enum AgsPatternEnvelopeFlags

Members

AGS_PATTERN_ENVELOPE_NO_UPDATE

   

enum AgsPatternEnvelopeColumn

Members

AGS_PATTERN_ENVELOPE_COLUMN_EDIT

   

AGS_PATTERN_ENVELOPE_COLUMN_PLOT

   

AGS_PATTERN_ENVELOPE_COLUMN_PRESET_NAME

   

AGS_PATTERN_ENVELOPE_COLUMN_AUDIO_CHANNEL_START

   

AGS_PATTERN_ENVELOPE_COLUMN_AUDIO_CHANNEL_END

   

AGS_PATTERN_ENVELOPE_COLUMN_PAD_START

   

AGS_PATTERN_ENVELOPE_COLUMN_PAD_END

   

AGS_PATTERN_ENVELOPE_COLUMN_X_START

   

AGS_PATTERN_ENVELOPE_COLUMN_X_END

   

AGS_PATTERN_ENVELOPE_COLUMN_LAST