AgsFastPitchUtil

AgsFastPitchUtil — fast pitch util

Stability Level

Stable, unless otherwise indicated

Functions

AgsFastPitchUtil * ags_fast_pitch_util_alloc ()
gpointer ags_fast_pitch_util_copy ()
void ags_fast_pitch_util_free ()
gpointer ags_fast_pitch_util_get_source ()
void ags_fast_pitch_util_set_source ()
guint ags_fast_pitch_util_get_source_stride ()
void ags_fast_pitch_util_set_source_stride ()
gpointer ags_fast_pitch_util_get_destination ()
void ags_fast_pitch_util_set_destination ()
guint ags_fast_pitch_util_get_destination_stride ()
void ags_fast_pitch_util_set_destination_stride ()
guint ags_fast_pitch_util_get_buffer_length ()
void ags_fast_pitch_util_set_buffer_length ()
guint ags_fast_pitch_util_get_format ()
void ags_fast_pitch_util_set_format ()
guint ags_fast_pitch_util_get_samplerate ()
void ags_fast_pitch_util_set_samplerate ()
gdouble ags_fast_pitch_util_get_base_key ()
void ags_fast_pitch_util_set_base_key ()
gdouble ags_fast_pitch_util_get_tuning ()
void ags_fast_pitch_util_set_tuning ()
void ags_fast_pitch_util_pitch_s8 ()
void ags_fast_pitch_util_pitch_s16 ()
void ags_fast_pitch_util_pitch_s24 ()
void ags_fast_pitch_util_pitch_s32 ()
void ags_fast_pitch_util_pitch_s64 ()
void ags_fast_pitch_util_pitch_float ()
void ags_fast_pitch_util_pitch_double ()
void ags_fast_pitch_util_pitch_complex ()
void ags_fast_pitch_util_pitch ()
void ags_fast_pitch_util_compute_s8 ()
void ags_fast_pitch_util_compute_s16 ()
void ags_fast_pitch_util_compute_s24 ()
void ags_fast_pitch_util_compute_s32 ()
void ags_fast_pitch_util_compute_s64 ()
void ags_fast_pitch_util_compute_float ()
void ags_fast_pitch_util_compute_double ()
void ags_fast_pitch_util_compute_complex ()

Includes

#include <ags/audio/ags_fast_pitch_util.h>

Description

Utility functions to pitch.

Functions

ags_fast_pitch_util_alloc ()

AgsFastPitchUtil *
ags_fast_pitch_util_alloc ();

Allocate AgsFastPitchUtil.

Returns

the newly allocated AgsFastPitchUtil

Since: 3.9.6


ags_fast_pitch_util_copy ()

gpointer
ags_fast_pitch_util_copy (AgsFastPitchUtil *ptr);

Create a copy of ptr .

Parameters

ptr

the original AgsFastPitchUtil

 

Returns

a pointer of the new AgsFastPitchUtil

Since: 3.9.6


ags_fast_pitch_util_free ()

void
ags_fast_pitch_util_free (AgsFastPitchUtil *ptr);

Free the memory of ptr .

Parameters

ptr

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_get_source ()

gpointer
ags_fast_pitch_util_get_source (AgsFastPitchUtil *fast_pitch_util);

Get source buffer of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the source buffer

Since: 3.9.6


ags_fast_pitch_util_set_source ()

void
ags_fast_pitch_util_set_source (AgsFastPitchUtil *fast_pitch_util,
                                gpointer source);

Set source buffer of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

source

the source buffer

 

Since: 3.9.6


ags_fast_pitch_util_get_source_stride ()

guint
ags_fast_pitch_util_get_source_stride (AgsFastPitchUtil *fast_pitch_util);

Get source stride of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the source buffer stride

Since: 3.9.6


ags_fast_pitch_util_set_source_stride ()

void
ags_fast_pitch_util_set_source_stride (AgsFastPitchUtil *fast_pitch_util,
                                       guint source_stride);

Set source stride of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

source_stride

the source buffer stride

 

Since: 3.9.6


ags_fast_pitch_util_get_destination ()

gpointer
ags_fast_pitch_util_get_destination (AgsFastPitchUtil *fast_pitch_util);

Get destination buffer of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the destination buffer

Since: 3.9.6


ags_fast_pitch_util_set_destination ()

void
ags_fast_pitch_util_set_destination (AgsFastPitchUtil *fast_pitch_util,
                                     gpointer destination);

Set destination buffer of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

destination

the destination buffer

 

Since: 3.9.6


ags_fast_pitch_util_get_destination_stride ()

guint
ags_fast_pitch_util_get_destination_stride
                               (AgsFastPitchUtil *fast_pitch_util);

Get destination stride of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the destination buffer stride

Since: 3.9.6


ags_fast_pitch_util_set_destination_stride ()

void
ags_fast_pitch_util_set_destination_stride
                               (AgsFastPitchUtil *fast_pitch_util,
                                guint destination_stride);

Set destination stride of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

destination_stride

the destination buffer stride

 

Since: 3.9.6


ags_fast_pitch_util_get_buffer_length ()

guint
ags_fast_pitch_util_get_buffer_length (AgsFastPitchUtil *fast_pitch_util);

Get buffer length of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the buffer length

Since: 3.9.6


ags_fast_pitch_util_set_buffer_length ()

void
ags_fast_pitch_util_set_buffer_length (AgsFastPitchUtil *fast_pitch_util,
                                       guint buffer_length);

Set buffer_length of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

buffer_length

the buffer length

 

Since: 3.9.6


ags_fast_pitch_util_get_format ()

guint
ags_fast_pitch_util_get_format (AgsFastPitchUtil *fast_pitch_util);

Get format of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the format

Since: 3.9.6


ags_fast_pitch_util_set_format ()

void
ags_fast_pitch_util_set_format (AgsFastPitchUtil *fast_pitch_util,
                                guint format);

Set format of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

format

the format

 

Since: 3.9.6


ags_fast_pitch_util_get_samplerate ()

guint
ags_fast_pitch_util_get_samplerate (AgsFastPitchUtil *fast_pitch_util);

Get samplerate of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the samplerate

Since: 3.9.6


ags_fast_pitch_util_set_samplerate ()

void
ags_fast_pitch_util_set_samplerate (AgsFastPitchUtil *fast_pitch_util,
                                    guint samplerate);

Set samplerate of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

samplerate

the samplerate

 

Since: 3.9.6


ags_fast_pitch_util_get_base_key ()

gdouble
ags_fast_pitch_util_get_base_key (AgsFastPitchUtil *fast_pitch_util);

Get base key of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the base key

Since: 3.9.6


ags_fast_pitch_util_set_base_key ()

void
ags_fast_pitch_util_set_base_key (AgsFastPitchUtil *fast_pitch_util,
                                  gdouble base_key);

Set base_key of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

base_key

the base key

 

Since: 3.9.6


ags_fast_pitch_util_get_tuning ()

gdouble
ags_fast_pitch_util_get_tuning (AgsFastPitchUtil *fast_pitch_util);

Get tuning of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the tuning

Since: 3.9.6


ags_fast_pitch_util_set_tuning ()

void
ags_fast_pitch_util_set_tuning (AgsFastPitchUtil *fast_pitch_util,
                                gdouble tuning);

Set tuning of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

tuning

the tuning

 

Since: 3.9.6


ags_fast_pitch_util_pitch_s8 ()

void
ags_fast_pitch_util_pitch_s8 (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util of signed 8 bit data.

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_pitch_s16 ()

void
ags_fast_pitch_util_pitch_s16 (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util of signed 16 bit data.

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_pitch_s24 ()

void
ags_fast_pitch_util_pitch_s24 (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util of signed 24 bit data.

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_pitch_s32 ()

void
ags_fast_pitch_util_pitch_s32 (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util of signed 32 bit data.

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_pitch_s64 ()

void
ags_fast_pitch_util_pitch_s64 (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util of signed 64 bit data.

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_pitch_float ()

void
ags_fast_pitch_util_pitch_float (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util of floating point data.

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_pitch_double ()

void
ags_fast_pitch_util_pitch_double (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util of double precision floating point data.

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_pitch_complex ()

void
ags_fast_pitch_util_pitch_complex (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util of complex data.

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_pitch ()

void
ags_fast_pitch_util_pitch (AgsFastPitchUtil *fast_pitch_util);

Pitch fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Since: 3.9.6


ags_fast_pitch_util_compute_s8 ()

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

ags_fast_pitch_util_compute_s8 is deprecated and should not be used in newly-written code.

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.6.2


ags_fast_pitch_util_compute_s16 ()

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

ags_fast_pitch_util_compute_s16 is deprecated and should not be used in newly-written code.

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.6.2


ags_fast_pitch_util_compute_s24 ()

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

ags_fast_pitch_util_compute_s24 is deprecated and should not be used in newly-written code.

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.6.2


ags_fast_pitch_util_compute_s32 ()

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

ags_fast_pitch_util_compute_s32 is deprecated and should not be used in newly-written code.

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.6.2


ags_fast_pitch_util_compute_s64 ()

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

ags_fast_pitch_util_compute_s64 is deprecated and should not be used in newly-written code.

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.6.2


ags_fast_pitch_util_compute_float ()

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

ags_fast_pitch_util_compute_float is deprecated and should not be used in newly-written code.

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.6.2


ags_fast_pitch_util_compute_double ()

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

ags_fast_pitch_util_compute_double is deprecated and should not be used in newly-written code.

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.6.2


ags_fast_pitch_util_compute_complex ()

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

ags_fast_pitch_util_compute_complex is deprecated and should not be used in newly-written code.

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.6.2