## AgsFxModularSynthAudio

AgsFxModularSynthAudio — fx modular synth audio

## Stability Level

Stable, unless otherwise indicated

## Functions

AgsFxModularSynthAudioScopeData * | ags_fx_modular_synth_audio_scope_data_alloc ()
void | ags_fx_modular_synth_audio_scope_data_free ()
AgsFxModularSynthAudioChannelData * | ags_fx_modular_synth_audio_channel_data_alloc ()
void | ags_fx_modular_synth_audio_channel_data_free ()
AgsFxModularSynthAudioInputData * | ags_fx_modular_synth_audio_input_data_alloc ()
void | ags_fx_modular_synth_audio_input_data_free ()
AgsFxModularSynthAudio * | ags_fx_modular_synth_audio_new ()

## Properties

AgsPort * | amplifier-0-amp-0-gain | Read / Write
AgsPort * | amplifier-0-amp-1-gain | Read / Write
AgsPort * | amplifier-0-amp-2-gain | Read / Write
AgsPort * | amplifier-0-amp-3-gain | Read / Write
AgsPort * | amplifier-0-filter-gain | Read / Write
AgsPort * | chorus-delay | Read / Write
AgsPort * | chorus-depth | Read / Write
AgsPort * | chorus-enabled | Read / Write
AgsPort * | chorus-input-volume | Read / Write
AgsPort * | chorus-lfo-frequency | Read / Write
AgsPort * | chorus-lfo-oscillator | Read / Write
AgsPort * | chorus-mix | Read / Write
AgsPort * | chorus-output-volume | Read / Write
AgsPort * | chorus-pitch-type | Read / Write
AgsPort * | low-pass-0-cut-off-frequency | Read / Write
AgsPort * | low-pass-0-filter-gain | Read / Write
AgsPort * | low-pass-0-no-clip | Read / Write
AgsPort * | synth-0-env-0-attack | Read / Write
AgsPort * | synth-0-env-0-decay | Read / Write
AgsPort * | synth-0-env-0-frequency | Read / Write
AgsPort * | synth-0-env-0-gain | Read / Write
AgsPort * | synth-0-env-0-release | Read / Write
AgsPort * | synth-0-env-0-sends | Read / Write
AgsPort * | synth-0-env-0-sustain | Read / Write
AgsPort * | synth-0-env-1-attack | Read / Write
AgsPort * | synth-0-env-1-decay | Read / Write
AgsPort * | synth-0-env-1-frequency | Read / Write
AgsPort * | synth-0-env-1-gain | Read / Write
AgsPort * | synth-0-env-1-release | Read / Write
AgsPort * | synth-0-env-1-sends | Read / Write
AgsPort * | synth-0-env-1-sustain | Read / Write
AgsPort * | synth-0-lfo-0-depth | Read / Write
AgsPort * | synth-0-lfo-0-frequency | Read / Write
AgsPort * | synth-0-lfo-0-oscillator | Read / Write
AgsPort * | synth-0-lfo-0-sends | Read / Write
AgsPort * | synth-0-lfo-0-tuning | Read / Write
AgsPort * | synth-0-lfo-1-depth | Read / Write
AgsPort * | synth-0-lfo-1-frequency | Read / Write
AgsPort * | synth-0-lfo-1-oscillator | Read / Write
AgsPort * | synth-0-lfo-1-sends | Read / Write
AgsPort * | synth-0-lfo-1-tuning | Read / Write
AgsPort * | synth-0-noise-frequency | Read / Write
AgsPort * | synth-0-noise-gain | Read / Write
AgsPort * | synth-0-noise-sends | Read / Write
AgsPort * | synth-0-osc-0-key | Read / Write
AgsPort * | synth-0-osc-0-octave | Read / Write
AgsPort * | synth-0-osc-0-oscillator | Read / Write
AgsPort * | synth-0-osc-0-phase | Read / Write
AgsPort * | synth-0-osc-0-volume | Read / Write
AgsPort * | synth-0-osc-1-key | Read / Write
AgsPort * | synth-0-osc-1-octave | Read / Write
AgsPort * | synth-0-osc-1-oscillator | Read / Write
AgsPort * | synth-0-osc-1-phase | Read / Write
AgsPort * | synth-0-osc-1-volume | Read / Write
AgsPort * | synth-0-pitch-tuning | Read / Write
AgsPort * | synth-0-volume | Read / Write

## Types and Values

#define | AGS_FX_MODULAR_SYNTH_AUDIO_DEFAULT_BUFFER_SIZE
struct | AgsFxModularSynthAudioScopeData
struct | AgsFxModularSynthAudioChannelData
struct | AgsFxModularSynthAudioInputData

## Object Hierarchy

        GObject
        ╰── AgsRecall
            ╰── AgsRecallAudio
                ╰── AgsFxNotationAudio
                    ╰── AgsFxModularSynthAudio

## Includes

    #include <ags/audio/fx/ags_fx_modular_synth_audio.h>

## Description

The AgsFxModularSynthAudio class provides ports to the effect processor.

## Functions

### ags_fx_modular_synth_audio_scope_data_alloc ()

    AgsFxModularSynthAudioScopeData *
    ags_fx_modular_synth_audio_scope_data_alloc
                                   ();

Allocate AgsFxModularSynthAudioScopeData

#### Returns

the new AgsFxModularSynthAudioScopeData

Since: 8.2.0

### ags_fx_modular_synth_audio_scope_data_free ()

    void
    ags_fx_modular_synth_audio_scope_data_free
                                   (AgsFxModularSynthAudioScopeData *scope_data);

Free `scope_data` .

#### Parameters

scope_data | the AgsFxModularSynthAudioScopeData |

Since: 8.2.0

### ags_fx_modular_synth_audio_channel_data_alloc ()

    AgsFxModularSynthAudioChannelData *
    ags_fx_modular_synth_audio_channel_data_alloc
                                   ();

Allocate AgsFxModularSynthAudioChannelData

#### Returns

the new AgsFxModularSynthAudioChannelData

Since: 8.2.0

### ags_fx_modular_synth_audio_channel_data_free ()

    void
    ags_fx_modular_synth_audio_channel_data_free
                                   (AgsFxModularSynthAudioChannelData *channel_data);

Free `channel_data` .

#### Parameters

channel_data | the AgsFxModularSynthAudioChannelData |

Since: 8.2.0

### ags_fx_modular_synth_audio_input_data_alloc ()

    AgsFxModularSynthAudioInputData *
    ags_fx_modular_synth_audio_input_data_alloc
                                   ();

Allocate AgsFxModularSynthAudioInputData

#### Returns

the new AgsFxModularSynthAudioInputData

Since: 8.2.0

### ags_fx_modular_synth_audio_input_data_free ()

    void
    ags_fx_modular_synth_audio_input_data_free
                                   (AgsFxModularSynthAudioInputData *input_data);

Free `input_data` .

#### Parameters

input_data | the AgsFxModularSynthAudioInputData |

Since: 8.2.0

### ags_fx_modular_synth_audio_new ()

    AgsFxModularSynthAudio *
    ags_fx_modular_synth_audio_new (AgsAudio *audio);

Create a new instance of AgsFxModularSynthAudio

#### Parameters

audio | the AgsAudio |

#### Returns

the new AgsFxModularSynthAudio

Since: 8.2.0

## Types and Values

### AGS_FX_MODULAR_SYNTH_AUDIO_DEFAULT_BUFFER_SIZE

    #define AGS_FX_MODULAR_SYNTH_AUDIO_DEFAULT_BUFFER_SIZE (65536)

### struct AgsFxModularSynthAudioScopeData

    struct AgsFxModularSynthAudioScopeData {
      GRecMutex strct_mutex;

      gpointer parent;

      guint audio_channels;

      AgsFxModularSynthAudioChannelData **channel_data;
    };

### struct AgsFxModularSynthAudioChannelData

    struct AgsFxModularSynthAudioChannelData {
      GRecMutex strct_mutex;

      gpointer parent;

      gpointer synth_buffer_0;

      AgsModularSynthUtil *modular_synth_util_0;

      AgsLowPassFilterUtil *low_pass_filter_util_0;

      AgsAmplifierUtil *amplifier_util_0;

      AgsChorusUtil *chorus_util;

      AgsFxModularSynthAudioInputData* input_data[AGS_SEQUENCER_MAX_MIDI_KEYS];
    };

### struct AgsFxModularSynthAudioInputData

    struct AgsFxModularSynthAudioInputData {
      GRecMutex strct_mutex;

      gpointer parent;

      guint key_on;
    };

## Property Details

### The `“amplifier-0-amp-0-gain”` property

      “amplifier-0-amp-0-gain”   AgsPort *

The amplifier 0 amp-0 gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“amplifier-0-amp-1-gain”` property

      “amplifier-0-amp-1-gain”   AgsPort *

The amplifier 0 amp-1 gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“amplifier-0-amp-2-gain”` property

      “amplifier-0-amp-2-gain”   AgsPort *

The amplifier 0 amp-2 gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“amplifier-0-amp-3-gain”` property

      “amplifier-0-amp-3-gain”   AgsPort *

The amplifier 0 amp-3 gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“amplifier-0-filter-gain”` property

      “amplifier-0-filter-gain”  AgsPort *

The amplifier 0 filter gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-delay”` property

      “chorus-delay”             AgsPort *

The chorus delay.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-depth”` property

      “chorus-depth”             AgsPort *

The chorus depth.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-enabled”` property

      “chorus-enabled”           AgsPort *

The chorus enabled.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-input-volume”` property

      “chorus-input-volume”      AgsPort *

The chorus input volume.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-lfo-frequency”` property

      “chorus-lfo-frequency”     AgsPort *

The chorus lfo frequency.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-lfo-oscillator”` property

      “chorus-lfo-oscillator”    AgsPort *

The chorus lfo oscillator.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-mix”` property

      “chorus-mix”               AgsPort *

The chorus mix.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-output-volume”` property

      “chorus-output-volume”     AgsPort *

The chorus output volume.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“chorus-pitch-type”` property

      “chorus-pitch-type”        AgsPort *

The chorus pitch type.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“low-pass-0-cut-off-frequency”` property

      “low-pass-0-cut-off-frequency” AgsPort *

The low-pass-0-cut-off-frequency.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“low-pass-0-filter-gain”` property

      “low-pass-0-filter-gain”   AgsPort *

The low-pass-0-filter-gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“low-pass-0-no-clip”` property

      “low-pass-0-no-clip”       AgsPort *

The low-pass-0-no-clip.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-0-attack”` property

      “synth-0-env-0-attack”     AgsPort *

The synth 0 env-0 attack.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-0-decay”` property

      “synth-0-env-0-decay”      AgsPort *

The synth 0 env-0 decay.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-0-frequency”` property

      “synth-0-env-0-frequency”  AgsPort *

The synth 0 env-0 frequency.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-0-gain”` property

      “synth-0-env-0-gain”       AgsPort *

The synth 0 env-0 gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-0-release”` property

      “synth-0-env-0-release”    AgsPort *

The synth 0 env-0 release.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-0-sends”` property

      “synth-0-env-0-sends”      AgsPort *

The synth 0 env-0 sends.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-0-sustain”` property

      “synth-0-env-0-sustain”    AgsPort *

The synth 0 env-0 sustain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-1-attack”` property

      “synth-0-env-1-attack”     AgsPort *

The synth 0 env-1 attack.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-1-decay”` property

      “synth-0-env-1-decay”      AgsPort *

The synth 0 env-1 decay.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-1-frequency”` property

      “synth-0-env-1-frequency”  AgsPort *

The synth 0 env-1 frequency.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-1-gain”` property

      “synth-0-env-1-gain”       AgsPort *

The synth 0 env-1 gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-1-release”` property

      “synth-0-env-1-release”    AgsPort *

The synth 0 env-1 release.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-1-sends”` property

      “synth-0-env-1-sends”      AgsPort *

The synth 0 env-1 sends.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-env-1-sustain”` property

      “synth-0-env-1-sustain”    AgsPort *

The synth 0 env-1 sustain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-0-depth”` property

      “synth-0-lfo-0-depth”      AgsPort *

The synth 0 lfo-0 depth.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-0-frequency”` property

      “synth-0-lfo-0-frequency”  AgsPort *

The synth 0 lfo-0 frequency.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-0-oscillator”` property

      “synth-0-lfo-0-oscillator” AgsPort *

The synth 0 lfo-0 oscillator.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-0-sends”` property

      “synth-0-lfo-0-sends”      AgsPort *

The synth 0 lfo-0 sends.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-0-tuning”` property

      “synth-0-lfo-0-tuning”     AgsPort *

The synth 0 lfo-0 tuning.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-1-depth”` property

      “synth-0-lfo-1-depth”      AgsPort *

The synth 0 lfo-1 depth.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-1-frequency”` property

      “synth-0-lfo-1-frequency”  AgsPort *

The synth 0 lfo-1 frequency.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-1-oscillator”` property

      “synth-0-lfo-1-oscillator” AgsPort *

The synth 0 lfo-1 oscillator.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-1-sends”` property

      “synth-0-lfo-1-sends”      AgsPort *

The synth 0 lfo-1 sends.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-lfo-1-tuning”` property

      “synth-0-lfo-1-tuning”     AgsPort *

The synth 0 lfo-1 tuning.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-noise-frequency”` property

      “synth-0-noise-frequency”  AgsPort *

The synth 0 noise frequency.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-noise-gain”` property

      “synth-0-noise-gain”       AgsPort *

The synth 0 noise gain.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-noise-sends”` property

      “synth-0-noise-sends”      AgsPort *

The synth 0 noise sends.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-0-key”` property

      “synth-0-osc-0-key”        AgsPort *

The synth-0 osc-0 key.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-0-octave”` property

      “synth-0-osc-0-octave”     AgsPort *

The synth-0 osc-0 octave.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-0-oscillator”` property

      “synth-0-osc-0-oscillator” AgsPort *

The synth-0 osc-0 oscillator.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-0-phase”` property

      “synth-0-osc-0-phase”      AgsPort *

The synth-0 osc-0 phase.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-0-volume”` property

      “synth-0-osc-0-volume”     AgsPort *

The synth-0 osc-0 volume.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-1-key”` property

      “synth-0-osc-1-key”        AgsPort *

The synth-0 osc-1 key.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-1-octave”` property

      “synth-0-osc-1-octave”     AgsPort *

The synth-0 osc-1 octave.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-1-oscillator”` property

      “synth-0-osc-1-oscillator” AgsPort *

The synth-0 osc-1 oscillator.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-1-phase”` property

      “synth-0-osc-1-phase”      AgsPort *

The synth-0 osc-1 phase.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-osc-1-volume”` property

      “synth-0-osc-1-volume”     AgsPort *

The synth-0 osc-1 volume.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-pitch-tuning”` property

      “synth-0-pitch-tuning”     AgsPort *

The synth 0 pitch tuning.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0

### The `“synth-0-volume”` property

      “synth-0-volume”           AgsPort *

The synth 0 volume.

Owner: AgsFxModularSynthAudio

Flags: Read / Write

Since: 8.2.0