## AgsFxStarSynthAudio

AgsFxStarSynthAudio — fx star synth audio

## Stability Level

Stable, unless otherwise indicated

## Functions

AgsFxStarSynthAudioScopeData * | ags_fx_star_synth_audio_scope_data_alloc ()
void | ags_fx_star_synth_audio_scope_data_free ()
AgsFxStarSynthAudioChannelData * | ags_fx_star_synth_audio_channel_data_alloc ()
void | ags_fx_star_synth_audio_channel_data_free ()
AgsFxStarSynthAudioInputData * | ags_fx_star_synth_audio_input_data_alloc ()
void | ags_fx_star_synth_audio_input_data_free ()
AgsFxStarSynthAudio * | ags_fx_star_synth_audio_new ()

## Properties

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 * | noise-gain | Read / Write
AgsPort * | pitch-tuning | Read / Write
AgsPort * | pitch-type | Read / Write
AgsPort * | synth-0-key | Read / Write
AgsPort * | synth-0-lfo-depth | Read / Write
AgsPort * | synth-0-lfo-frequency | Read / Write
AgsPort * | synth-0-lfo-oscillator | Read / Write
AgsPort * | synth-0-lfo-tuning | Read / Write
AgsPort * | synth-0-octave | Read / Write
AgsPort * | synth-0-oscillator | Read / Write
AgsPort * | synth-0-phase | Read / Write
AgsPort * | synth-0-sync-attack-0 | Read / Write
AgsPort * | synth-0-sync-attack-1 | Read / Write
AgsPort * | synth-0-sync-attack-2 | Read / Write
AgsPort * | synth-0-sync-attack-3 | Read / Write
AgsPort * | synth-0-sync-enabled | Read / Write
AgsPort * | synth-0-sync-lfo-frequency | Read / Write
AgsPort * | synth-0-sync-lfo-oscillator | Read / Write
AgsPort * | synth-0-sync-phase-0 | Read / Write
AgsPort * | synth-0-sync-phase-1 | Read / Write
AgsPort * | synth-0-sync-phase-2 | Read / Write
AgsPort * | synth-0-sync-phase-3 | Read / Write
AgsPort * | synth-0-sync-relative-attack-factor | Read / Write
AgsPort * | synth-0-volume | Read / Write
AgsPort * | synth-1-key | Read / Write
AgsPort * | synth-1-lfo-depth | Read / Write
AgsPort * | synth-1-lfo-frequency | Read / Write
AgsPort * | synth-1-lfo-oscillator | Read / Write
AgsPort * | synth-1-lfo-tuning | Read / Write
AgsPort * | synth-1-octave | Read / Write
AgsPort * | synth-1-oscillator | Read / Write
AgsPort * | synth-1-phase | Read / Write
AgsPort * | synth-1-sync-attack-0 | Read / Write
AgsPort * | synth-1-sync-attack-1 | Read / Write
AgsPort * | synth-1-sync-attack-2 | Read / Write
AgsPort * | synth-1-sync-attack-3 | Read / Write
AgsPort * | synth-1-sync-enabled | Read / Write
AgsPort * | synth-1-sync-lfo-frequency | Read / Write
AgsPort * | synth-1-sync-lfo-oscillator | Read / Write
AgsPort * | synth-1-sync-phase-0 | Read / Write
AgsPort * | synth-1-sync-phase-1 | Read / Write
AgsPort * | synth-1-sync-phase-2 | Read / Write
AgsPort * | synth-1-sync-phase-3 | Read / Write
AgsPort * | synth-1-sync-relative-attack-factor | Read / Write
AgsPort * | synth-1-volume | Read / Write
AgsPort * | vibrato-enabled | Read / Write
AgsPort * | vibrato-gain | Read / Write
AgsPort * | vibrato-lfo-depth | Read / Write
AgsPort * | vibrato-lfo-freq | Read / Write
AgsPort * | vibrato-tuning | Read / Write

## Types and Values

#define | AGS_FX_STAR_SYNTH_AUDIO_DEFAULT_BUFFER_SIZE
struct | AgsFxStarSynthAudioScopeData
struct | AgsFxStarSynthAudioChannelData
struct | AgsFxStarSynthAudioInputData

## Object Hierarchy

        GObject
        ╰── AgsRecall
            ╰── AgsRecallAudio
                ╰── AgsFxNotationAudio
                    ╰── AgsFxStarSynthAudio

## Includes

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

## Description

The AgsFxStarSynthAudio class provides ports to the effect processor.

## Functions

### ags_fx_star_synth_audio_scope_data_alloc ()

    AgsFxStarSynthAudioScopeData *
    ags_fx_star_synth_audio_scope_data_alloc
                                   ();

Allocate AgsFxStarSynthAudioScopeData

#### Returns

the new AgsFxStarSynthAudioScopeData

Since: 7.4.0

### ags_fx_star_synth_audio_scope_data_free ()

    void
    ags_fx_star_synth_audio_scope_data_free
                                   (AgsFxStarSynthAudioScopeData *scope_data);

Free `scope_data` .

#### Parameters

scope_data | the AgsFxStarSynthAudioScopeData |

Since: 7.4.0

### ags_fx_star_synth_audio_channel_data_alloc ()

    AgsFxStarSynthAudioChannelData *
    ags_fx_star_synth_audio_channel_data_alloc
                                   ();

Allocate AgsFxStarSynthAudioChannelData

#### Returns

the new AgsFxStarSynthAudioChannelData

Since: 7.4.0

### ags_fx_star_synth_audio_channel_data_free ()

    void
    ags_fx_star_synth_audio_channel_data_free
                                   (AgsFxStarSynthAudioChannelData *channel_data);

Free `channel_data` .

#### Parameters

channel_data | the AgsFxStarSynthAudioChannelData |

Since: 7.4.0

### ags_fx_star_synth_audio_input_data_alloc ()

    AgsFxStarSynthAudioInputData *
    ags_fx_star_synth_audio_input_data_alloc
                                   ();

Allocate AgsFxStarSynthAudioInputData

#### Returns

the new AgsFxStarSynthAudioInputData

Since: 7.4.0

### ags_fx_star_synth_audio_input_data_free ()

    void
    ags_fx_star_synth_audio_input_data_free
                                   (AgsFxStarSynthAudioInputData *input_data);

Free `input_data` .

#### Parameters

input_data | the AgsFxStarSynthAudioInputData |

Since: 7.4.0

### ags_fx_star_synth_audio_new ()

    AgsFxStarSynthAudio *
    ags_fx_star_synth_audio_new (AgsAudio *audio);

Create a new instance of AgsFxStarSynthAudio

#### Parameters

audio | the AgsAudio |

#### Returns

the new AgsFxStarSynthAudio

Since: 7.4.0

## Types and Values

### AGS_FX_STAR_SYNTH_AUDIO_DEFAULT_BUFFER_SIZE

    #define AGS_FX_STAR_SYNTH_AUDIO_DEFAULT_BUFFER_SIZE (65536)

### struct AgsFxStarSynthAudioScopeData

    struct AgsFxStarSynthAudioScopeData {
      GRecMutex strct_mutex;

      gpointer parent;

      guint audio_channels;

      AgsFxStarSynthAudioChannelData **channel_data;
    };

### struct AgsFxStarSynthAudioChannelData

    struct AgsFxStarSynthAudioChannelData {
      GRecMutex strct_mutex;

      gpointer parent;

      AgsStarSynthUtil *star_synth_0;
      AgsStarSynthUtil *star_synth_1;

      AgsNoiseUtil *noise_util;

      GType pitch_type;
      gpointer pitch_util;

      gpointer pitch_buffer;

      AgsChorusUtil *chorus_util;

      AgsFxStarSynthAudioInputData* input_data[AGS_SEQUENCER_MAX_MIDI_KEYS];
    };

### struct AgsFxStarSynthAudioInputData

    struct AgsFxStarSynthAudioInputData {
      GRecMutex strct_mutex;

      gpointer parent;

      guint key_on;
    };

## Property Details

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

      “chorus-delay”             AgsPort *

The chorus delay.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “chorus-depth”             AgsPort *

The chorus depth.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “chorus-enabled”           AgsPort *

The chorus enabled.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “chorus-input-volume”      AgsPort *

The chorus input volume.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “chorus-lfo-frequency”     AgsPort *

The chorus lfo frequency.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “chorus-lfo-oscillator”    AgsPort *

The chorus lfo oscillator.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “chorus-mix”               AgsPort *

The chorus mix.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “chorus-output-volume”     AgsPort *

The chorus output volume.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “chorus-pitch-type”        AgsPort *

The chorus pitch type.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “noise-gain”               AgsPort *

The noise gain.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “pitch-tuning”             AgsPort *

The pitch tuning.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “pitch-type”               AgsPort *

The pitch type.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-key”              AgsPort *

The synth-0 key.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-lfo-depth”        AgsPort *

The synth-0 LFO depth.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-lfo-frequency”    AgsPort *

The synth-0 LFO frequency.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-lfo-oscillator”   AgsPort *

The synth-0 lfo-oscillator.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-lfo-tuning”       AgsPort *

The synth-0 LFO tuning.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-octave”           AgsPort *

The synth-0 octave.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-oscillator”       AgsPort *

The synth-0 oscillator.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-phase”            AgsPort *

The synth-0 phase.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-0 sync attack-0.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-0 sync attack-1.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-0-sync-attack-2”` property

      “synth-0-sync-attack-2”    AgsPort *

The synth-0 sync attack-2.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-0-sync-attack-3”` property

      “synth-0-sync-attack-3”    AgsPort *

The synth-0 sync attack-3.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-0-sync-enabled”` property

      “synth-0-sync-enabled”     AgsPort *

The synth-0 sync enabled.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-0 sync LFO frequency.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-0 sync LFO oscillator.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-0 sync phase-0.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-0 sync phase-1.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-0-sync-phase-2”` property

      “synth-0-sync-phase-2”     AgsPort *

The synth-0 sync phase-2.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-0-sync-phase-3”` property

      “synth-0-sync-phase-3”     AgsPort *

The synth-0 sync phase-3.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-0-sync-relative-attack-factor”` property

      “synth-0-sync-relative-attack-factor” AgsPort *

The synth-0 sync relative attack factor.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-0-volume”           AgsPort *

The synth-0 volume.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-key”              AgsPort *

The synth-1 key.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-lfo-depth”        AgsPort *

The synth-1 LFO depth.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-lfo-frequency”    AgsPort *

The synth-1 LFO frequency.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-lfo-oscillator”   AgsPort *

The synth-1 lfo-oscillator.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-lfo-tuning”       AgsPort *

The synth-1 LFO tuning.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-octave”           AgsPort *

The synth-1 octave.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-oscillator”       AgsPort *

The synth-1 oscillator.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-phase”            AgsPort *

The synth-1 phase.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-1 sync attack-0.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-1-sync-attack-1”` property

      “synth-1-sync-attack-1”    AgsPort *

The synth-1 sync attack-1.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-1-sync-attack-2”` property

      “synth-1-sync-attack-2”    AgsPort *

The synth-1 sync attack-2.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-1-sync-attack-3”` property

      “synth-1-sync-attack-3”    AgsPort *

The synth-1 sync attack-3.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-1-sync-enabled”` property

      “synth-1-sync-enabled”     AgsPort *

The synth-1 sync enabled.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-1 sync LFO frequency.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-1 sync LFO oscillator.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

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

The synth-1 sync phase-0.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-1-sync-phase-1”` property

      “synth-1-sync-phase-1”     AgsPort *

The synth-1 sync phase-1.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-1-sync-phase-2”` property

      “synth-1-sync-phase-2”     AgsPort *

The synth-1 sync phase-2.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-1-sync-phase-3”` property

      “synth-1-sync-phase-3”     AgsPort *

The synth-1 sync phase-3.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“synth-1-sync-relative-attack-factor”` property

      “synth-1-sync-relative-attack-factor” AgsPort *

The synth-1 sync relative attack factor.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “synth-1-volume”           AgsPort *

The synth-1 volume.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

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

      “vibrato-enabled”          AgsPort *

The vibrato enabled.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“vibrato-gain”` property

      “vibrato-gain”             AgsPort *

The vibrato gain.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“vibrato-lfo-depth”` property

      “vibrato-lfo-depth”        AgsPort *

The vibrato LFO depth.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“vibrato-lfo-freq”` property

      “vibrato-lfo-freq”         AgsPort *

The vibrato LFO freq.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0

### The `“vibrato-tuning”` property

      “vibrato-tuning”           AgsPort *

The vibrato tuning.

Owner: AgsFxStarSynthAudio

Flags: Read / Write

Since: 7.4.0