AgsFilterUtil

AgsFilterUtil — filter util

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

#include <ags/audio/ags_filter_util.h>

Description

Utility functions to compute filters.

Functions

ags_filter_util_pitch_s8 ()

void
ags_filter_util_pitch_s8 (gint8 *buffer,
                          guint buffer_length,
                          guint samplerate,
                          gdouble base_key,
                          gdouble tuning);

Apply pitch filter.

Parameters

buffer

the audio buffer

 

buffer_length

the buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.0.0


ags_filter_util_pitch_s16 ()

void
ags_filter_util_pitch_s16 (gint16 *buffer,
                           guint buffer_length,
                           guint samplerate,
                           gdouble base_key,
                           gdouble tuning);

Apply pitch filter.

Parameters

buffer

the audio buffer

 

buffer_length

the buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.0.0


ags_filter_util_pitch_s24 ()

void
ags_filter_util_pitch_s24 (gint32 *buffer,
                           guint buffer_length,
                           guint samplerate,
                           gdouble base_key,
                           gdouble tuning);

Apply pitch filter.

Parameters

buffer

the audio buffer

 

buffer_length

the buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.0.0


ags_filter_util_pitch_s32 ()

void
ags_filter_util_pitch_s32 (gint32 *buffer,
                           guint buffer_length,
                           guint samplerate,
                           gdouble base_key,
                           gdouble tuning);

Apply pitch filter.

Parameters

buffer

the audio buffer

 

buffer_length

the buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.0.0


ags_filter_util_pitch_s64 ()

void
ags_filter_util_pitch_s64 (gint64 *buffer,
                           guint buffer_length,
                           guint samplerate,
                           gdouble base_key,
                           gdouble tuning);

Apply pitch filter.

Parameters

buffer

the audio buffer

 

buffer_length

the buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.0.0


ags_filter_util_pitch_float ()

void
ags_filter_util_pitch_float (gfloat *buffer,
                             guint buffer_length,
                             guint samplerate,
                             gdouble base_key,
                             gdouble tuning);

Apply pitch filter.

Parameters

buffer

the audio buffer

 

buffer_length

the buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.0.0


ags_filter_util_pitch_double ()

void
ags_filter_util_pitch_double (gdouble *buffer,
                              guint buffer_length,
                              guint samplerate,
                              gdouble base_key,
                              gdouble tuning);

Apply pitch filter.

Parameters

buffer

the audio buffer

 

buffer_length

the buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.0.0


ags_filter_util_pitch_complex ()

void
ags_filter_util_pitch_complex (AgsComplex *buffer,
                               guint buffer_length,
                               guint samplerate,
                               gdouble base_key,
                               gdouble tuning);

Apply pitch filter.

Parameters

buffer

the audio buffer

 

buffer_length

the buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.0.0

Types and Values

AGS_FILTER_UTIL_DEFAULT_TMP_BUFFER_SIZE

#define AGS_FILTER_UTIL_DEFAULT_TMP_BUFFER_SIZE (8192)