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 ()
gboolean ags_fast_pitch_util_get_vibrato_enabled ()
void ags_fast_pitch_util_set_vibrato_enabled ()
gdouble ags_fast_pitch_util_get_vibrato_gain ()
void ags_fast_pitch_util_set_vibrato_gain ()
gdouble ags_fast_pitch_util_get_vibrato_lfo_depth ()
void ags_fast_pitch_util_set_vibrato_lfo_depth ()
gdouble ags_fast_pitch_util_get_vibrato_lfo_freq ()
void ags_fast_pitch_util_set_vibrato_lfo_freq ()
gdouble ags_fast_pitch_util_get_vibrato_tuning ()
void ags_fast_pitch_util_set_vibrato_tuning ()
guint ags_fast_pitch_util_get_frame_count ()
void ags_fast_pitch_util_set_frame_count ()
guint ags_fast_pitch_util_get_offset ()
void ags_fast_pitch_util_set_offset ()
gboolean ags_fast_pitch_util_get_note_256th_mode ()
void ags_fast_pitch_util_set_note_256th_mode ()
guint ags_fast_pitch_util_get_offset_256th ()
void ags_fast_pitch_util_set_offset_256th ()
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 ()

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_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_get_vibrato_enabled ()

gboolean
ags_fast_pitch_util_get_vibrato_enabled
                               (AgsFastPitchUtil *fast_pitch_util);

Get vibrato enabled of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

TRUE if the vibrato is enabled, otherwise FALSE

Since: 5.2.0


ags_fast_pitch_util_set_vibrato_enabled ()

void
ags_fast_pitch_util_set_vibrato_enabled
                               (AgsFastPitchUtil *fast_pitch_util,
                                gboolean vibrato_enabled);

Set vibrato_enabled of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

vibrato_enabled

the vibrato enabled

 

Since: 5.2.0


ags_fast_pitch_util_get_vibrato_gain ()

gdouble
ags_fast_pitch_util_get_vibrato_gain (AgsFastPitchUtil *fast_pitch_util);

Get vibrato gain of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the vibrato gain

Since: 5.2.0


ags_fast_pitch_util_set_vibrato_gain ()

void
ags_fast_pitch_util_set_vibrato_gain (AgsFastPitchUtil *fast_pitch_util,
                                      gdouble vibrato_gain);

Set vibrato_gain of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

vibrato_gain

the vibrato gain

 

Since: 5.2.0


ags_fast_pitch_util_get_vibrato_lfo_depth ()

gdouble
ags_fast_pitch_util_get_vibrato_lfo_depth
                               (AgsFastPitchUtil *fast_pitch_util);

Get vibrato lfo_depth of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the vibrato lfo_depth

Since: 5.2.0


ags_fast_pitch_util_set_vibrato_lfo_depth ()

void
ags_fast_pitch_util_set_vibrato_lfo_depth
                               (AgsFastPitchUtil *fast_pitch_util,
                                gdouble vibrato_lfo_depth);

Set vibrato_lfo_depth of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

vibrato_lfo_depth

the vibrato lfo_depth

 

Since: 5.2.0


ags_fast_pitch_util_get_vibrato_lfo_freq ()

gdouble
ags_fast_pitch_util_get_vibrato_lfo_freq
                               (AgsFastPitchUtil *fast_pitch_util);

Get vibrato lfo_freq of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the vibrato lfo_freq

Since: 5.2.0


ags_fast_pitch_util_set_vibrato_lfo_freq ()

void
ags_fast_pitch_util_set_vibrato_lfo_freq
                               (AgsFastPitchUtil *fast_pitch_util,
                                gdouble vibrato_lfo_freq);

Set vibrato_lfo_freq of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

vibrato_lfo_freq

the vibrato lfo_freq

 

Since: 5.2.0


ags_fast_pitch_util_get_vibrato_tuning ()

gdouble
ags_fast_pitch_util_get_vibrato_tuning
                               (AgsFastPitchUtil *fast_pitch_util);

Get vibrato tuning of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the vibrato tuning

Since: 5.2.0


ags_fast_pitch_util_set_vibrato_tuning ()

void
ags_fast_pitch_util_set_vibrato_tuning
                               (AgsFastPitchUtil *fast_pitch_util,
                                gdouble vibrato_tuning);

Set vibrato_tuning of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

vibrato_tuning

the vibrato tuning

 

Since: 5.2.0


ags_fast_pitch_util_get_frame_count ()

guint
ags_fast_pitch_util_get_frame_count (AgsFastPitchUtil *fast_pitch_util);

Get frame count of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the frame count

Since: 6.1.0


ags_fast_pitch_util_set_frame_count ()

void
ags_fast_pitch_util_set_frame_count (AgsFastPitchUtil *fast_pitch_util,
                                     guint frame_count);

Set frame_count of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

frame_count

the frame count

 

Since: 6.1.0


ags_fast_pitch_util_get_offset ()

guint
ags_fast_pitch_util_get_offset (AgsFastPitchUtil *fast_pitch_util);

Get offset of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the offset

Since: 6.1.0


ags_fast_pitch_util_set_offset ()

void
ags_fast_pitch_util_set_offset (AgsFastPitchUtil *fast_pitch_util,
                                guint offset);

Set offset of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

offset

the offset

 

Since: 6.1.0


ags_fast_pitch_util_get_note_256th_mode ()

gboolean
ags_fast_pitch_util_get_note_256th_mode
                               (AgsFastPitchUtil *fast_pitch_util);

Get note 256th mode of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

TRUE if note 256th mode, otherwise FALSE

Since: 6.1.0


ags_fast_pitch_util_set_note_256th_mode ()

void
ags_fast_pitch_util_set_note_256th_mode
                               (AgsFastPitchUtil *fast_pitch_util,
                                gboolean note_256th_mode);

Set note_256th_mode of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

note_256th_mode

the note 256th mode

 

Since: 6.1.0


ags_fast_pitch_util_get_offset_256th ()

guint
ags_fast_pitch_util_get_offset_256th (AgsFastPitchUtil *fast_pitch_util);

Get offset as note 256th of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

Returns

the offset as note 256th

Since: 6.1.0


ags_fast_pitch_util_set_offset_256th ()

void
ags_fast_pitch_util_set_offset_256th (AgsFastPitchUtil *fast_pitch_util,
                                      guint offset_256th);

Set offset_256th of fast_pitch_util .

Parameters

fast_pitch_util

the AgsFastPitchUtil

 

offset_256th

the offset as note 256th

 

Since: 6.1.0


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

Types and Values

AGS_FAST_PITCH_UTIL_DEFAULT_MAX_BUFFER_SIZE

#define AGS_FAST_PITCH_UTIL_DEFAULT_MAX_BUFFER_SIZE (65536)

AGS_FAST_PITCH_UTIL_INITIALIZER

#define             AGS_FAST_PITCH_UTIL_INITIALIZER