AgsLadspaConversion

AgsLadspaConversion — Conversion of values

Functions

Properties

gdouble lower Read / Write
guint samplerate Read / Write
gdouble step-count Read / Write
gdouble upper Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsConversion
        ╰── AgsLadspaConversion

Includes

#include <ags/plugin/ags_ladspa_conversion.h>

Description

The AgsLadspaConversion converts values.

Functions

ags_ladspa_conversion_test_flags ()

gboolean
ags_ladspa_conversion_test_flags (AgsLadspaConversion *ladspa_conversion,
                                  guint flags);

Test flags to be set on recall .

Parameters

ladspa_conversion

the AgsLadspaConversion

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 3.0.0


ags_ladspa_conversion_set_flags ()

void
ags_ladspa_conversion_set_flags (AgsLadspaConversion *ladspa_conversion,
                                 guint flags);

Set flags.

Parameters

ladspa_conversion

the AgsLadspaConversion

 

flags

the flags

 

Since: 3.0.0


ags_ladspa_conversion_unset_flags ()

void
ags_ladspa_conversion_unset_flags (AgsLadspaConversion *ladspa_conversion,
                                   guint flags);

Unset flags.

Parameters

ladspa_conversion

the AgsLadspaConversion

 

flags

the flags

 

Since: 3.0.0


ags_ladspa_conversion_new ()

AgsLadspaConversion *
ags_ladspa_conversion_new ();

Create a new instance of AgsLadspaConversion.

Returns

the new AgsLadspaConversion.

Since: 3.0.0


AGS_IS_LADSPA_CONVERSION()

#define AGS_IS_LADSPA_CONVERSION(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CONVERSION))

AGS_LADSPA_CONVERSION()

#define AGS_LADSPA_CONVERSION(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONVERSION, AgsLadspaConversion))

AGS_LADSPA_CONVERSION_CLASS()

#define AGS_LADSPA_CONVERSION_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CONVERSION, AgsLadspaConversionClass))

AGS_LADSPA_CONVERSION_GET_CLASS()

#define AGS_LADSPA_CONVERSION_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_CONVERSION, AgsLadspaConversionClass))

ags_ladspa_conversion_get_type ()

GType
ags_ladspa_conversion_get_type (void);

Types and Values

AGS_LADSPA_CONVERSION_DEFAULT_LOWER

#define AGS_LADSPA_CONVERSION_DEFAULT_LOWER (0.00001)

AGS_LADSPA_CONVERSION_DEFAULT_UPPER

#define AGS_LADSPA_CONVERSION_DEFAULT_UPPER (1.0)

AGS_LADSPA_CONVERSION_DEFAULT_STEP_COUNT

#define AGS_LADSPA_CONVERSION_DEFAULT_STEP_COUNT (1025.0)

enum AgsLadspaConversionFlags

Enum values to control the behavior or indicate internal state of AgsLadspaConversion by enable/disable as flags.

Members

AGS_LADSPA_CONVERSION_SAMPLERATE

samplerate

 

AGS_LADSPA_CONVERSION_BOUNDED_BELOW

bounded below

 

AGS_LADSPA_CONVERSION_BOUNDED_ABOVE

bounded above

 

AGS_LADSPA_CONVERSION_LOGARITHMIC

logarithmic

 

AGS_TYPE_LADSPA_CONVERSION

#define AGS_TYPE_LADSPA_CONVERSION                (ags_ladspa_conversion_get_type())

struct AgsLadspaConversion

struct AgsLadspaConversion;

struct AgsLadspaConversionClass

struct AgsLadspaConversionClass {
  AgsConversionClass conversion;
};

Property Details

The “lower” property

  “lower”                    gdouble

The lower to be used.

Owner: AgsLadspaConversion

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “samplerate” property

  “samplerate”               guint

The samplerate to be used.

Owner: AgsLadspaConversion

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “step-count” property

  “step-count”               gdouble

The step count to be used.

Owner: AgsLadspaConversion

Flags: Read / Write

Allowed values: >= 0

Default value: 0

Since: 3.0.0


The “upper” property

  “upper”                    gdouble

The upper to be used.

Owner: AgsLadspaConversion

Flags: Read / Write

Default value: 0

Since: 3.0.0