AgsFastPitchUtil

AgsFastPitchUtil — fast pitch util

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── AgsFastPitchUtil

Includes

#include <ags/audio/ags_fast_pitch_util.h>

Description

Utility functions to pitch.

Functions

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


ags_fast_pitch_util_get_type ()

GType
ags_fast_pitch_util_get_type (void);

Types and Values

AGS_TYPE_FAST_PITCH_UTIL

#define AGS_TYPE_FAST_PITCH_UTIL         (ags_fast_pitch_util_get_type())

struct AgsFastPitchUtil

struct AgsFastPitchUtil {
  gpointer source;
  guint source_stride;

  gpointer destination;
  guint destination_stride;

  gpointer mix_buffer;
  gpointer im_mix_buffer;
  gpointer low_mix_buffer;
  gpointer new_mix_buffer;

  guint buffer_length;
  guint format;
  guint samplerate;

  gdouble base_key;
  gdouble tuning;
};