AgsSynthUtil

AgsSynthUtil — synth util

Stability Level

Stable, unless otherwise indicated

Functions

AgsSynthUtil * ags_synth_util_alloc ()
gpointer ags_synth_util_copy ()
void ags_synth_util_free ()
gpointer ags_synth_util_get_source ()
void ags_synth_util_set_source ()
guint ags_synth_util_get_source_stride ()
void ags_synth_util_set_source_stride ()
guint ags_synth_util_get_buffer_length ()
void ags_synth_util_set_buffer_length ()
guint ags_synth_util_get_audio_buffer_util_format ()
void ags_synth_util_set_audio_buffer_util_format ()
guint ags_synth_util_get_samplerate ()
void ags_synth_util_set_samplerate ()
guint ags_synth_util_get_synth_oscillator_mode ()
void ags_synth_util_set_synth_oscillator_mode ()
gdouble ags_synth_util_get_frequency ()
void ags_synth_util_set_frequency ()
gdouble ags_synth_util_get_phase ()
void ags_synth_util_set_phase ()
gdouble ags_synth_util_get_volume ()
void ags_synth_util_set_volume ()
guint ags_synth_util_get_frame_count ()
void ags_synth_util_set_frame_count ()
guint ags_synth_util_get_offset ()
void ags_synth_util_set_offset ()
guint ags_synth_util_get_xcross_count_s8 ()
guint ags_synth_util_get_xcross_count_s16 ()
guint ags_synth_util_get_xcross_count_s24 ()
guint ags_synth_util_get_xcross_count_s32 ()
guint ags_synth_util_get_xcross_count_s64 ()
guint ags_synth_util_get_xcross_count_float ()
guint ags_synth_util_get_xcross_count_double ()
guint ags_synth_util_get_xcross_count_complex ()
guint ags_synth_util_get_xcross_count ()
void ags_synth_util_compute_sin_s8 ()
void ags_synth_util_compute_sin_s16 ()
void ags_synth_util_compute_sin_s24 ()
void ags_synth_util_compute_sin_s32 ()
void ags_synth_util_compute_sin_s64 ()
void ags_synth_util_compute_sin_float ()
void ags_synth_util_compute_sin_double ()
void ags_synth_util_compute_sin_complex ()
void ags_synth_util_compute_sin ()
void ags_synth_util_sin_s8 ()
void ags_synth_util_sin_s16 ()
void ags_synth_util_sin_s24 ()
void ags_synth_util_sin_s32 ()
void ags_synth_util_sin_s64 ()
void ags_synth_util_sin_float ()
void ags_synth_util_sin_double ()
void ags_synth_util_sin_complex ()
void ags_synth_util_sin ()
void ags_synth_util_compute_sawtooth_s8 ()
void ags_synth_util_compute_sawtooth_s16 ()
void ags_synth_util_compute_sawtooth_s24 ()
void ags_synth_util_compute_sawtooth_s32 ()
void ags_synth_util_compute_sawtooth_s64 ()
void ags_synth_util_compute_sawtooth_float ()
void ags_synth_util_compute_sawtooth_double ()
void ags_synth_util_compute_sawtooth_complex ()
void ags_synth_util_compute_sawtooth ()
void ags_synth_util_sawtooth_s8 ()
void ags_synth_util_sawtooth_s16 ()
void ags_synth_util_sawtooth_s24 ()
void ags_synth_util_sawtooth_s32 ()
void ags_synth_util_sawtooth_s64 ()
void ags_synth_util_sawtooth_float ()
void ags_synth_util_sawtooth_double ()
void ags_synth_util_sawtooth_complex ()
void ags_synth_util_sawtooth ()
void ags_synth_util_compute_triangle_s8 ()
void ags_synth_util_compute_triangle_s16 ()
void ags_synth_util_compute_triangle_s24 ()
void ags_synth_util_compute_triangle_s32 ()
void ags_synth_util_compute_triangle_s64 ()
void ags_synth_util_compute_triangle_float ()
void ags_synth_util_compute_triangle_double ()
void ags_synth_util_compute_triangle_complex ()
void ags_synth_util_compute_triangle ()
void ags_synth_util_triangle_s8 ()
void ags_synth_util_triangle_s16 ()
void ags_synth_util_triangle_s24 ()
void ags_synth_util_triangle_s32 ()
void ags_synth_util_triangle_s64 ()
void ags_synth_util_triangle_float ()
void ags_synth_util_triangle_double ()
void ags_synth_util_triangle_complex ()
void ags_synth_util_triangle ()
void ags_synth_util_compute_square_s8 ()
void ags_synth_util_compute_square_s16 ()
void ags_synth_util_compute_square_s24 ()
void ags_synth_util_compute_square_s32 ()
void ags_synth_util_compute_square_s64 ()
void ags_synth_util_compute_square_float ()
void ags_synth_util_compute_square_double ()
void ags_synth_util_compute_square_complex ()
void ags_synth_util_compute_square ()
void ags_synth_util_square_s8 ()
void ags_synth_util_square_s16 ()
void ags_synth_util_square_s24 ()
void ags_synth_util_square_s32 ()
void ags_synth_util_square_s64 ()
void ags_synth_util_square_float ()
void ags_synth_util_square_double ()
void ags_synth_util_square_complex ()
void ags_synth_util_square ()
void ags_synth_util_compute_impulse_s8 ()
void ags_synth_util_compute_impulse_s16 ()
void ags_synth_util_compute_impulse_s24 ()
void ags_synth_util_compute_impulse_s32 ()
void ags_synth_util_compute_impulse_s64 ()
void ags_synth_util_compute_impulse_float ()
void ags_synth_util_compute_impulse_double ()
void ags_synth_util_compute_impulse_complex ()
void ags_synth_util_compute_impulse ()
void ags_synth_util_impulse_s8 ()
void ags_synth_util_impulse_s16 ()
void ags_synth_util_impulse_s24 ()
void ags_synth_util_impulse_s32 ()
void ags_synth_util_impulse_s64 ()
void ags_synth_util_impulse_float ()
void ags_synth_util_impulse_double ()
void ags_synth_util_impulse_complex ()
void ags_synth_util_impulse ()

Types and Values

Includes

#include <ags/audio/ags_synth_util.h>

Description

Utility functions to compute synths.

Functions

ags_synth_util_alloc ()

AgsSynthUtil *
ags_synth_util_alloc ();

Allocate AgsSynthUtil

Returns

a new AgsSynthUtil

Since: 3.9.3


ags_synth_util_copy ()

gpointer
ags_synth_util_copy (AgsSynthUtil *ptr);

Create a copy of ptr .

Parameters

ptr

the original AgsSynthUtil

 

Returns

a pointer of the new AgsSynthUtil

Since: 3.9.3


ags_synth_util_free ()

void
ags_synth_util_free (AgsSynthUtil *ptr);

Free the memory of ptr .

Parameters

ptr

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_get_source ()

gpointer
ags_synth_util_get_source (AgsSynthUtil *synth_util);

Get source buffer of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the source buffer

Since: 3.9.3


ags_synth_util_set_source ()

void
ags_synth_util_set_source (AgsSynthUtil *synth_util,
                           gpointer source);

Set source buffer of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

source

the source buffer

 

Since: 3.9.3


ags_synth_util_get_source_stride ()

guint
ags_synth_util_get_source_stride (AgsSynthUtil *synth_util);

Get source stride of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the source buffer stride

Since: 3.9.3


ags_synth_util_set_source_stride ()

void
ags_synth_util_set_source_stride (AgsSynthUtil *synth_util,
                                  guint source_stride);

Set source stride of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

source_stride

the source buffer stride

 

Since: 3.9.3


ags_synth_util_get_buffer_length ()

guint
ags_synth_util_get_buffer_length (AgsSynthUtil *synth_util);

Get buffer length of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the buffer length

Since: 3.9.3


ags_synth_util_set_buffer_length ()

void
ags_synth_util_set_buffer_length (AgsSynthUtil *synth_util,
                                  guint buffer_length);

Set buffer_length of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

buffer_length

the buffer length

 

Since: 3.9.3


ags_synth_util_get_audio_buffer_util_format ()

guint
ags_synth_util_get_audio_buffer_util_format
                               (AgsSynthUtil *synth_util);

Get audio buffer util format of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the audio buffer util format

Since: 3.9.3


ags_synth_util_set_audio_buffer_util_format ()

void
ags_synth_util_set_audio_buffer_util_format
                               (AgsSynthUtil *synth_util,
                                guint audio_buffer_util_format);

Set audio_buffer_util_format of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

audio_buffer_util_format

the audio buffer util format

 

Since: 3.9.3


ags_synth_util_get_samplerate ()

guint
ags_synth_util_get_samplerate (AgsSynthUtil *synth_util);

Get samplerate of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the samplerate

Since: 3.9.3


ags_synth_util_set_samplerate ()

void
ags_synth_util_set_samplerate (AgsSynthUtil *synth_util,
                               guint samplerate);

Set samplerate of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

samplerate

the samplerate

 

Since: 3.9.3


ags_synth_util_get_synth_oscillator_mode ()

guint
ags_synth_util_get_synth_oscillator_mode
                               (AgsSynthUtil *synth_util);

Get synth oscillator mode of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the synth oscillator mode

Since: 3.9.3


ags_synth_util_set_synth_oscillator_mode ()

void
ags_synth_util_set_synth_oscillator_mode
                               (AgsSynthUtil *synth_util,
                                guint synth_oscillator_mode);

Set synth_oscillator_mode of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

synth_oscillator_mode

the synth oscillator mode

 

Since: 3.9.3


ags_synth_util_get_frequency ()

gdouble
ags_synth_util_get_frequency (AgsSynthUtil *synth_util);

Get frequency of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the frequency

Since: 3.9.3


ags_synth_util_set_frequency ()

void
ags_synth_util_set_frequency (AgsSynthUtil *synth_util,
                              gdouble frequency);

Set frequency of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

frequency

the frequency

 

Since: 3.9.3


ags_synth_util_get_phase ()

gdouble
ags_synth_util_get_phase (AgsSynthUtil *synth_util);

Get phase of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the phase

Since: 3.9.3


ags_synth_util_set_phase ()

void
ags_synth_util_set_phase (AgsSynthUtil *synth_util,
                          gdouble phase);

Set phase of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

phase

the phase

 

Since: 3.9.3


ags_synth_util_get_volume ()

gdouble
ags_synth_util_get_volume (AgsSynthUtil *synth_util);

Get volume of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the volume

Since: 3.9.3


ags_synth_util_set_volume ()

void
ags_synth_util_set_volume (AgsSynthUtil *synth_util,
                           gdouble volume);

Set volume of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

volume

the volume

 

Since: 3.9.3


ags_synth_util_get_frame_count ()

guint
ags_synth_util_get_frame_count (AgsSynthUtil *synth_util);

Get frame count of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the frame count

Since: 3.9.3


ags_synth_util_set_frame_count ()

void
ags_synth_util_set_frame_count (AgsSynthUtil *synth_util,
                                guint frame_count);

Set frame_count of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

frame_count

the frame count

 

Since: 3.9.3


ags_synth_util_get_offset ()

guint
ags_synth_util_get_offset (AgsSynthUtil *synth_util);

Get offset of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

Returns

the offset

Since: 3.9.3


ags_synth_util_set_offset ()

void
ags_synth_util_set_offset (AgsSynthUtil *synth_util,
                           guint offset);

Set offset of synth_util .

Parameters

synth_util

the AgsSynthUtil

 

offset

the offset

 

Since: 3.9.3


ags_synth_util_get_xcross_count_s8 ()

guint
ags_synth_util_get_xcross_count_s8 (gint8 *buffer,
                                    guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_get_xcross_count_s16 ()

guint
ags_synth_util_get_xcross_count_s16 (gint16 *buffer,
                                     guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_get_xcross_count_s24 ()

guint
ags_synth_util_get_xcross_count_s24 (gint32 *buffer,
                                     guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_get_xcross_count_s32 ()

guint
ags_synth_util_get_xcross_count_s32 (gint32 *buffer,
                                     guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_get_xcross_count_s64 ()

guint
ags_synth_util_get_xcross_count_s64 (gint64 *buffer,
                                     guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_get_xcross_count_float ()

guint
ags_synth_util_get_xcross_count_float (gfloat *buffer,
                                       guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_get_xcross_count_double ()

guint
ags_synth_util_get_xcross_count_double
                               (gdouble *buffer,
                                guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_get_xcross_count_complex ()

guint
ags_synth_util_get_xcross_count_complex
                               (AgsComplex *buffer,
                                guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_get_xcross_count ()

guint
ags_synth_util_get_xcross_count (void *buffer,
                                 guint audio_buffer_util_format,
                                 guint buffer_size);

Get zero-cross count.

Parameters

buffer

the buffer containing audio data

 

audio_buffer_util_format

the audio buffer util format

 

buffer_size

the buffer size

 

Returns

the count of zero-crossings

Since: 3.0.0


ags_synth_util_compute_sin_s8 ()

void
ags_synth_util_compute_sin_s8 (AgsSynthUtil *synth_util);

Compute sine synth of signed 8 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sin_s16 ()

void
ags_synth_util_compute_sin_s16 (AgsSynthUtil *synth_util);

Compute sine synth of signed 16 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sin_s24 ()

void
ags_synth_util_compute_sin_s24 (AgsSynthUtil *synth_util);

Compute sine synth of signed 24 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sin_s32 ()

void
ags_synth_util_compute_sin_s32 (AgsSynthUtil *synth_util);

Compute sine synth of signed 32 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sin_s64 ()

void
ags_synth_util_compute_sin_s64 (AgsSynthUtil *synth_util);

Compute sine synth of signed 64 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sin_float ()

void
ags_synth_util_compute_sin_float (AgsSynthUtil *synth_util);

Compute sine synth of floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sin_double ()

void
ags_synth_util_compute_sin_double (AgsSynthUtil *synth_util);

Compute sine synth of double precision floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sin_complex ()

void
ags_synth_util_compute_sin_complex (AgsSynthUtil *synth_util);

Compute sine synth of complex data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sin ()

void
ags_synth_util_compute_sin (AgsSynthUtil *synth_util);

Compute sine synth.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_sin_s8 ()

void
ags_synth_util_sin_s8 (gint8 *buffer,
                       gdouble freq,
                       gdouble phase,
                       gdouble volume,
                       guint samplerate,
                       guint offset,
                       guint n_frames);

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

Generate sinus wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sin_s16 ()

void
ags_synth_util_sin_s16 (gint16 *buffer,
                        gdouble freq,
                        gdouble phase,
                        gdouble volume,
                        guint samplerate,
                        guint offset,
                        guint n_frames);

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

Generate sinus wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sin_s24 ()

void
ags_synth_util_sin_s24 (gint32 *buffer,
                        gdouble freq,
                        gdouble phase,
                        gdouble volume,
                        guint samplerate,
                        guint offset,
                        guint n_frames);

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

Generate sinus wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sin_s32 ()

void
ags_synth_util_sin_s32 (gint32 *buffer,
                        gdouble freq,
                        gdouble phase,
                        gdouble volume,
                        guint samplerate,
                        guint offset,
                        guint n_frames);

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

Generate sinus wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sin_s64 ()

void
ags_synth_util_sin_s64 (gint64 *buffer,
                        gdouble freq,
                        gdouble phase,
                        gdouble volume,
                        guint samplerate,
                        guint offset,
                        guint n_frames);

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

Generate sinus wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sin_float ()

void
ags_synth_util_sin_float (gfloat *buffer,
                          gdouble freq,
                          gdouble phase,
                          gdouble volume,
                          guint samplerate,
                          guint offset,
                          guint n_frames);

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

Generate sinus wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sin_double ()

void
ags_synth_util_sin_double (gdouble *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames);

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

Generate sinus wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sin_complex ()

void
ags_synth_util_sin_complex (AgsComplex *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint offset,
                            guint n_frames);

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

Generate sinus wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sin ()

void
ags_synth_util_sin (void *buffer,
                    gdouble freq,
                    gdouble phase,
                    gdouble volume,
                    guint samplerate,
                    guint audio_buffer_util_format,
                    guint offset,
                    guint n_frames);

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

Generate sin wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sin wave

 

phase

the phase of the sin wave

 

volume

the volume of the sin wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_compute_sawtooth_s8 ()

void
ags_synth_util_compute_sawtooth_s8 (AgsSynthUtil *synth_util);

Compute sawtooth synth of signed 8 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sawtooth_s16 ()

void
ags_synth_util_compute_sawtooth_s16 (AgsSynthUtil *synth_util);

Compute sawtooth synth of signed 16 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sawtooth_s24 ()

void
ags_synth_util_compute_sawtooth_s24 (AgsSynthUtil *synth_util);

Compute sawtooth synth of signed 24 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sawtooth_s32 ()

void
ags_synth_util_compute_sawtooth_s32 (AgsSynthUtil *synth_util);

Compute sawtooth synth of signed 32 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sawtooth_s64 ()

void
ags_synth_util_compute_sawtooth_s64 (AgsSynthUtil *synth_util);

Compute sawtooth synth of signed 64 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sawtooth_float ()

void
ags_synth_util_compute_sawtooth_float (AgsSynthUtil *synth_util);

Compute sawtooth synth of floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sawtooth_double ()

void
ags_synth_util_compute_sawtooth_double
                               (AgsSynthUtil *synth_util);

Compute sawtooth synth of double precision floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sawtooth_complex ()

void
ags_synth_util_compute_sawtooth_complex
                               (AgsSynthUtil *synth_util);

Compute sawtooth synth of complex data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_sawtooth ()

void
ags_synth_util_compute_sawtooth (AgsSynthUtil *synth_util);

Compute sawtooth synth.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_sawtooth_s8 ()

void
ags_synth_util_sawtooth_s8 (gint8 *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint offset,
                            guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sawtooth_s16 ()

void
ags_synth_util_sawtooth_s16 (gint16 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sawtooth_s24 ()

void
ags_synth_util_sawtooth_s24 (gint32 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sawtooth_s32 ()

void
ags_synth_util_sawtooth_s32 (gint32 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sawtooth_s64 ()

void
ags_synth_util_sawtooth_s64 (gint64 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sawtooth_float ()

void
ags_synth_util_sawtooth_float (gfloat *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sawtooth_double ()

void
ags_synth_util_sawtooth_double (gdouble *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sawtooth_complex ()

void
ags_synth_util_sawtooth_complex (AgsComplex *buffer,
                                 gdouble freq,
                                 gdouble phase,
                                 gdouble volume,
                                 guint samplerate,
                                 guint offset,
                                 guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_sawtooth ()

void
ags_synth_util_sawtooth (void *buffer,
                         gdouble freq,
                         gdouble phase,
                         gdouble volume,
                         guint samplerate,
                         guint audio_buffer_util_format,
                         guint offset,
                         guint n_frames);

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

Generate sawtooth wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the sawtooth wave

 

phase

the phase of the sawtooth wave

 

volume

the volume of the sawtooth wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_compute_triangle_s8 ()

void
ags_synth_util_compute_triangle_s8 (AgsSynthUtil *synth_util);

Compute triangle synth of signed 8 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_triangle_s16 ()

void
ags_synth_util_compute_triangle_s16 (AgsSynthUtil *synth_util);

Compute triangle synth of signed 16 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_triangle_s24 ()

void
ags_synth_util_compute_triangle_s24 (AgsSynthUtil *synth_util);

Compute triangle synth of signed 24 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_triangle_s32 ()

void
ags_synth_util_compute_triangle_s32 (AgsSynthUtil *synth_util);

Compute triangle synth of signed 32 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_triangle_s64 ()

void
ags_synth_util_compute_triangle_s64 (AgsSynthUtil *synth_util);

Compute triangle synth of signed 64 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_triangle_float ()

void
ags_synth_util_compute_triangle_float (AgsSynthUtil *synth_util);

Compute triangle synth of floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_triangle_double ()

void
ags_synth_util_compute_triangle_double
                               (AgsSynthUtil *synth_util);

Compute triangle synth of double precision floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_triangle_complex ()

void
ags_synth_util_compute_triangle_complex
                               (AgsSynthUtil *synth_util);

Compute triangle synth of complex data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_triangle ()

void
ags_synth_util_compute_triangle (AgsSynthUtil *synth_util);

Compute triangle synth.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_triangle_s8 ()

void
ags_synth_util_triangle_s8 (gint8 *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint offset,
                            guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_triangle_s16 ()

void
ags_synth_util_triangle_s16 (gint16 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_triangle_s24 ()

void
ags_synth_util_triangle_s24 (gint32 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_triangle_s32 ()

void
ags_synth_util_triangle_s32 (gint32 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_triangle_s64 ()

void
ags_synth_util_triangle_s64 (gint64 *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_triangle_float ()

void
ags_synth_util_triangle_float (gfloat *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_triangle_double ()

void
ags_synth_util_triangle_double (gdouble *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_triangle_complex ()

void
ags_synth_util_triangle_complex (AgsComplex *buffer,
                                 gdouble freq,
                                 gdouble phase,
                                 gdouble volume,
                                 guint samplerate,
                                 guint offset,
                                 guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_triangle ()

void
ags_synth_util_triangle (void *buffer,
                         gdouble freq,
                         gdouble phase,
                         gdouble volume,
                         guint samplerate,
                         guint audio_buffer_util_format,
                         guint offset,
                         guint n_frames);

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

Generate triangle wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the triangle wave

 

phase

the phase of the triangle wave

 

volume

the volume of the triangle wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_compute_square_s8 ()

void
ags_synth_util_compute_square_s8 (AgsSynthUtil *synth_util);

Compute square synth of signed 8 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_square_s16 ()

void
ags_synth_util_compute_square_s16 (AgsSynthUtil *synth_util);

Compute square synth of signed 16 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_square_s24 ()

void
ags_synth_util_compute_square_s24 (AgsSynthUtil *synth_util);

Compute square synth of signed 24 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_square_s32 ()

void
ags_synth_util_compute_square_s32 (AgsSynthUtil *synth_util);

Compute square synth of signed 32 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_square_s64 ()

void
ags_synth_util_compute_square_s64 (AgsSynthUtil *synth_util);

Compute square synth of signed 64 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_square_float ()

void
ags_synth_util_compute_square_float (AgsSynthUtil *synth_util);

Compute square synth of floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_square_double ()

void
ags_synth_util_compute_square_double (AgsSynthUtil *synth_util);

Compute square synth of double precision floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_square_complex ()

void
ags_synth_util_compute_square_complex (AgsSynthUtil *synth_util);

Compute square synth of complex data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_square ()

void
ags_synth_util_compute_square (AgsSynthUtil *synth_util);

Compute square synth.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_square_s8 ()

void
ags_synth_util_square_s8 (gint8 *buffer,
                          gdouble freq,
                          gdouble phase,
                          gdouble volume,
                          guint samplerate,
                          guint offset,
                          guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_square_s16 ()

void
ags_synth_util_square_s16 (gint16 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_square_s24 ()

void
ags_synth_util_square_s24 (gint32 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_square_s32 ()

void
ags_synth_util_square_s32 (gint32 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_square_s64 ()

void
ags_synth_util_square_s64 (gint64 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_square_float ()

void
ags_synth_util_square_float (gfloat *buffer,
                             gdouble freq,
                             gdouble phase,
                             gdouble volume,
                             guint samplerate,
                             guint offset,
                             guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_square_double ()

void
ags_synth_util_square_double (gdouble *buffer,
                              gdouble freq,
                              gdouble phase,
                              gdouble volume,
                              guint samplerate,
                              guint offset,
                              guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_square_complex ()

void
ags_synth_util_square_complex (AgsComplex *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_square ()

void
ags_synth_util_square (void *buffer,
                       gdouble freq,
                       gdouble phase,
                       gdouble volume,
                       guint samplerate,
                       guint audio_buffer_util_format,
                       guint offset,
                       guint n_frames);

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

Generate square wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the square wave

 

phase

the phase of the square wave

 

volume

the volume of the square wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_compute_impulse_s8 ()

void
ags_synth_util_compute_impulse_s8 (AgsSynthUtil *synth_util);

Compute impulse synth of signed 8 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_impulse_s16 ()

void
ags_synth_util_compute_impulse_s16 (AgsSynthUtil *synth_util);

Compute impulse synth of signed 16 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_impulse_s24 ()

void
ags_synth_util_compute_impulse_s24 (AgsSynthUtil *synth_util);

Compute impulse synth of signed 24 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_impulse_s32 ()

void
ags_synth_util_compute_impulse_s32 (AgsSynthUtil *synth_util);

Compute impulse synth of signed 32 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_impulse_s64 ()

void
ags_synth_util_compute_impulse_s64 (AgsSynthUtil *synth_util);

Compute impulse synth of signed 64 bit data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_impulse_float ()

void
ags_synth_util_compute_impulse_float (AgsSynthUtil *synth_util);

Compute impulse synth of floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_impulse_double ()

void
ags_synth_util_compute_impulse_double (AgsSynthUtil *synth_util);

Compute impulse synth of double precision floating point data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_impulse_complex ()

void
ags_synth_util_compute_impulse_complex
                               (AgsSynthUtil *synth_util);

Compute impulse synth of complex data.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_compute_impulse ()

void
ags_synth_util_compute_impulse (AgsSynthUtil *synth_util);

Compute impulse synth.

Parameters

synth_util

the AgsSynthUtil

 

Since: 3.9.3


ags_synth_util_impulse_s8 ()

void
ags_synth_util_impulse_s8 (gint8 *buffer,
                           gdouble freq,
                           gdouble phase,
                           gdouble volume,
                           guint samplerate,
                           guint offset,
                           guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_impulse_s16 ()

void
ags_synth_util_impulse_s16 (gint16 *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint offset,
                            guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_impulse_s24 ()

void
ags_synth_util_impulse_s24 (gint32 *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint offset,
                            guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_impulse_s32 ()

void
ags_synth_util_impulse_s32 (gint32 *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint offset,
                            guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_impulse_s64 ()

void
ags_synth_util_impulse_s64 (gint64 *buffer,
                            gdouble freq,
                            gdouble phase,
                            gdouble volume,
                            guint samplerate,
                            guint offset,
                            guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_impulse_float ()

void
ags_synth_util_impulse_float (gfloat *buffer,
                              gdouble freq,
                              gdouble phase,
                              gdouble volume,
                              guint samplerate,
                              guint offset,
                              guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_impulse_double ()

void
ags_synth_util_impulse_double (gdouble *buffer,
                               gdouble freq,
                               gdouble phase,
                               gdouble volume,
                               guint samplerate,
                               guint offset,
                               guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_impulse_complex ()

void
ags_synth_util_impulse_complex (AgsComplex *buffer,
                                gdouble freq,
                                gdouble phase,
                                gdouble volume,
                                guint samplerate,
                                guint offset,
                                guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0


ags_synth_util_impulse ()

void
ags_synth_util_impulse (void *buffer,
                        gdouble freq,
                        gdouble phase,
                        gdouble volume,
                        guint samplerate,
                        guint audio_buffer_util_format,
                        guint offset,
                        guint n_frames);

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

Generate impulse wave.

Parameters

buffer

the audio buffer

 

freq

the frequency of the impulse wave

 

phase

the phase of the impulse wave

 

volume

the volume of the impulse wave

 

samplerate

the samplerate

 

audio_buffer_util_format

the audio data format

 

offset

start frame

 

n_frames

generate n frames

 

Since: 3.0.0

Types and Values

AGS_SYNTH_UTIL_DEFAULT_FREQUENCY

#define AGS_SYNTH_UTIL_DEFAULT_FREQUENCY (440.0)

AGS_SYNTH_UTIL_DEFAULT_AUDIO_BUFFER_UTIL_FORMAT

#define AGS_SYNTH_UTIL_DEFAULT_AUDIO_BUFFER_UTIL_FORMAT (AGS_AUDIO_BUFFER_UTIL_S16)