AgsHQPitchUtil

AgsHQPitchUtil — hq pitch util

Stability Level

Stable, unless otherwise indicated

Functions

AgsHQPitchUtil * ags_hq_pitch_util_alloc ()
gpointer ags_hq_pitch_util_copy ()
void ags_hq_pitch_util_free ()
gpointer ags_hq_pitch_util_get_source ()
void ags_hq_pitch_util_set_source ()
guint ags_hq_pitch_util_get_source_stride ()
void ags_hq_pitch_util_set_source_stride ()
gpointer ags_hq_pitch_util_get_destination ()
void ags_hq_pitch_util_set_destination ()
guint ags_hq_pitch_util_get_destination_stride ()
void ags_hq_pitch_util_set_destination_stride ()
guint ags_hq_pitch_util_get_buffer_length ()
void ags_hq_pitch_util_set_buffer_length ()
guint ags_hq_pitch_util_get_format ()
void ags_hq_pitch_util_set_format ()
guint ags_hq_pitch_util_get_samplerate ()
void ags_hq_pitch_util_set_samplerate ()
gdouble ags_hq_pitch_util_get_base_key ()
void ags_hq_pitch_util_set_base_key ()
gdouble ags_hq_pitch_util_get_tuning ()
void ags_hq_pitch_util_set_tuning ()
void ags_hq_pitch_util_pitch_s8 ()
void ags_hq_pitch_util_pitch_s16 ()
void ags_hq_pitch_util_pitch_s24 ()
void ags_hq_pitch_util_pitch_s32 ()
void ags_hq_pitch_util_pitch_s64 ()
void ags_hq_pitch_util_pitch_float ()
void ags_hq_pitch_util_pitch_double ()
void ags_hq_pitch_util_pitch_complex ()
void ags_hq_pitch_util_pitch ()
void ags_hq_pitch_util_compute_s8 ()
void ags_hq_pitch_util_compute_s16 ()
void ags_hq_pitch_util_compute_s24 ()
void ags_hq_pitch_util_compute_s32 ()
void ags_hq_pitch_util_compute_s64 ()
void ags_hq_pitch_util_compute_float ()
void ags_hq_pitch_util_compute_double ()
void ags_hq_pitch_util_compute_complex ()

Includes

#include <ags/audio/ags_hq_pitch_util.h>

Description

Utility functions to pitch.

Functions

ags_hq_pitch_util_alloc ()

AgsHQPitchUtil *
ags_hq_pitch_util_alloc ();

Allocate AgsHQPitchUtil.

Returns

the newly allocated AgsHQPitchUtil

Since: 3.9.6


ags_hq_pitch_util_copy ()

gpointer
ags_hq_pitch_util_copy (AgsHQPitchUtil *ptr);

Create a copy of ptr .

Parameters

ptr

the original AgsHQPitchUtil

 

Returns

a pointer of the new AgsHQPitchUtil

Since: 3.9.6


ags_hq_pitch_util_free ()

void
ags_hq_pitch_util_free (AgsHQPitchUtil *ptr);

Free the memory of ptr .

Parameters

ptr

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_get_source ()

gpointer
ags_hq_pitch_util_get_source (AgsHQPitchUtil *hq_pitch_util);

Get source buffer of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the source buffer

Since: 3.9.6


ags_hq_pitch_util_set_source ()

void
ags_hq_pitch_util_set_source (AgsHQPitchUtil *hq_pitch_util,
                              gpointer source);

Set source buffer of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

source

the source buffer

 

Since: 3.9.6


ags_hq_pitch_util_get_source_stride ()

guint
ags_hq_pitch_util_get_source_stride (AgsHQPitchUtil *hq_pitch_util);

Get source stride of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the source buffer stride

Since: 3.9.6


ags_hq_pitch_util_set_source_stride ()

void
ags_hq_pitch_util_set_source_stride (AgsHQPitchUtil *hq_pitch_util,
                                     guint source_stride);

Set source stride of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

source_stride

the source buffer stride

 

Since: 3.9.6


ags_hq_pitch_util_get_destination ()

gpointer
ags_hq_pitch_util_get_destination (AgsHQPitchUtil *hq_pitch_util);

Get destination buffer of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the destination buffer

Since: 3.9.6


ags_hq_pitch_util_set_destination ()

void
ags_hq_pitch_util_set_destination (AgsHQPitchUtil *hq_pitch_util,
                                   gpointer destination);

Set destination buffer of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

destination

the destination buffer

 

Since: 3.9.6


ags_hq_pitch_util_get_destination_stride ()

guint
ags_hq_pitch_util_get_destination_stride
                               (AgsHQPitchUtil *hq_pitch_util);

Get destination stride of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the destination buffer stride

Since: 3.9.6


ags_hq_pitch_util_set_destination_stride ()

void
ags_hq_pitch_util_set_destination_stride
                               (AgsHQPitchUtil *hq_pitch_util,
                                guint destination_stride);

Set destination stride of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

destination_stride

the destination buffer stride

 

Since: 3.9.6


ags_hq_pitch_util_get_buffer_length ()

guint
ags_hq_pitch_util_get_buffer_length (AgsHQPitchUtil *hq_pitch_util);

Get buffer length of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the buffer length

Since: 3.9.6


ags_hq_pitch_util_set_buffer_length ()

void
ags_hq_pitch_util_set_buffer_length (AgsHQPitchUtil *hq_pitch_util,
                                     guint buffer_length);

Set buffer_length of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

buffer_length

the buffer length

 

Since: 3.9.6


ags_hq_pitch_util_get_format ()

guint
ags_hq_pitch_util_get_format (AgsHQPitchUtil *hq_pitch_util);

Get format of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the format

Since: 3.9.6


ags_hq_pitch_util_set_format ()

void
ags_hq_pitch_util_set_format (AgsHQPitchUtil *hq_pitch_util,
                              guint format);

Set format of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

format

the format

 

Since: 3.9.6


ags_hq_pitch_util_get_samplerate ()

guint
ags_hq_pitch_util_get_samplerate (AgsHQPitchUtil *hq_pitch_util);

Get samplerate of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the samplerate

Since: 3.9.6


ags_hq_pitch_util_set_samplerate ()

void
ags_hq_pitch_util_set_samplerate (AgsHQPitchUtil *hq_pitch_util,
                                  guint samplerate);

Set samplerate of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

samplerate

the samplerate

 

Since: 3.9.6


ags_hq_pitch_util_get_base_key ()

gdouble
ags_hq_pitch_util_get_base_key (AgsHQPitchUtil *hq_pitch_util);

Get base key of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the base key

Since: 3.9.6


ags_hq_pitch_util_set_base_key ()

void
ags_hq_pitch_util_set_base_key (AgsHQPitchUtil *hq_pitch_util,
                                gdouble base_key);

Set base_key of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

base_key

the base key

 

Since: 3.9.6


ags_hq_pitch_util_get_tuning ()

gdouble
ags_hq_pitch_util_get_tuning (AgsHQPitchUtil *hq_pitch_util);

Get tuning of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Returns

the tuning

Since: 3.9.6


ags_hq_pitch_util_set_tuning ()

void
ags_hq_pitch_util_set_tuning (AgsHQPitchUtil *hq_pitch_util,
                              gdouble tuning);

Set tuning of hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

tuning

the tuning

 

Since: 3.9.6


ags_hq_pitch_util_pitch_s8 ()

void
ags_hq_pitch_util_pitch_s8 (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util of signed 8 bit data.

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_pitch_s16 ()

void
ags_hq_pitch_util_pitch_s16 (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util of signed 16 bit data.

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_pitch_s24 ()

void
ags_hq_pitch_util_pitch_s24 (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util of signed 24 bit data.

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_pitch_s32 ()

void
ags_hq_pitch_util_pitch_s32 (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util of signed 32 bit data.

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_pitch_s64 ()

void
ags_hq_pitch_util_pitch_s64 (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util of signed 64 bit data.

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_pitch_float ()

void
ags_hq_pitch_util_pitch_float (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util of floating point data.

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_pitch_double ()

void
ags_hq_pitch_util_pitch_double (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util of double precision floating point data.

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_pitch_complex ()

void
ags_hq_pitch_util_pitch_complex (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util of complex data.

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_pitch ()

void
ags_hq_pitch_util_pitch (AgsHQPitchUtil *hq_pitch_util);

Pitch hq_pitch_util .

Parameters

hq_pitch_util

the AgsHQPitchUtil

 

Since: 3.9.6


ags_hq_pitch_util_compute_s8 ()

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

ags_hq_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 audio buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.8.0


ags_hq_pitch_util_compute_s16 ()

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

ags_hq_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 audio buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.8.0


ags_hq_pitch_util_compute_s24 ()

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

ags_hq_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 audio buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.8.0


ags_hq_pitch_util_compute_s32 ()

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

ags_hq_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 audio buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.8.0


ags_hq_pitch_util_compute_s64 ()

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

ags_hq_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 audio buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.8.0


ags_hq_pitch_util_compute_float ()

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

ags_hq_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 audio buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.8.0


ags_hq_pitch_util_compute_double ()

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

ags_hq_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 audio buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.8.0


ags_hq_pitch_util_compute_complex ()

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

ags_hq_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 audio buffer's length

 

samplerate

the samplerate

 

base_key

the base key

 

tuning

the tuning

 

Since: 3.8.0