AgsFrequencyAliaseUtil

AgsFrequencyAliaseUtil — frequency aliase util

Stability Level

Stable, unless otherwise indicated

Functions

Includes

#include <ags/audio/ags_frequency_aliase_util.h>

Description

Utility functions to compute frequency aliase.

Functions

ags_frequency_aliase_util_compute_s8 ()

void
ags_frequency_aliase_util_compute_s8 (gint8 *destination,
                                      gint8 *source,
                                      gint8 *phase_shifted_source,
                                      guint buffer_length);

Compute aliased audio buffer.

Parameters

destination

the destination audio buffer

 

source

the source audio buffer

 

phase_shifted_source

the phase shifted source audio buffer

 

buffer_length

the audio buffer's length

 

Since: 3.8.0


ags_frequency_aliase_util_compute_s16 ()

void
ags_frequency_aliase_util_compute_s16 (gint16 *destination,
                                       gint16 *source,
                                       gint16 *phase_shifted_source,
                                       guint buffer_length);

Compute aliased audio buffer.

Parameters

destination

the destination audio buffer

 

source

the source audio buffer

 

phase_shifted_source

the phase shifted source audio buffer

 

buffer_length

the audio buffer's length

 

Since: 3.8.0


ags_frequency_aliase_util_compute_s24 ()

void
ags_frequency_aliase_util_compute_s24 (gint32 *destination,
                                       gint32 *source,
                                       gint32 *phase_shifted_source,
                                       guint buffer_length);

Compute aliased audio buffer.

Parameters

destination

the destination audio buffer

 

source

the source audio buffer

 

phase_shifted_source

the phase shifted source audio buffer

 

buffer_length

the audio buffer's length

 

Since: 3.8.0


ags_frequency_aliase_util_compute_s32 ()

void
ags_frequency_aliase_util_compute_s32 (gint32 *destination,
                                       gint32 *source,
                                       gint32 *phase_shifted_source,
                                       guint buffer_length);

Compute aliased audio buffer.

Parameters

destination

the destination audio buffer

 

source

the source audio buffer

 

phase_shifted_source

the phase shifted source audio buffer

 

buffer_length

the audio buffer's length

 

Since: 3.8.0


ags_frequency_aliase_util_compute_s64 ()

void
ags_frequency_aliase_util_compute_s64 (gint64 *destination,
                                       gint64 *source,
                                       gint64 *phase_shifted_source,
                                       guint buffer_length);

Compute aliased audio buffer.

Parameters

destination

the destination audio buffer

 

source

the source audio buffer

 

phase_shifted_source

the phase shifted source audio buffer

 

buffer_length

the audio buffer's length

 

Since: 3.8.0


ags_frequency_aliase_util_compute_float ()

void
ags_frequency_aliase_util_compute_float
                               (gfloat *destination,
                                gfloat *source,
                                gfloat *phase_shifted_source,
                                guint buffer_length);

Compute aliased audio buffer.

Parameters

destination

the destination audio buffer

 

source

the source audio buffer

 

phase_shifted_source

the phase shifted source audio buffer

 

buffer_length

the audio buffer's length

 

Since: 3.8.0


ags_frequency_aliase_util_compute_double ()

void
ags_frequency_aliase_util_compute_double
                               (gdouble *destination,
                                gdouble *source,
                                gdouble *phase_shifted_source,
                                guint buffer_length);

Compute aliased audio buffer.

Parameters

destination

the destination audio buffer

 

source

the source audio buffer

 

phase_shifted_source

the phase shifted source audio buffer

 

buffer_length

the audio buffer's length

 

Since: 3.8.0


ags_frequency_aliase_util_compute_complex ()

void
ags_frequency_aliase_util_compute_complex
                               (AgsComplex *destination,
                                AgsComplex *source,
                                AgsComplex *phase_shifted_source,
                                guint buffer_length);

Compute aliased audio buffer.

Parameters

destination

the destination audio buffer

 

source

the source audio buffer

 

phase_shifted_source

the phase shifted source audio buffer

 

buffer_length

the audio buffer's length

 

Since: 3.8.0